Author: scabanovich
Date: 2007-11-22 10:44:39 -0500 (Thu, 22 Nov 2007)
New Revision: 5041
Modified:
trunk/common/tests/org.jboss.tools.common.verification.test/src/org/jboss/tools/common/verification/test/VerificationUtil.java
Log:
NPE prevented
Modified:
trunk/common/tests/org.jboss.tools.common.verification.test/src/org/jboss/tools/common/verification/test/VerificationUtil.java
===================================================================
---
trunk/common/tests/org.jboss.tools.common.verification.test/src/org/jboss/tools/common/verification/test/VerificationUtil.java 2007-11-22
15:27:25 UTC (rev 5040)
+++
trunk/common/tests/org.jboss.tools.common.verification.test/src/org/jboss/tools/common/verification/test/VerificationUtil.java 2007-11-22
15:44:39 UTC (rev 5041)
@@ -30,6 +30,7 @@
XModel model = o.getModel();
String entity = o.getModelEntity().getName();
VManager m = VHelper.getManager();
+ Assert.assertTrue("Verification Manager is not found", m != null);
VModel vmodel = VModelFactory.getModel(model);
Assert.assertTrue("Cannot obtain VModel " + entity, vmodel != null);
Show replies by date