Author: pete.muir(a)jboss.org
Date: 2009-06-10 11:32:35 -0400 (Wed, 10 Jun 2009)
New Revision: 2813
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java
Log:
update tck to 20090519
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java 2009-06-10
15:22:00 UTC (rev 2812)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/binding/BindingDefinitionTest.java 2009-06-10
15:32:35 UTC (rev 2813)
@@ -3,7 +3,6 @@
import java.lang.annotation.Annotation;
import java.util.Set;
-import javax.enterprise.inject.AnnotationLiteral;
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.InjectionPoint;
@@ -16,14 +15,14 @@
import org.testng.annotations.Test;
/**
- * Spec version: PRD2
+ * Spec version: 20090519
*/
@Artifact
public class BindingDefinitionTest extends AbstractJSR299Test
{
@Test
- @SpecAssertion(section = "2.3.1", id = "a")
+ @SpecAssertion(section = "2.3.1", id = "aaa")
public void testDefaultBindingDeclaredInJava()
{
Bean<Order> order = getBeans(Order.class).iterator().next();
@@ -42,7 +41,7 @@
}
@Test(groups = { "annotationDefinition" })
- @SpecAssertion(section = "2.3.2", id = "b")
+ @SpecAssertion(section = "2.3.2", id = "ba")
public void testBindingDeclaresBindingAnnotation()
{
assert !getBeans(Tarantula.class, new TameBinding()).isEmpty();
@@ -59,8 +58,7 @@
@Test
@SpecAssertions({
- @SpecAssertion(section = "2.3.3", id = "b"),
- @SpecAssertion(section = "3.2.3", id = "be")
+ @SpecAssertion(section = "2.3.3", id = "d")
})
public void testMultipleBindings()
{
@@ -77,26 +75,6 @@
assert barn.petSpider instanceof DefangedTarantula;
}
- @Test(groups = { "injection", "producerMethod" })
- @SpecAssertion(section = "unknown", id = "unknown")
- public void testMethodWithBindingAnnotationsOnParametersAreInjected() throws
Exception
- {
- new RunInDependentContext()
- {
-
- @Override
- protected void execute() throws Exception
- {
- Spider spider = getInstanceByType(Spider.class,new
AnnotationLiteral<Produced>() {});
- assert spider != null;
- assert spider instanceof DefangedTarantula;
- }
-
- }.run();
-
-
- }
-
@Test
@SpecAssertion(section = "4.1", id = "aa")
public void testBindingDeclaredInheritedIsInherited() throws Exception
Show replies by date