Author: pete.muir(a)jboss.org
Date: 2009-07-26 14:52:49 -0400 (Sun, 26 Jul 2009)
New Revision: 3250
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java
Log:
Add WBRIs
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java 2009-07-26
18:46:04 UTC (rev 3249)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/dynamic/DynamicLookupTest.java 2009-07-26
18:52:49 UTC (rev 3250)
@@ -48,12 +48,13 @@
assert injectionPoint.getPaymentProcessor() instanceof Instance;
}
- @Test(groups = {"ri-broken", "review"})
+ @Test(groups = {"ri-broken"})
@SpecAssertions({
@SpecAssertion(section = "5.7", id ="ba"),
@SpecAssertion(section = "5.7", id ="ca"),
@SpecAssertion(section = "5.7.1", id ="ab")
})
+ // WBRI-307
public void testDynamicLookup()
{
ObtainsInjectionPointBean injectionPoint =
getInstanceByType(ObtainsInjectionPointBean.class);
@@ -61,7 +62,8 @@
}
@Test(groups = "ri-broken", expectedExceptions =
IllegalArgumentException.class)
- @SpecAssertion(section = "5.7.1", id ="da")
+ @SpecAssertion(section = "5.7.1", id ="da")
+ // WBRI-307
public void testDuplicateBindingsThrowsException()
{
ObtainsInjectionPointBean injectionPoint =
getInstanceByType(ObtainsInjectionPointBean.class);
@@ -70,6 +72,7 @@
@Test(groups = "ri-broken", expectedExceptions =
IllegalArgumentException.class)
@SpecAssertion(section = "5.7.1", id = "e")
+ // WBRI-307
public void testNonBindingThrowsException()
{
ObtainsInjectionPointBean injectionPoint =
getInstanceByType(ObtainsInjectionPointBean.class);
@@ -80,6 +83,7 @@
@SpecAssertions({
@SpecAssertion(section = "5.7.1", id = "fb"),
@SpecAssertion(section = "5.7.1", id = "l")})
+ // WBRI-307
public void testUnsatisfiedDependencyThrowsException()
{
ObtainsInjectionPointBean injectionPoint =
getInstanceByType(ObtainsInjectionPointBean.class);
@@ -101,6 +105,7 @@
@Test(groups= "ri-broken")
@SpecAssertion(section = "5.7.1", id = "m")
+ // WBRI-307
public void testIsAmbiguous()
{
ObtainsInjectionPointBean injectionPoint =
getInstanceByType(ObtainsInjectionPointBean.class);
Show replies by date