[weld-commits] Weld SVN: r5209 - in core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method: circular and 1 other directory.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Thu Dec 3 11:28:17 EST 2009
Author: pete.muir at jboss.org
Date: 2009-12-03 11:28:16 -0500 (Thu, 03 Dec 2009)
New Revision: 5209
Added:
core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/
core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Bar.java
core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/CircularInjectionTest.java
core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Foo.java
Log:
WELD-310
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Bar.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Bar.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Bar.java 2009-12-03 16:28:16 UTC (rev 5209)
@@ -0,0 +1,11 @@
+package org.jboss.weld.tests.producer.method.circular;
+
+import javax.enterprise.inject.Produces;
+import javax.inject.Inject;
+
+class Bar {
+
+ @Inject void injectFoo(Foo foo) {}
+ @Produces Foo produceFoo() { return new Foo() {}; }
+
+}
\ No newline at end of file
Property changes on: core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Bar.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/CircularInjectionTest.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/CircularInjectionTest.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/CircularInjectionTest.java 2009-12-03 16:28:16 UTC (rev 5209)
@@ -0,0 +1,17 @@
+package org.jboss.weld.tests.producer.method.circular;
+
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.weld.test.AbstractWeldTest;
+import org.testng.annotations.Test;
+
+ at Artifact
+public class CircularInjectionTest extends AbstractWeldTest
+{
+
+ @Test(description="WELD-310")
+ public void testProducerCalledOnBeanUnderConstruction()
+ {
+
+ }
+
+}
Property changes on: core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/CircularInjectionTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Foo.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Foo.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Foo.java 2009-12-03 16:28:16 UTC (rev 5209)
@@ -0,0 +1,8 @@
+package org.jboss.weld.tests.producer.method.circular;
+
+public abstract class Foo
+{
+
+
+
+}
Property changes on: core/trunk/tests/src/test/java/org/jboss/weld/tests/producer/method/circular/Foo.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
More information about the weld-commits
mailing list