Author: akazakov
Date: 2010-12-20 08:19:08 -0500 (Mon, 20 Dec 2010)
New Revision: 27610
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java
Log:
https://issues.jboss.org/browse/JBIDE-7946
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java 2010-12-20
11:12:25 UTC (rev 27609)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/validation/CoreValidationTest.java 2010-12-20
13:19:08 UTC (rev 27610)
@@ -13,6 +13,7 @@
import org.eclipse.jface.preference.IPersistentPreferenceStore;
import org.eclipse.jface.preference.IPreferenceStore;
import org.jboss.tools.cdi.core.CDICorePlugin;
+import org.jboss.tools.cdi.internal.core.validation.CDIProjectSet;
import org.jboss.tools.common.preferences.SeverityPreferences;
import org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager;
@@ -51,4 +52,12 @@
String status = ValidatorManager.getStatus();
assertNotSame("Validation job has not been run (validation status: " + status
+ ")", VALIDATION_STATUS, status);
}
+
+ /**
+ *
https://issues.jboss.org/browse/JBIDE-7946
+ */
+ public void testAllRelatedProjectsIncluded() {
+ CDIProjectSet set = new CDIProjectSet(tckProject);
+ assertTrue("TCKProject is not included in the set of CDI projects",
set.getAllProjests().contains(tckProject));
+ }
}
\ No newline at end of file