Author: marius.bogoevici
Date: 2009-10-20 17:02:02 -0400 (Tue, 20 Oct 2009)
New Revision: 4207
Modified:
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/ClassAnnotatedItemTest.java
Log:
Disable the deployment of the Choice class, allowing the build to succeed.
Modified:
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/ClassAnnotatedItemTest.java
===================================================================
---
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/ClassAnnotatedItemTest.java 2009-10-20
17:48:54 UTC (rev 4206)
+++
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/ClassAnnotatedItemTest.java 2009-10-20
21:02:02 UTC (rev 4207)
@@ -9,6 +9,7 @@
import javax.inject.Qualifier;
import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.Classes;
import org.jboss.weld.introspector.WeldClass;
import org.jboss.weld.introspector.jlr.WeldClassImpl;
import org.jboss.weld.metadata.TypeStore;
@@ -16,7 +17,8 @@
import org.jboss.weld.test.AbstractWeldTest;
import org.testng.annotations.Test;
-@Artifact
+@Artifact(addCurrentPackage = false)
+(a)Classes({Animal.class, Antelope.class, Kangaroo.class, Order.class, Random.class})
public class ClassAnnotatedItemTest extends AbstractWeldTest
{
@@ -58,5 +60,5 @@
AnnotatedType at = WeldClassImpl.of(new Kangaroo().procreate().getClass(),
transformer);
WeldClassImpl.of(at, transformer);
}
-
+
}
Show replies by date