Author: dazarov
Date: 2011-10-06 16:02:07 -0400 (Thu, 06 Oct 2011)
New Revision: 35436
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/search/CDISearchParticipantTest.java
Log:
fixed:
Failed tests:
testCDIBeanQueryParticipant(org.jboss.tools.cdi.ui.test.search.CDISearchParticipantTest)
testCDIBeanQueryParticipantAtProducerField(org.jboss.tools.cdi.ui.test.search.CDISearchParticipantTest)
testCDIBeanQueryParticipantAtProducerMethod(org.jboss.tools.cdi.ui.test.search.CDISearchParticipantTest)
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-10-06
19:45:23 UTC (rev 35435)
+++
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/search/CDISearchParticipantTest.java 2011-10-06
20:02:07 UTC (rev 35436)
@@ -185,6 +185,7 @@
matches.add(new MatchStructure(InjectionPointField.class,
"TransientFieldInjectionPointBean.injectedBean"));
matches.add(new MatchStructure(InjectionPointField.class,
"SpecializingDecoratorBroken.logger"));
matches.add(new MatchStructure(InjectionPointField.class,
"ObserverMethodInDecoratorBroken.logger"));
+ matches.add(new MatchStructure(InjectionPointField.class,
"ObjectInjection.object"));
matches.add(new MatchStructure(InjectionPointParameter.class,
"ConstructorInjectionPointBean.ConstructorInjectionPointBean(BeanWithInjectionPointMetadata
injectedBean)"));
matches.add(new MatchStructure(InjectionPointParameter.class,
"MethodInjectionPointBean.methodWithInjectedMetadata(BeanWithInjectionPointMetadata
injectedBean)"));
@@ -201,6 +202,7 @@
matches.add(new MatchStructure(InjectionPointField.class,
"NamedStereotypedDecoratorBroken.logger"));
matches.add(new MatchStructure(InjectionPointField.class,
"SpecializingDecoratorBroken.logger"));
matches.add(new MatchStructure(InjectionPointField.class,
"ObserverMethodInDecoratorBroken.logger"));
+ matches.add(new MatchStructure(InjectionPointField.class,
"ObjectInjection.object"));
testSearchParticipant("JavaSource/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Zoo.java",
FIELD_SEARCH, "petShop", "", new CDIBeanQueryParticipant(), matches);
}
@@ -214,6 +216,7 @@
matches.add(new MatchStructure(InjectionPointField.class,
"NamedStereotypedDecoratorBroken.logger"));
matches.add(new MatchStructure(InjectionPointField.class,
"SpecializingDecoratorBroken.logger"));
matches.add(new MatchStructure(InjectionPointField.class,
"ObserverMethodInDecoratorBroken.logger"));
+ matches.add(new MatchStructure(InjectionPointField.class,
"ObjectInjection.object"));
testSearchParticipant("JavaSource/org/jboss/jsr299/tck/tests/lookup/typesafe/resolution/Zoo.java",
METHOD_SEARCH, "getPetShop", "", new CDIBeanQueryParticipant(),
matches);
}