Author: shane.bryzak(a)jboss.com
Date: 2009-01-09 07:30:01 -0500 (Fri, 09 Jan 2009)
New Revision: 850
Added:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/binding/
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/binding/CurrentBinding.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/BindingTypeTest.java
Log:
add CurrentBinding
Modified:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/BindingTypeTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/BindingTypeTest.java 2009-01-09
12:26:50 UTC (rev 849)
+++
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/BindingTypeTest.java 2009-01-09
12:30:01 UTC (rev 850)
@@ -4,11 +4,7 @@
import javax.webbeans.Current;
import javax.webbeans.manager.Bean;
-import javax.webbeans.manager.Manager;
-import org.jboss.webbeans.tck.api.Managers;
-import org.jboss.webbeans.tck.impl.TckUtils;
-import org.jboss.webbeans.tck.impl.util.Reflections;
import org.jboss.webbeans.tck.impl.test.annotations.Synchronous;
import org.jboss.webbeans.tck.impl.test.beans.Barn;
import org.jboss.webbeans.tck.impl.test.beans.Cat;
@@ -19,9 +15,8 @@
import org.jboss.webbeans.tck.impl.test.beans.SpiderProducer;
import org.jboss.webbeans.tck.impl.test.beans.Tarantula;
import org.jboss.webbeans.tck.impl.test.beans.Tuna;
-
-import org.jboss.webbeans.binding.CurrentBinding;
-
+import org.jboss.webbeans.tck.impl.test.binding.CurrentBinding;
+import org.jboss.webbeans.tck.impl.util.Reflections;
import org.testng.annotations.Test;
@SpecVersion("2001206")
@@ -118,8 +113,6 @@
assert false;
}
-
-
@Test(groups={"injection", "producerMethod"})
@SpecAssertion(section="2.3.5")
public void testFieldInjectedFromProducerMethod() throws Exception
{
Added:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/binding/CurrentBinding.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/binding/CurrentBinding.java
(rev 0)
+++
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/test/binding/CurrentBinding.java 2009-01-09
12:30:01 UTC (rev 850)
@@ -0,0 +1,11 @@
+package org.jboss.webbeans.tck.impl.test.binding;
+
+import javax.webbeans.AnnotationLiteral;
+import javax.webbeans.Current;
+
+/**
+ * Annotation literal for @Current
+ *
+ * @author Pete Muir
+ */
+public class CurrentBinding extends AnnotationLiteral<Current> implements Current
{}
\ No newline at end of file
Show replies by date