[webbeans-commits] Webbeans SVN: r3430 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Tue Aug 11 07:03:29 EDT 2009
Author: shane.bryzak at jboss.com
Date: 2009-08-11 07:03:29 -0400 (Tue, 11 Aug 2009)
New Revision: 3430
Removed:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
Log:
removed unnecessary classes
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-08-11 10:46:46 UTC (rev 3429)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-08-11 11:03:29 UTC (rev 3430)
@@ -352,13 +352,10 @@
public void testDependentScopedDecoratorsAreDependentObjectsOfBean()
{
Bean<Interior> roomBean = getBeans(Interior.class, new RoomBinding()).iterator().next();
- Bean<Interior> hallwayBean = getBeans(Interior.class, new HallwayBinding()).iterator().next();
CreationalContext<Interior> roomCreationalContext = getCurrentManager().createCreationalContext(roomBean);
- CreationalContext<Interior> hallwayCreationalContext = getCurrentManager().createCreationalContext(hallwayBean);
Interior room = roomBean.create(roomCreationalContext);
- Interior hallway = hallwayBean.create(hallwayCreationalContext);
InteriorDecorator.reset();
@@ -368,6 +365,5 @@
roomBean.destroy(room, roomCreationalContext);
assert InteriorDecorator.isDestroyed();
-
}
}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java 2009-08-11 10:46:46 UTC (rev 3429)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Hallway.java 2009-08-11 11:03:29 UTC (rev 3430)
@@ -1,22 +0,0 @@
-package org.jboss.jsr299.tck.tests.context.dependent;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.enterprise.inject.BindingType;
-
- at Target( { TYPE, METHOD, PARAMETER, FIELD })
- at Retention(RUNTIME)
- at Documented
- at BindingType
- at interface Hallway
-{
-
-}
Deleted: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java 2009-08-11 10:46:46 UTC (rev 3429)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HallwayBinding.java 2009-08-11 11:03:29 UTC (rev 3430)
@@ -1,8 +0,0 @@
-package org.jboss.jsr299.tck.tests.context.dependent;
-
-import javax.enterprise.inject.AnnotationLiteral;
-
-class HallwayBinding extends AnnotationLiteral<Hallway> implements Hallway
-{
-
-}
More information about the weld-commits
mailing list