[webbeans-commits] Webbeans SVN: r1257 - in tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit: context/dependent and 8 other directories.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Tue Jan 27 20:05:26 EST 2009


Author: shane.bryzak at jboss.com
Date: 2009-01-27 20:05:25 -0500 (Tue, 27 Jan 2009)
New Revision: 1257

Modified:
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java
Log:
Updated context and definition tests to latest spec version

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/ContextTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -14,6 +14,10 @@
 import org.jboss.webbeans.tck.impl.SpecAssertion;
 import org.testng.annotations.Test;
 
+/**
+ * 
+ * Spec version: PRD2
+ */
 public class ContextTest extends AbstractTest
 {
    
@@ -51,14 +55,14 @@
       }      
    }
       
-   @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"}) @SpecAssertion(section="9.6")
+   @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"}) @SpecAssertion(section="8.5")
    public void testGetContextWithNoActiveContextsFails()
    {
       configuration().getContexts().setInactive(configuration().getContexts().getRequestContext());
       manager.getContext(RequestScoped.class);
    }
 
-   @Test(expectedExceptions={IllegalArgumentException.class}, groups={"manager"}) @SpecAssertion(section="9.6")
+   @Test(expectedExceptions={IllegalArgumentException.class}, groups={"manager"}) @SpecAssertion(section="8.5")
    public void testGetContextWithTooManyActiveContextsFails()
    {
       Context firstContext = new DummyContext() {};
@@ -68,13 +72,13 @@
       manager.getContext(Dummy.class);
    }
 
-   @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"}) @SpecAssertion(section="9.6")
+   @Test(expectedExceptions={ContextNotActiveException.class}, groups={"manager"}) @SpecAssertion(section="8.5")
    public void testGetContextWithNoRegisteredContextsFails()
    {
       manager.getContext(Unregistered.class);
    }
 
-   @Test(groups={"manager"}) @SpecAssertion(section="9.6")
+   @Test(groups={"manager"}) @SpecAssertion(section="8.5")
    public void testGetContextReturnsActiveContext()
    {
       manager.getContext(RequestScoped.class);
@@ -85,7 +89,7 @@
     * method call, including invocation of EJB local business methods.
     */
    @Test(groups = { "stub", "contexts" })
-   @SpecAssertion(section = "9.6")
+   @SpecAssertion(section = "8.5")
    public void testBuiltInNormalScopedContextsPropagateAcrossAnyJavaMethodCall()
    {
       assert false;
@@ -97,7 +101,7 @@
     * service timeouts
     */
    @Test(groups = { "stub", "contexts" })
-   @SpecAssertion(section = "9.6")
+   @SpecAssertion(section = "8.5")
    public void testBuiltInNormalScopedContextsDoNotPropagateAcrossRemoteMethodInvocations()
    {
       assert false;
@@ -109,7 +113,7 @@
     * service timeouts
     */
    @Test(groups = { "stub", "contexts" })
-   @SpecAssertion(section = "9.6")
+   @SpecAssertion(section = "8.5")
    public void testBuiltInNormalScopedContextsDoNotPropagateAcrossAsynchronousMethodInvocations()
    {
       assert false;

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/NormalContextTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -11,7 +11,6 @@
 
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
-import org.jboss.webbeans.tck.impl.SpecVersion;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
@@ -23,8 +22,8 @@
  *         This class tests a basic context against section 8 of the
  *         specification
  * 
+ * Spec version: PRD2
  */
- at SpecVersion("20081206")
 public class NormalContextTest extends AbstractTest
 {
    
@@ -69,7 +68,7 @@
     * return an existing instance of the given contextual type, or
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.2")
+   @SpecAssertion(section = "8.1")
    public void testGetReturnsExistingInstace()
    {
       assert false;
@@ -79,7 +78,7 @@
     * if the value of the create parameter is false, return a null value, or
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.2")
+   @SpecAssertion(section = "8.1")
    public void testGetWithCreateFalseReturnsNull()
    {
       assert false;
@@ -91,7 +90,7 @@
     * instance.
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.2")
+   @SpecAssertion(section = "8.1")
    public void testGetWithCreateTrueReturnsNewInstance()
    {
       assert false;
@@ -102,7 +101,7 @@
     * is false or Contextual.create() returns a null value
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.2")
+   @SpecAssertion(section = "8.1")
    public void testGetMayNotReturnNullUnlessCreateIsFalseOrContextualCreateReturnsNull()
    {
       assert false;
@@ -113,7 +112,7 @@
     * type unless the create parameter is true
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.2")
+   @SpecAssertion(section = "8.1")
    public void testGetMayNotCreateNewInstanceUnlessCreateIsTrue()
    {
       assert false;
@@ -134,7 +133,7 @@
     * method.
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.2")
+   @SpecAssertion(section = "8.1")
    public void testDestroyedInstanceMustNotBeReturnedByGet()
    {
       assert false;
@@ -146,7 +145,7 @@
     * ContextNotActiveException.
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.2")
+   @SpecAssertion(section = "8.1")
    public void testInvokingGetOnInactiveContextFails()
    {
       assert false;
@@ -157,7 +156,7 @@
     * thread
     */
    @Test(groups = { "contexts", "stub" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.1")
    public void testOnlyMappedInstancePerContextualTypePerThread()
    {
       assert false;

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/dependent/DependentContextTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -13,11 +13,12 @@
 
 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.util.MockCreationalContext;
 import org.testng.annotations.Test;
 
- at SpecVersion("20090116")
+/**
+ * Spec version: PRD2
+ */
 public class DependentContextTest extends AbstractTest
 {
    /**
@@ -25,7 +26,7 @@
     * injection points.
     */
    @Test(groups = { "contexts", "injection" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testInstanceNotSharedBetweenInjectionPoints()
    {
       deployBeans(Fox.class, FoxRun.class);
@@ -45,7 +46,7 @@
     * expression exists to service that evaluation only.
     */
    @Test(groups = { "contexts", "el"})
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testInstanceUsedForElEvaluationNotShared() throws Exception
    {     
       deployBeans(Fox.class);
@@ -72,7 +73,7 @@
     * that invocation only
     */
    @Test(groups = { "contexts", "producerMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testInstanceUsedForProducerMethodNotShared() throws Exception
    {
       Bean<SpiderProducer> spiderProducer = createSimpleBean(SpiderProducer.class);
@@ -92,7 +93,7 @@
     * that invocation only
     */
    @Test(groups = { "contexts", "producerMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testInstanceUsedForProducerFieldNotShared() throws Exception
    {
       Bean<OtherSpiderProducer> spiderProducer = createSimpleBean(OtherSpiderProducer.class);
@@ -112,7 +113,7 @@
     * that invocation only
     */
    @Test(groups = { "stub", "contexts", "disposalMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testInstanceUsedForDisposalMethodNotShared()
    {
       assert false;
@@ -124,7 +125,7 @@
     * that invocation only
     */
    @Test(groups = { "stub", "contexts", "observerMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testInstanceUsedForObserverMethodNotShared()
    {
       assert false;
@@ -136,7 +137,7 @@
     * of the given Web Bean
     */
    @Test(groups = "contexts")
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextGetWithCreateTrueReturnsNewInstance() throws Exception 
    {
       deployBeans(Fox.class);
@@ -162,7 +163,7 @@
     * scope with the value false for the create parameter returns a null value
     */
    @Test(groups = "contexts")
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextGetWithCreateFalseReturnsNull() throws Exception
    {
       deployBeans(Fox.class);
@@ -186,7 +187,7 @@
     * The @Dependent scope is inactive except:
     */
    @Test(groups = {"contexts"}, expectedExceptions = ContextNotActiveException.class)
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsInactive()
    {
       assert !manager.getContext(Dependent.class).isActive();
@@ -198,7 +199,7 @@
     * or observer method invocation, or
     */
    @Test(groups = { "stub", "contexts", "producerMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveWhenInvokingProducerMethod()
    {
       assert false;
@@ -210,7 +211,7 @@
     * or observer method invocation, or
     */
    @Test(groups = { "stub", "contexts", "producerField" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveWhenInvokingProducerField()
    {
       assert false;
@@ -223,7 +224,7 @@
     * or observer method invocation, or
     */
    @Test(groups = { "stub", "contexts", "disposalMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveWhenInvokingDisposalMethod()
    {
       assert false;
@@ -235,7 +236,7 @@
     * or observer method invocation, or
     */
    @Test(groups = { "stub", "contexts", "observerMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveWhenInvokingObserverMethod()
    {
       assert false;
@@ -245,7 +246,7 @@
     * while a Unified EL expression is evaluated, or
     */
    @Test(groups = { "stub", "contexts", "el" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveWhenEvaluatingElExpression()
    {
       assert false;
@@ -256,7 +257,7 @@
     * injecting its dependencies, or
     */
    @Test(groups = { "contexts", "beanLifecycle" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveDuringBeanCreation()
    {
       // Slightly roundabout, but I can't see a better way to test atm
@@ -272,7 +273,7 @@
     * injecting its dependencies, or
     */
    @Test(groups = { "stub", "contexts", "beanDestruction" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveDuringBeanDestruction()
    {
       assert false;
@@ -283,7 +284,7 @@
     * injecting its dependencies, or
     */
    @Test(groups = { "contexts", "injection" })
-   @SpecAssertion(section = "9.4")
+   @SpecAssertion(section = "8.4")
    public void testContextIsActiveDuringInjection()
    {
       Bean<FoxRun> foxRunBean = createSimpleBean(FoxRun.class);
@@ -299,7 +300,7 @@
     * invoked by the EJB container
     */
    @Test(groups = { "contexts", "injection", "stub", "ejb3" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveDuringEJBDependencyInjection()
    {
       assert false;
@@ -311,7 +312,7 @@
     * invoked by the EJB container
     */
    @Test(groups = { "contexts", "injection", "stub", "servlet" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveDuringServletDependencyInjection()
    {
       assert false;
@@ -323,7 +324,7 @@
     * invoked by the EJB container
     */
    @Test(groups = { "contexts", "postconstruct", "stub", "ejb3" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveDuringEJBPostConstruct()
    {
       assert false;
@@ -335,7 +336,7 @@
     * invoked by the EJB container
     */
    @Test(groups = { "contexts", "predestroy", "stub", "ejb3" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testContextIsActiveDuringEJBPreDestroy()
    {
       assert false;
@@ -349,7 +350,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "constructor" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromConstructor()
    {
       assert false;
@@ -363,7 +364,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "removeMethod" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromRemoveMethod()
    {
       assert false;
@@ -377,7 +378,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "initalizerMethod" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromInitializerMethod()
    {
       assert false;
@@ -391,7 +392,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "producerMethod" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromProducerMethod()
    {
       assert false;
@@ -405,7 +406,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "disposalMethod" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromDisposalMethod()
    {
       assert false;
@@ -419,7 +420,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "preDestroy" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromPreDestroy()
    {
       assert false;
@@ -433,7 +434,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "postConstruct" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromPostConstruct()
    {
       assert false;
@@ -447,7 +448,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "interceptor" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromInterceptorOfActiveMethod()
    {
       assert false;
@@ -461,7 +462,7 @@
     * from Web Beans interceptors or decorators for any of these methods
     */
    @Test(groups = { "stub", "contexts", "decorator" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testWebBeanMayCreateInstanceFromDecoratorOfActiveMethod()
    {
       assert false;
@@ -474,7 +475,7 @@
     * methods.
     */
    @Test(groups = { "stub", "contexts", "ejb3", "initializerMethod" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testEjbBeanMayCreateInstanceFromInitializer()
    {
       assert false;
@@ -487,7 +488,7 @@
     * methods.
     */
    @Test(groups = { "stub", "contexts", "ejb3", "postConstruct" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testEjbBeanMayCreateInstanceFromPostConstruct()
    {
       assert false;
@@ -500,7 +501,7 @@
     * methods.
     */
    @Test(groups = { "stub", "contexts", "ejb3", "preDestroy" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testEjbBeanMayCreateInstanceFromPreDestroy()
    {
       assert false;
@@ -513,7 +514,7 @@
     * methods.
     */
    @Test(groups = { "stub", "contexts", "ejb3", "interceptor" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testEjbBeanMayCreateInstanceFromInterceptorOfActiveMethod()
    {
       assert false;
@@ -524,7 +525,7 @@
     * by calling Manager.getInstance() from initializer methods
     */
    @Test(groups = { "stub", "contexts", "servlet", "initializerMethod" })
-   @SpecAssertion(section = "9.3.1")
+   @SpecAssertion(section = "8.3.1")
    public void testServletBeanMayCreateInstanceFromInitializer()
    {
       assert false;
@@ -535,7 +536,7 @@
     * destroyed,
     */
    @Test(groups = { "stub", "contexts", "beanDestruction" })
-   @SpecAssertion(section = "9.3.2")
+   @SpecAssertion(section = "8.3.2")
    public void testDestroyingParentDestroysDependents()
    {
       assert false;
@@ -546,7 +547,7 @@
     * or Servlet is destroyed,
     */
    @Test(groups = { "stub", "contexts", "ejb3" })
-   @SpecAssertion(section = "9.3.2")
+   @SpecAssertion(section = "8.3.2")
    public void testDestroyingEjbDestroysDependents()
    {
       assert false;
@@ -557,7 +558,7 @@
     * or Servlet is destroyed,
     */
    @Test(groups = { "stub", "contexts", "servlet" })
-   @SpecAssertion(section = "9.3.2")
+   @SpecAssertion(section = "8.3.2")
    public void testDestroyingServletDestroysDependents()
    {
       assert false;
@@ -568,7 +569,7 @@
     * expression evaluation when the evaluation completes, and
     */
    @Test(groups = { "stub", "contexts", "el" })
-   @SpecAssertion(section = "9.3.2")
+   @SpecAssertion(section = "8.3.2")
    public void testDependentsDestroyedWhenElEvaluationCompletes()
    {
       assert false;
@@ -580,7 +581,7 @@
     * invocation when the invocation completes
     */
    @Test(groups = { "stub", "contexts", "producerMethod" })
-   @SpecAssertion(section = "9.3.2")
+   @SpecAssertion(section = "8.3.2")
    public void testDependentsDestroyedWhenProducerMethodCompletes()
    {
       assert false;
@@ -592,7 +593,7 @@
     * invocation when the invocation completes
     */
    @Test(groups = { "stub", "contexts", "producerField" })
-   @SpecAssertion(section = "9.3.2")
+   @SpecAssertion(section = "8.3.2")
    public void testDependentsDestroyedWhenProducerFieldCompletes()
    {
       assert false;
@@ -604,7 +605,7 @@
     * invocation when the invocation completes
     */
    @Test(groups = { "stub", "contexts", "disposalMethod" })
-   @SpecAssertion(section = "9.3.2")
+   @SpecAssertion(section = "8.3.2")
    public void testDependentsDestroyedWhenDisposalMethodCompletes()
    {
       assert false;
@@ -616,7 +617,7 @@
     * invocation when the invocation completes
     */
    @Test(groups = { "stub", "contexts", "observerMethod" })
-   @SpecAssertion(section = "9.3")
+   @SpecAssertion(section = "8.3")
    public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
    {
       assert false;

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/context/passivating/PassivatingContextTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -10,7 +10,6 @@
 
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
-import org.jboss.webbeans.tck.impl.SpecVersion;
 import org.testng.annotations.Test;
 
 /**
@@ -18,8 +17,8 @@
  * @author Nicklas Karlsson
  * @author David Allen
  * 
+ * Spec version: PRD2
  */
- at SpecVersion("PRD2")
 public class PassivatingContextTest extends AbstractTest
 {
 

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/bean/BeanDefinitionTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -8,7 +8,6 @@
 
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
-import org.jboss.webbeans.tck.impl.SpecVersion;
 import org.testng.annotations.Test;
 
 /**
@@ -16,8 +15,8 @@
  * 
  * @author Pete Muir
  * 
+ * Spec version: PRD2
  */
- at SpecVersion("20081206")
 public class BeanDefinitionTest extends AbstractTest
 {
    
@@ -73,7 +72,7 @@
    
    @Test
    @SpecAssertion(section = { "3.2.2", "2.2" })
-   public void testApiTypes()
+   public void testBeanTypes()
    {
       Bean<Tarantula> bean = createSimpleBean(Tarantula.class);
       assert bean.getTypes().size() == 6;

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/binding/BindingDefinitionTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -12,13 +12,14 @@
 
 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.CurrentBinding;
 import org.jboss.webbeans.tck.impl.util.MockCreationalContext;
 import org.jboss.webbeans.tck.impl.util.Reflections;
 import org.testng.annotations.Test;
 
- at SpecVersion("20081206")
+/**
+ * Spec version: PRD2
+ */
 public class BindingDefinitionTest extends AbstractTest
 {
    

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/BrokenDeploymentTypeTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -10,6 +10,10 @@
 import org.jboss.webbeans.tck.impl.SpecAssertion;
 import org.testng.annotations.Test;
 
+/**
+ * 
+ * Spec version: PRD2
+ */
 public class BrokenDeploymentTypeTest extends AbstractTest
 {
    

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/CustomDeploymentTypeTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -12,6 +12,11 @@
 import org.jboss.webbeans.tck.impl.SpecAssertion;
 import org.testng.annotations.Test;
 
+/**
+ * 
+ * Spec version: PRD2
+ *
+ */
 public class CustomDeploymentTypeTest extends AbstractTest
 {
    

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DefaultDeploymentTypeTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -9,7 +9,11 @@
 import org.jboss.webbeans.tck.impl.SpecAssertion;
 import org.testng.annotations.Test;
 
-
+/**
+ * 
+ * Spec version: PRD2
+ *
+ */
 public class DefaultDeploymentTypeTest extends AbstractTest
 {
    

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/deployment/DeploymentTypeDefinitionTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -12,10 +12,13 @@
 
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
-import org.jboss.webbeans.tck.impl.SpecVersion;
 import org.testng.annotations.Test;
 
- at SpecVersion("20081206")
+/**
+ * 
+ * Spec version: PRD2
+ *
+ */
 public class DeploymentTypeDefinitionTest extends AbstractTest
 {
    

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/name/NameDefinitionTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -8,10 +8,13 @@
 
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
-import org.jboss.webbeans.tck.impl.SpecVersion;
 import org.testng.annotations.Test;
 
- at SpecVersion("20081206")
+/**
+ * 
+ * Spec version: PRD2
+ *
+ */
 public class NameDefinitionTest extends AbstractTest
 {
 

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/scope/ScopeDefinitionTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -8,10 +8,13 @@
 
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
-import org.jboss.webbeans.tck.impl.SpecVersion;
 import org.testng.annotations.Test;
 
- at SpecVersion("20081206")
+/**
+ * 
+ * Spec version: PRD2
+ *
+ */
 public class ScopeDefinitionTest extends AbstractTest
 {
    

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/stereotype/StereotypeDefinitionTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -12,10 +12,13 @@
 
 import org.jboss.webbeans.tck.AbstractTest;
 import org.jboss.webbeans.tck.impl.SpecAssertion;
-import org.jboss.webbeans.tck.impl.SpecVersion;
 import org.testng.annotations.Test;
 
- at SpecVersion("20081206")
+/**
+ * 
+ * Spec version: PRD2
+ *
+ */
 public class StereotypeDefinitionTest extends AbstractTest
 {
    

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java	2009-01-27 23:34:18 UTC (rev 1256)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/unit/definition/type/ApiTypeDefinitionTest.java	2009-01-28 01:05:25 UTC (rev 1257)
@@ -6,6 +6,11 @@
 import org.jboss.webbeans.tck.impl.SpecAssertion;
 import org.testng.annotations.Test;
 
+/**
+ * 
+ * Spec version: PRD2
+ *
+ */
 public class ApiTypeDefinitionTest extends AbstractTest
 {
 




More information about the weld-commits mailing list