[jsr330-eg] Issue 22 in atinject: Addition for testcase needed to TCK

2 views
Skip to first unread message

atin...@googlecode.com

unread,
Jun 7, 2010, 11:23:57 AM6/7/10
to atin...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 22 by robert.a...@gmail.com: Addition for testcase needed to TCK
http://code.google.com/p/atinject/issues/detail?id=22

The TCK does not test if a generic type of annotation will result in proper
lookup if its used for two different services/beans.

First off is if this is the correct way to do the lookup, I think it is.

Very short the problem is how to resolve this scenario:
@Inject @Spare Tire tire;
@Inject @Spare Wrench wrench;

Example from my own project (my project previously only used the annotation
as registration name and could not get this test to work, but still passed
the TCK):
http://code.google.com/p/java-simple-utils/source/browse/trunk/simple-java-
utils/inject/src/test/java/test/org/hrodberaht/inject/AnnotationContainerUn
itT.java

--
You received this message because you are subscribed to the Google Groups "atinject" group.
To post to this group, send email to atin...@googlegroups.com.
To unsubscribe from this group, send email to atinject+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/atinject?hl=en.

Reply all
Reply to author
Forward
0 new messages