Author: dazarov
Date: 2011-04-18 19:56:03 -0400 (Mon, 18 Apr 2011)
New Revision: 30654
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/search/CDISearchParticipantTest.java
Log:
https://issues.jboss.org/browse/JBIDE-8705,
https://issues.jboss.org/browse/JBIDE-8704
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/search/CDISearchParticipantTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/search/CDISearchParticipantTest.java 2011-04-18
23:30:39 UTC (rev 30653)
+++
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/search/CDISearchParticipantTest.java 2011-04-18
23:56:03 UTC (rev 30654)
@@ -172,6 +172,17 @@
testSearchParticipant("JavaSource/org/jboss/jsr299/tck/tests/event/bindingTypes/EventEmitter.java",
FIELD_SEARCH, "stringEvent", "", new InjectionPointQueryParticipant(),
matches);
}
+ public void testInjectionPointQueryParticipant4(){
+ ArrayList<MatchStructure> matches = new ArrayList<MatchStructure>();
+
+ matches.add(new MatchStructure(InjectionPointField.class,
"EventEmitter.stringEvent"));
+ matches.add(new MatchStructure(InjectionPointField.class,
"EventEmitter.stringEventWithAnyAndNonRuntimeBindingType"));
+ matches.add(new MatchStructure(InjectionPointField.class,
"EventEmitter.stringEventWithOnlyNonRuntimeBindingType"));
+ matches.add(new MatchStructure(InjectionPointField.class,
"OwlFinch_Broken.simpleEvent"));
+
+ testSearchParticipant("JavaSource/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/GoldenRetriever.java",
METHOD_SEARCH, "anObserverMethod", "", new
InjectionPointQueryParticipant(), matches);
+ }
+
public void testCDIBeanQueryParticipant(){
ArrayList<MatchStructure> matches = new ArrayList<MatchStructure>();