Author: pete.muir(a)jboss.org
Date: 2008-12-07 14:11:03 -0500 (Sun, 07 Dec 2008)
New Revision: 455
Modified:
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java
Log:
Mark updated
Modified:
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java
===================================================================
---
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java 2008-12-07
19:09:51 UTC (rev 454)
+++
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java 2008-12-07
19:11:03 UTC (rev 455)
@@ -2,65 +2,65 @@
import org.testng.annotations.Test;
-@SpecVersion("PDR")
+@SpecVersion("2001206")
public class ApplicationContextTest extends AbstractTest
{
- @Test(groups={"stub", "servlet", "contexts"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "servlet", "contexts"})
@SpecAssertion(section="9.5.3")
public void testScopeActiveDuringServiceMethod()
{
assert false;
}
- @Test(groups={"stub", "webservice", "contexts"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "webservice", "contexts"})
@SpecAssertion(section="9.5.3")
public void testScopeActiveDuringWebServiceInvocation()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.5.3")
public void testScopeActiveDuringRemoteInvocationOfEjbs()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.5.3")
- public void testScopeActiveDuringEjbTimeoust()
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.5.3")
+ public void testScopeActiveDuringEjbTimeouts()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.5.3")
public void testScopeActiveDuringMessageDelivery()
{
assert false;
}
- @Test(groups={"stub", "servlet", "contexts"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "servlet", "contexts"})
@SpecAssertion(section="9.5.3")
public void testScopeSharedAcrossRequests()
{
assert false;
}
- @Test(groups={"stub", "webservice", "contexts"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "webservice", "contexts"})
@SpecAssertion(section="9.5.3")
public void testScopeSharedAcrossWebServiceInvocations()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.5.3")
public void testScopeSharedAcrossRemoteInvocationsOfEjbs()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.5.3")
public void testScopeSharedAcrossEjbTimeouts()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.5.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.5.3")
public void testScopeSharedAcrossMessageDelivery()
{
assert false;
@@ -68,7 +68,7 @@
/*
- @Test @SpecAssertion(section="8.5.3")
+ @Test @SpecAssertion(section="9.5.3")
public void test
{
assert false;
Modified:
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java
===================================================================
---
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java 2008-12-07
19:09:51 UTC (rev 454)
+++
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java 2008-12-07
19:11:03 UTC (rev 455)
@@ -22,7 +22,7 @@
public class DependentContextTest extends AbstractTest
{
- @Test(groups={"contexts", "injection"})
@SpecAssertion(section="8.3")
+ @Test(groups={"contexts", "injection"})
@SpecAssertion(section="9.4")
public void testInstanceNotSharedBetweenInjectionPoints()
{
Bean<FoxRun> foxRunBean = createSimpleBean(FoxRun.class);
@@ -32,13 +32,13 @@
assert !foxRun.fox.equals(foxRun.anotherFox);
}
- @Test(groups={"stub", "contexts", "el"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "el"})
@SpecAssertion(section="9.4")
public void testInstanceUsedForElEvalutionNotShared()
{
assert false;
}
- @Test(groups={"contexts", "producerMethod"})
@SpecAssertion(section="8.3")
+ @Test(groups={"contexts", "producerMethod"})
@SpecAssertion(section="9.4")
public void testInstanceUsedForProducerMethodNotShared() throws Exception
{
SimpleBean<SpiderProducer> spiderProducer =
createSimpleBean(SpiderProducer.class);
@@ -52,13 +52,13 @@
assert tarantula != tarantula2;
}
- @Test(groups={"stub", "contexts", "observerMethod"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "observerMethod"})
@SpecAssertion(section="9.4")
public void testInstanceUsedForObserverMethodNotShared()
{
assert false;
}
- @Test(groups="contexts") @SpecAssertion(section="8.3")
+ @Test(groups="contexts") @SpecAssertion(section="9.4")
public void testContextGetWithCreateTrueReturnsNewInstance()
{
Bean<Fox> foxBean = createSimpleBean(Fox.class);
@@ -69,7 +69,7 @@
assert context.get(foxBean, true) instanceof Fox;
}
- @Test(groups="contexts") @SpecAssertion(section="8.3")
+ @Test(groups="contexts") @SpecAssertion(section="9.4")
public void testContextGetWithCreateFalseReturnsNull()
{
Bean<Fox> foxBean = createSimpleBean(Fox.class);
@@ -79,26 +79,26 @@
assert context.get(foxBean, false) == null;
}
- @Test(groups="contexts", expectedExceptions=ContextNotActiveException.class)
@SpecAssertion(section="8.3")
+ @Test(groups="contexts", expectedExceptions=ContextNotActiveException.class)
@SpecAssertion(section="9.4")
public void testContextIsInactive()
{
manager.getContext(Dependent.class).isActive();
}
- @Test(groups={"stub", "contexts", "observerMethod"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "observerMethod"})
@SpecAssertion(section="9.4")
public void testContextIsActiveWhenInvokingObserverMethod()
{
assert false;
}
- @Test(groups={"stub", "contexts", "el"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "el"})
@SpecAssertion(section="9.4")
public void testContextIsActiveWhenEvaluatingElExpression()
{
assert false;
}
- @Test(groups={"contexts", "beanLifecycle"})
@SpecAssertion(section="8.3")
+ @Test(groups={"contexts", "beanLifecycle"})
@SpecAssertion(section="9.4")
public void testContextIsActiveDuringBeanCreation()
{
// Slightly roundabout, but I can't see a better way to test atm
@@ -109,13 +109,13 @@
assert foxRun.fox != null;
}
- @Test(groups={"stub", "contexts", "beanDestruction"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "beanDestruction"})
@SpecAssertion(section="9.4")
public void testContextIsActiveDuringBeanDestruction()
{
assert false;
}
- @Test(groups={"contexts", "injection"})
@SpecAssertion(section="8.3")
+ @Test(groups={"contexts", "injection"})
@SpecAssertion(section="9.4")
public void testContextIsActiveDuringInjection()
{
Bean<FoxRun> foxRunBean = createSimpleBean(FoxRun.class);
@@ -125,55 +125,55 @@
assert foxRun.fox != null;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.4")
public void testEjbBeanMayMayCreateInstanceFromInitializer()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.4")
public void testEjbBeanMayMayCreateInstanceFromPostConstruct()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.4")
public void testEjbBeanMayMayCreateInstanceFromPreDestroy()
{
assert false;
}
- @Test(groups={"stub", "contexts", "servlet"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "servlet"})
@SpecAssertion(section="9.4")
public void testServletBeanMayMayCreateInstanceFromInitializer()
{
assert false;
}
- @Test(groups={"stub", "contexts", "beanDestruction"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "beanDestruction"})
@SpecAssertion(section="9.4")
public void testDestroyingParentDestroysDependents()
{
assert false;
}
- @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "ejb3"})
@SpecAssertion(section="9.4")
public void testDestroyingEjbDestroysDependents()
{
assert false;
}
- @Test(groups={"stub", "contexts", "servlet"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "servlet"})
@SpecAssertion(section="9.4")
public void testDestroyingServletDestroysDependents()
{
assert false;
}
- @Test(groups={"stub", "contexts", "el"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "el"})
@SpecAssertion(section="9.4")
public void testDependentsDestroyedWhenElEvaluationCompletes()
{
assert false;
}
- @Test(groups={"stub", "contexts", "observerMethod"})
@SpecAssertion(section="8.3")
+ @Test(groups={"stub", "contexts", "observerMethod"})
@SpecAssertion(section="9.4")
public void testDependentsDestroyedWhenObserverMethodEvaluationCompletes()
{
assert false;