[webbeans-commits] Webbeans SVN: r3432 - in tck/trunk/impl/src/main: java/org/jboss/jsr299/tck/tests/extensions/producer/broken and 5 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Tue Aug 11 07:20:39 EDT 2009
Author: dallen6
Date: 2009-08-11 07:20:39 -0400 (Tue, 11 Aug 2009)
New Revision: 3432
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCage.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCageInjectionTarget.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/CatFoodDish.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/DogBone.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/LitterBox.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/Dog.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/EventProcessor.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/InjectionTargetDefinitionErrorTest.java
tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/extensions/producer/broken/
tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/
tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/javax.enterprise.inject.spi.Extension
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Cat.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Dog.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerProcessor.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerTest.java
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
Additional tests for ch. 11
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCage.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCage.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCage.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,9 @@
+package org.jboss.jsr299.tck.tests.extensions.producer;
+
+import javax.enterprise.inject.Current;
+
+class BirdCage
+{
+ @Current
+ protected Bird bird;
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCageInjectionTarget.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCageInjectionTarget.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCageInjectionTarget.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,60 @@
+package org.jboss.jsr299.tck.tests.extensions.producer;
+
+import java.util.Set;
+
+import javax.enterprise.context.spi.CreationalContext;
+import javax.enterprise.inject.spi.InjectionPoint;
+import javax.enterprise.inject.spi.InjectionTarget;
+
+class BirdCageInjectionTarget implements InjectionTarget<BirdCage>
+{
+ private InjectionTarget<BirdCage> wrappedInjectionTarget;
+ private static boolean injectCalled;
+
+ public BirdCageInjectionTarget(InjectionTarget<BirdCage> originalInjectionTarget)
+ {
+ this.wrappedInjectionTarget = originalInjectionTarget;
+ }
+
+ public void inject(BirdCage instance, CreationalContext<BirdCage> ctx)
+ {
+ injectCalled = true;
+ wrappedInjectionTarget.inject(instance, ctx);
+ }
+
+ public void postConstruct(BirdCage instance)
+ {
+ wrappedInjectionTarget.postConstruct(instance);
+ }
+
+ public void preDestroy(BirdCage instance)
+ {
+ wrappedInjectionTarget.preDestroy(instance);
+ }
+
+ public void dispose(BirdCage instance)
+ {
+ wrappedInjectionTarget.dispose(instance);
+ }
+
+ public Set<InjectionPoint> getInjectionPoints()
+ {
+ return wrappedInjectionTarget.getInjectionPoints();
+ }
+
+ public BirdCage produce(CreationalContext<BirdCage> ctx)
+ {
+ return wrappedInjectionTarget.produce(ctx);
+ }
+
+ public static boolean isInjectCalled()
+ {
+ return injectCalled;
+ }
+
+ public static void setInjectCalled(boolean injectCalled)
+ {
+ BirdCageInjectionTarget.injectCalled = injectCalled;
+ }
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/BirdCageInjectionTarget.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Cat.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Cat.java 2009-08-11 11:17:39 UTC (rev 3431)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Cat.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -8,12 +8,13 @@
private static boolean initializerCalled;
@Current
- protected Bird bird;
+ protected CatFoodDish foodDish;
@Initializer
- public Cat(Dog friend)
+ public Cat(LitterBox litterBox)
{
initializerCalled = true;
+ assert litterBox != null;
}
public static boolean isInitializerCalled()
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/CatFoodDish.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/CatFoodDish.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/CatFoodDish.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,6 @@
+package org.jboss.jsr299.tck.tests.extensions.producer;
+
+class CatFoodDish
+{
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/CatFoodDish.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Dog.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Dog.java 2009-08-11 11:17:39 UTC (rev 3431)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/Dog.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -1,5 +1,7 @@
package org.jboss.jsr299.tck.tests.extensions.producer;
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
import javax.enterprise.inject.Current;
import javax.enterprise.inject.Initializer;
@@ -7,10 +9,15 @@
class Dog
{
private static boolean constructorCalled = false;
+ private static boolean postConstructCalled;
+ private static boolean preDestroyCalled;
private static DogBed dogBed;
public static final String DEFAULT_COLOR = "Brown";
private String color = DEFAULT_COLOR;
+
+ @Current
+ private DogBone dogBone;
public Dog()
{
@@ -28,6 +35,18 @@
Dog.dogBed = dogBed;
}
+ @PostConstruct
+ public void postConstruct()
+ {
+ postConstructCalled = true;
+ }
+
+ @PreDestroy
+ public void preDestroy()
+ {
+ preDestroyCalled = true;
+ }
+
public static boolean isConstructorCalled()
{
return constructorCalled;
@@ -52,4 +71,34 @@
{
return color;
}
+
+ public static boolean isPostConstructCalled()
+ {
+ return postConstructCalled;
+ }
+
+ public static void setPostConstructCalled(boolean postConstructCalled)
+ {
+ Dog.postConstructCalled = postConstructCalled;
+ }
+
+ public static boolean isPreDestroyCalled()
+ {
+ return preDestroyCalled;
+ }
+
+ public static void setPreDestroyCalled(boolean preDestroyCalled)
+ {
+ Dog.preDestroyCalled = preDestroyCalled;
+ }
+
+ public DogBone getDogBone()
+ {
+ return dogBone;
+ }
+
+ public void setDogBone(DogBone dogBone)
+ {
+ this.dogBone = dogBone;
+ }
}
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/DogBone.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/DogBone.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/DogBone.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,6 @@
+package org.jboss.jsr299.tck.tests.extensions.producer;
+
+class DogBone
+{
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/DogBone.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/LitterBox.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/LitterBox.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/LitterBox.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,6 @@
+package org.jboss.jsr299.tck.tests.extensions.producer;
+
+class LitterBox
+{
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/LitterBox.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerProcessor.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerProcessor.java 2009-08-11 11:17:39 UTC (rev 3431)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerProcessor.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -3,15 +3,21 @@
import javax.enterprise.event.Observes;
import javax.enterprise.inject.spi.AnnotatedField;
import javax.enterprise.inject.spi.AnnotatedMethod;
+import javax.enterprise.inject.spi.AnnotatedType;
+import javax.enterprise.inject.spi.Extension;
+import javax.enterprise.inject.spi.InjectionTarget;
+import javax.enterprise.inject.spi.ProcessInjectionTarget;
import javax.enterprise.inject.spi.ProcessProducer;
import javax.enterprise.inject.spi.Producer;
-class ProducerProcessor
+class ProducerProcessor implements Extension
{
private static Producer<Dog> dogProducer;
private static Producer<Cat> catProducer;
private static Producer<Dog> noisyDogProducer;
private static Producer<Dog> quietDogProducer;
+ private static InjectionTarget<Dog> dogInjectionTarget;
+ private static AnnotatedType<Dog> dogAnnotatedType;
public void processDogProducer(@Observes ProcessProducer<Dog, Dog> producerEvent)
{
@@ -37,6 +43,13 @@
catProducer = producerEvent.getProducer();
}
+ public void processDogInjectionTarget(@Observes ProcessInjectionTarget<Dog> injectionTargetEvent)
+ {
+ // There a couple, but it does not matter which one is used for the tests
+ dogInjectionTarget = injectionTargetEvent.getInjectionTarget();
+ dogAnnotatedType = injectionTargetEvent.getAnnotatedType();
+ }
+
public static Producer<Dog> getDogProducer()
{
return dogProducer;
@@ -56,4 +69,14 @@
{
return catProducer;
}
+
+ public static InjectionTarget<Dog> getDogInjectionTarget()
+ {
+ return dogInjectionTarget;
+ }
+
+ public static AnnotatedType<Dog> getDogAnnotatedType()
+ {
+ return dogAnnotatedType;
+ }
}
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerTest.java 2009-08-11 11:17:39 UTC (rev 3431)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/ProducerTest.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -1,6 +1,10 @@
package org.jboss.jsr299.tck.tests.extensions.producer;
+import javax.enterprise.context.spi.CreationalContext;
+import javax.enterprise.inject.AnnotationLiteral;
+import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.InjectionPoint;
+import javax.enterprise.inject.spi.InjectionTarget;
import javax.enterprise.inject.spi.Producer;
import org.jboss.jsr299.tck.AbstractJSR299Test;
@@ -8,6 +12,9 @@
import org.jboss.test.audit.annotations.SpecAssertions;
import org.jboss.test.audit.annotations.SpecVersion;
import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.IntegrationTest;
+import org.jboss.testharness.impl.packaging.Resource;
+import org.jboss.testharness.impl.packaging.Resources;
import org.testng.annotations.Test;
/**
@@ -17,6 +24,11 @@
*
*/
@Artifact
+ at Resources({
+ @Resource(source="javax.enterprise.inject.spi.Extension", destination="WEB-INF/classes/META-INF/services/javax.enterprise.inject.spi.Extension")
+})
+// Must be an integration test as it needs a resource copied to a folder
+ at IntegrationTest
@SpecVersion("20090625")
public class ProducerTest extends AbstractJSR299Test
{
@@ -66,15 +78,15 @@
{
Producer<Cat> producer = ProducerProcessor.getCatProducer();
assert producer.getInjectionPoints().size() == 2;
- boolean birdIPPresent = false;
+ boolean injectionPointPresent = false;
for (InjectionPoint injectionPoint : producer.getInjectionPoints())
{
- if (injectionPoint.getType().equals(Bird.class))
+ if (injectionPoint.getType().equals(CatFoodDish.class))
{
- birdIPPresent = true;
+ injectionPointPresent = true;
}
}
- assert birdIPPresent;
+ assert injectionPointPresent;
}
@Test(groups = "ri-broken")
@@ -175,4 +187,69 @@
assert producer.getInjectionPoints().size() == 1;
assert producer.getInjectionPoints().iterator().next().getType().equals(DogBed.class);
}
+
+ @SuppressWarnings("unchecked")
+ @Test(groups = "ri-broken")
+ @SpecAssertions({
+ @SpecAssertion(section = "11.2", id = "i"),
+ @SpecAssertion(section = "11.5.6", id = "ba")
+ })
+ public void testInjectionTargetInject()
+ {
+ InjectionTarget<Dog> injectionTarget = ProducerProcessor.getDogInjectionTarget();
+ Bean<Dog> dogBean = (Bean<Dog>) getCurrentManager().getBeans(Dog.class).iterator().next();
+ CreationalContext<Dog> dogCreationalContext = getCurrentManager().createCreationalContext(dogBean);
+ Dog dog = dogBean.create(dogCreationalContext);
+ dog.setDogBone(null);
+ injectionTarget.inject(dog, dogCreationalContext);
+ assert dog.getDogBone() != null;
+ }
+
+ @Test(groups = "ri-broken")
+ @SpecAssertions({
+ @SpecAssertion(section = "11.2", id = "j")
+ })
+ public void testInjectionTargetPostConstruct()
+ {
+ InjectionTarget<Dog> injectionTarget = ProducerProcessor.getDogInjectionTarget();
+ Dog dog = getInstanceByType(Dog.class, new AnnotationLiteral<Noisy>() {});
+ Dog.setPostConstructCalled(false);
+ injectionTarget.postConstruct(dog);
+ assert Dog.isPostConstructCalled();
+ }
+
+ @Test(groups = "ri-broken")
+ @SpecAssertions({
+ @SpecAssertion(section = "11.2", id = "k")
+ })
+ public void testInjectionTargetPreDestroy()
+ {
+ InjectionTarget<Dog> injectionTarget = ProducerProcessor.getDogInjectionTarget();
+ Dog dog = getInstanceByType(Dog.class, new AnnotationLiteral<Noisy>() {});
+ Dog.setPreDestroyCalled(false);
+ injectionTarget.preDestroy(dog);
+ assert Dog.isPreDestroyCalled();
+ }
+
+ @Test(groups = "ri-broken")
+ @SpecAssertions({
+ @SpecAssertion(section = "11.5.6", id = "bb"),
+ @SpecAssertion(section = "11.5.6", id = "e")
+ })
+ public void testSettingInjectionTargetReplacesIt()
+ {
+ BirdCageInjectionTarget.setInjectCalled(false);
+ getInstanceByType(BirdCage.class);
+ assert BirdCageInjectionTarget.isInjectCalled();
+ }
+
+ @Test(groups = "ri-broken")
+ @SpecAssertions({
+ @SpecAssertion(section = "11.5.6", id = "ab")
+ })
+ public void testGetAnnotatedTypeOnProcessInjectionTarget()
+ {
+ assert ProducerProcessor.getDogAnnotatedType() != null;
+ assert ProducerProcessor.getDogAnnotatedType().getBaseType().equals(Dog.class);
+ }
}
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/Dog.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/Dog.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/Dog.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,6 @@
+package org.jboss.jsr299.tck.tests.extensions.producer.broken.injectionTargetError;
+
+class Dog
+{
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/Dog.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/EventProcessor.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/EventProcessor.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/EventProcessor.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,15 @@
+package org.jboss.jsr299.tck.tests.extensions.producer.broken.injectionTargetError;
+
+import javax.enterprise.event.Observes;
+import javax.enterprise.inject.spi.Extension;
+import javax.enterprise.inject.spi.ProcessInjectionTarget;
+
+class EventProcessor implements Extension
+{
+ public void processDogInjectionTarget(@Observes ProcessInjectionTarget<Dog> injectionTargetEvent)
+ {
+ // Add an exception as a definition error
+ injectionTargetEvent.addDefinitionError(new RuntimeException("Should abort processing after bean discovery"));
+ }
+
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/EventProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/InjectionTargetDefinitionErrorTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/InjectionTargetDefinitionErrorTest.java (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/InjectionTargetDefinitionErrorTest.java 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1,40 @@
+package org.jboss.jsr299.tck.tests.extensions.producer.broken.injectionTargetError;
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.jsr299.tck.DefinitionError;
+import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.test.audit.annotations.SpecVersion;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.jboss.testharness.impl.packaging.IntegrationTest;
+import org.jboss.testharness.impl.packaging.Resource;
+import org.jboss.testharness.impl.packaging.Resources;
+import org.testng.annotations.Test;
+
+/**
+ * Test for adding a definition error via the ProcessInjectionTarget event.
+ *
+ * @author David Allen
+ *
+ */
+ at Artifact
+ at Resources({
+ @Resource(source="javax.enterprise.inject.spi.Extension", destination="WEB-INF/classes/META-INF/services/javax.enterprise.inject.spi.Extension")
+})
+// Must be an integration test as it needs a resource copied to a folder
+ at IntegrationTest
+ at ExpectedDeploymentException(DefinitionError.class)
+ at SpecVersion("20090625")
+public class InjectionTargetDefinitionErrorTest extends AbstractJSR299Test
+{
+
+ @Test(groups = "ri-broken")
+ @SpecAssertions({
+ @SpecAssertion(section = "11.5.6", id = "da")
+ })
+ public void testAddingDefinitionError()
+ {
+ assert false;
+ }
+}
Property changes on: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/InjectionTargetDefinitionErrorTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/javax.enterprise.inject.spi.Extension (from rev 3422, tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/extensions/producer/javax.enterprise.inject.spi.Extension)
===================================================================
--- tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/javax.enterprise.inject.spi.Extension (rev 0)
+++ tck/trunk/impl/src/main/resources/org/jboss/jsr299/tck/tests/extensions/producer/broken/injectionTargetError/javax.enterprise.inject.spi.Extension 2009-08-11 11:20:39 UTC (rev 3432)
@@ -0,0 +1 @@
+org.jboss.jsr299.tck.tests.extensions.producer.broken.injectionTargetError.EventProcessor
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-08-11 11:17:39 UTC (rev 3431)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-08-11 11:20:39 UTC (rev 3432)
@@ -4419,8 +4419,9 @@
<text>For a Producer that represents a producer method, |getInjectionPoints()| returns the set of |InjectionPoint| objects representing all parameters of the producer method.</text>
</assertion>
- <assertion id="h">
+ <assertion id="h" testable="false">
<text>The subinterface |javax.enterprise.inject.spi.InjectionTarget| provides operations for performing dependency injection and lifecycle callbacks on an instance of a type.</text>
+ <note>Statement of intent</note>
</assertion>
<assertion id="i">
More information about the weld-commits
mailing list