[webbeans-commits] Webbeans SVN: r1208 - in tck/trunk/impl/src/main/java/org/jboss/webbeans/tck: integration/lookup/non/contextual and 2 other directories.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Fri Jan 23 13:44:32 EST 2009


Author: pete.muir at jboss.org
Date: 2009-01-23 13:44:32 -0500 (Fri, 23 Jan 2009)
New Revision: 1208

Added:
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewLiteral.java
Removed:
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewBinding.java
Modified:
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/non/contextual/NonContextualInjectionTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java
Log:
 fix b uild

Deleted: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewBinding.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewBinding.java	2009-01-23 17:50:40 UTC (rev 1207)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewBinding.java	2009-01-23 18:44:32 UTC (rev 1208)
@@ -1,9 +0,0 @@
-package org.jboss.webbeans.tck.impl.literals;
-
-import javax.webbeans.AnnotationLiteral;
-import javax.webbeans.New;
-
-public class NewBinding extends AnnotationLiteral<New> implements New
-{
-   
-}

Copied: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewLiteral.java (from rev 1207, tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewBinding.java)
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewLiteral.java	                        (rev 0)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewLiteral.java	2009-01-23 18:44:32 UTC (rev 1208)
@@ -0,0 +1,9 @@
+package org.jboss.webbeans.tck.impl.literals;
+
+import javax.webbeans.AnnotationLiteral;
+import javax.webbeans.New;
+
+public class NewLiteral extends AnnotationLiteral<New> implements New
+{
+   
+}


Property changes on: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/impl/literals/NewLiteral.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/non/contextual/NonContextualInjectionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/non/contextual/NonContextualInjectionTest.java	2009-01-23 17:50:40 UTC (rev 1207)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/lookup/non/contextual/NonContextualInjectionTest.java	2009-01-23 18:44:32 UTC (rev 1208)
@@ -1,7 +1,7 @@
 package org.jboss.webbeans.tck.integration.lookup.non.contextual;
 
+import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecVersion;
-import org.jboss.webbeans.test.unit.AbstractTest;
 import org.testng.annotations.Test;
 
 @SpecVersion("PRD2")

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java	2009-01-23 17:50:40 UTC (rev 1207)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/enterprise/NewEnterpriseBeanTest.java	2009-01-23 18:44:32 UTC (rev 1208)
@@ -11,11 +11,10 @@
 import javax.webbeans.Standard;
 import javax.webbeans.manager.Bean;
 
-import org.jboss.webbeans.literal.NewLiteral;
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
 import org.jboss.webbeans.tck.impl.SpecVersion;
-import org.jboss.webbeans.tck.impl.literals.NewBinding;
+import org.jboss.webbeans.tck.impl.literals.NewLiteral;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
@@ -29,7 +28,7 @@
    @BeforeMethod
    public void initNewBean() {
       deployBeans(WrappedEnterpriseBean.class);
-      Set<Bean<WrappedEnterpriseBean>> beans = manager.resolveByType(WrappedEnterpriseBean.class, new NewBinding());
+      Set<Bean<WrappedEnterpriseBean>> beans = manager.resolveByType(WrappedEnterpriseBean.class, new NewLiteral());
       assert beans.size() == 1;
       newEnterpriseBean = beans.iterator().next();
    }
@@ -77,7 +76,7 @@
    public void testNewBeanIsHasOnlyNewBinding()
    {
       assert newEnterpriseBean.getBindings().size() == 1;
-      assert newEnterpriseBean.getBindings().iterator().next().annotationType().equals(new NewBinding().annotationType());
+      assert newEnterpriseBean.getBindings().iterator().next().annotationType().equals(new NewLiteral().annotationType());
    }
 
    /**
@@ -283,7 +282,7 @@
    public void testNewAnnotationMayBeAppliedToField()
    {
       deployBeans(AnnotatedField.class, WrappedEnterpriseBean.class);
-      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewLiteral()).size() == 1;
    }
 
    /**
@@ -299,7 +298,7 @@
    public void testNewAnnotationMayBeAppliedToProducerMethodParameter()
    {
       deployBeans(AnnotatedProducerParameter.class, WrappedEnterpriseBean.class);
-      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewLiteral()).size() == 1;
    }
 
    /**
@@ -315,7 +314,7 @@
    public void testNewAnnotationMayBeAppliedToInitializerMethodParameter()
    {
       deployBeans(AnnotatedInitializerParameter.class, WrappedEnterpriseBean.class);
-      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewLiteral()).size() == 1;
    }
 
    /**
@@ -331,7 +330,7 @@
    public void testNewAnnotationMayBeAppliedToConstructorMethodParameter()
    {
       deployBeans(AnnotatedConstructorParameter.class, WrappedEnterpriseBean.class);
-      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedEnterpriseBean.class, new NewLiteral()).size() == 1;
    }
 
    /**

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java	2009-01-23 17:50:40 UTC (rev 1207)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/implementation/simple/NewSimpleBeanTest.java	2009-01-23 18:44:32 UTC (rev 1208)
@@ -11,11 +11,10 @@
 import javax.webbeans.Standard;
 import javax.webbeans.manager.Bean;
 
-import org.jboss.webbeans.literal.NewLiteral;
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
 import org.jboss.webbeans.tck.impl.SpecVersion;
-import org.jboss.webbeans.tck.impl.literals.NewBinding;
+import org.jboss.webbeans.tck.impl.literals.NewLiteral;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
@@ -31,7 +30,7 @@
    public void initNewBean() 
    {
       deployBeans(WrappedSimpleBean.class);
-      Set<Bean<WrappedSimpleBean>> beans = manager.resolveByType(WrappedSimpleBean.class, new NewBinding());
+      Set<Bean<WrappedSimpleBean>> beans = manager.resolveByType(WrappedSimpleBean.class, new NewLiteral());
       assert beans.size() == 1;
       newSimpleBean = beans.iterator().next();
    }
@@ -79,7 +78,7 @@
    public void testNewBeanIsHasOnlyNewBinding()
    {
       assert newSimpleBean.getBindings().size() == 1;
-      assert newSimpleBean.getBindings().iterator().next().annotationType().equals(new NewBinding().annotationType());
+      assert newSimpleBean.getBindings().iterator().next().annotationType().equals(new NewLiteral().annotationType());
    }
 
    /**
@@ -236,7 +235,7 @@
    public void testNewAnnotationMayBeAppliedToField()
    {
       deployBeans(AnnotatedField.class, WrappedSimpleBean.class);
-      assert manager.resolveByType(WrappedSimpleBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedSimpleBean.class, new NewLiteral()).size() == 1;
    }
 
    /**
@@ -252,7 +251,7 @@
    public void testNewAnnotationMayBeAppliedToProducerMethodParameter()
    {
       deployBeans(AnnotatedProducerParameter.class, WrappedSimpleBean.class);
-      assert manager.resolveByType(WrappedSimpleBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedSimpleBean.class, new NewLiteral()).size() == 1;
    }
 
    /**
@@ -268,7 +267,7 @@
    public void testNewAnnotationMayBeAppliedToInitializerMethodParameter()
    {
       deployBeans(AnnotatedInitializerParameter.class, WrappedSimpleBean.class);
-      assert manager.resolveByType(WrappedSimpleBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedSimpleBean.class, new NewLiteral()).size() == 1;
    }
 
    /**
@@ -284,7 +283,7 @@
    public void testNewAnnotationMayBeAppliedToConstructorMethodParameter()
    {
       deployBeans(AnnotatedConstructorParameter.class, WrappedSimpleBean.class);
-      assert manager.resolveByType(WrappedSimpleBean.class, new NewBinding()).size() == 1;
+      assert manager.resolveByType(WrappedSimpleBean.class, new NewLiteral()).size() == 1;
    }
 
    /**




More information about the weld-commits mailing list