Author: scabanovich
Date: 2011-02-04 10:22:48 -0500 (Fri, 04 Feb 2011)
New Revision: 29008
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InjectionPointTest.java
Log:
JBIDE-8325
https://issues.jboss.org/browse/JBIDE-8325
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InjectionPointTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InjectionPointTest.java 2011-02-04
15:21:37 UTC (rev 29007)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InjectionPointTest.java 2011-02-04
15:22:48 UTC (rev 29008)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.tools.cdi.core.test.tck;
+import java.util.List;
import java.util.Set;
import org.eclipse.jdt.core.ITypeParameter;
@@ -66,4 +67,12 @@
assertEquals(1, injections.size());
}
+ public void testGetInjections() {
+ List<IInjectionPoint> ps =
cdiProject.getInjections("org.jboss.jsr299.tck.tests.lookup.injection.Fox");
+ assertTrue(!ps.isEmpty());
+
+ ps =
cdiProject.getInjections("org.jboss.jsr299.tck.tests.context.dependent.Tarantula");
+ assertTrue(!ps.isEmpty());
+ }
+
}
\ No newline at end of file