Author: scabanovich
Date: 2012-05-10 16:55:51 -0400 (Thu, 10 May 2012)
New Revision: 40929
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/DependentProjectTest.java
Log:
JBIDE-11819
https://issues.jboss.org/browse/JBIDE-11819
Test dependency is removed.
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/DependentProjectTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/DependentProjectTest.java 2012-05-10
20:53:59 UTC (rev 40928)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/DependentProjectTest.java 2012-05-10
20:55:51 UTC (rev 40929)
@@ -419,6 +419,9 @@
ResourcesUtils.setBuildAutomatically(true);
assertBeanIsPresent(cdi2, "cdi.test.MyBean", true);
+ ResourcesUtils.setBuildAutomatically(false);
+ cdi2.getNature().getProject().build(IncrementalProjectBuilder.FULL_BUILD, new
NullProgressMonitor());
+
ResourcesUtils.setBuildAutomatically(saveAutoBuild);
}
public static IInjectionPointField getInjectionPointField(ICDIProject cdi, String
beanClassFilePath, String fieldName) {