[webbeans-commits] Webbeans SVN: r1256 - in tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration: context/passivating and 3 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Tue Jan 27 18:34:19 EST 2009
Author: shane.bryzak at jboss.com
Date: 2009-01-27 18:34:18 -0500 (Tue, 27 Jan 2009)
New Revision: 1256
Modified:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java
Log:
updated integration test sections
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java 2009-01-27 23:15:43 UTC (rev 1255)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/conversation/ConversationContextTest.java 2009-01-27 23:34:18 UTC (rev 1256)
@@ -2,15 +2,14 @@
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;
/**
*
* @author Nicklas Karlsson
*
+ * Spec version: PRD2
*/
- at SpecVersion("20081206")
public class ConversationContextTest extends AbstractTest
{
/**
@@ -18,7 +17,7 @@
* apply request values phase, until the response is complete.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testContextActiveFromBeginningOfApplyRequestValuesPhasetoResponseCompleteForJsfRequest()
{
assert false;
@@ -29,7 +28,7 @@
* response phase
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testContextActiveDuringRenderResponsePhaseForNonFacesJsfRequest()
{
assert false;
@@ -39,7 +38,7 @@
* Any JSF request has exactly one associated conversation
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testJsfRequestHasExactlyOneAssociatedConversation()
{
assert false;
@@ -50,7 +49,7 @@
* the restore view phase and does not change during the request
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testAssociatedConversationOfJsfRequestIsDeterminedAtEndOfRestoreViewPhase()
{
assert false;
@@ -61,7 +60,7 @@
* the restore view phase and does not change during the request
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testAssociatedConversationOfJsfRequestDoesNotChangeDuringRequest()
{
assert false;
@@ -71,7 +70,7 @@
* By default, a conversation is transient
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testDefaultConversationIsTransient()
{
assert false;
@@ -81,7 +80,7 @@
* All long-running conversations have a string-valued unique identifier
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testConversationsHaveUniqueStringIdentifiers()
{
assert false;
@@ -93,7 +92,7 @@
* conversation context is also destroyed.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testTransientConversationIsDestroyedAtEndOfJsfRequest()
{
assert false;
@@ -105,7 +104,7 @@
* conversation context is also destroyed.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testTransientConversationContextIsDestroyedAtEndOfJsfRequest()
{
assert false;
@@ -116,7 +115,7 @@
* long-running state at the end of a JSF request, it is not destroyed
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testLongRunningConversationNotDestroyedAtEndOfJsfRequest()
{
assert false;
@@ -128,7 +127,7 @@
* form submission) that originates from that rendered page.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testLongRunningConversationOfJsfRenderingRequestIsPropagatedToRequestFromRenderedPage()
{
assert false;
@@ -142,7 +141,7 @@
* parameter named cid containing the unique identifier of the conversation.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testLongRunningConversationOfJsfRedirectIsPropagatedToNonFacesRequest()
{
assert false;
@@ -155,7 +154,7 @@
* application must manage this request parameter
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testLongRunningConversationManuallyPropagatedToNonFacesRequest()
{
assert false;
@@ -166,7 +165,7 @@
* associated with a new transient conversation.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testNewTransientRequestIsCreatedWhenNoConversationIsPropagated()
{
assert false;
@@ -177,7 +176,7 @@
* session and may not cross session boundaries
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testLongRunningConversationsMayNotCrossHttpSessions()
{
assert false;
@@ -188,7 +187,7 @@
* conversation contexts created during the current session are destroyed
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testAllLongRunningConversationContextsOfInvalidatedHttpSessionAreDestroyed()
{
assert false;
@@ -200,7 +199,7 @@
* conserve resources
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testManagerCanDestroyOrphanedLongRunningConversations()
{
assert false;
@@ -211,7 +210,7 @@
* associated with a new transient conversation
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testNewTransientConversationIsCreatedWhenConversationCannotBeRestored()
{
assert false;
@@ -223,7 +222,7 @@
* concurrent requests.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.4")
+ @SpecAssertion(section = "8.5.4")
public void testConcurrentRequestsToLongRunningConversationsAreHandled()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java 2009-01-27 23:15:43 UTC (rev 1255)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/passivating/PassivatingContextTest.java 2009-01-27 23:34:18 UTC (rev 1256)
@@ -2,15 +2,14 @@
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;
/**
*
* @author Nicklas Karlsson
*
+ * Spec version: PRD2
*/
- at SpecVersion("20081206")
public class PassivatingContextTest extends AbstractTest
{
@@ -19,7 +18,7 @@
* declare any passivating scope.
*/
@Test(groups = { "contexts", "passivation", "enterpriseBean", "integration" })
- @SpecAssertion(section = "9.5")
+ @SpecAssertion(section = "8.4")
public void testEJBWebBeanCanDeclarePassivatingScope()
{
deployBeans(Turku.class);
@@ -31,7 +30,7 @@
* serializable.
*/
@Test(groups = { "stub", "contexts", "passivation", "jms" })
- @SpecAssertion(section = "9.5")
+ @SpecAssertion(section = "8.4")
public void testJMSEndpointProxyIsSerializable()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java 2009-01-27 23:15:43 UTC (rev 1255)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/request/RequestContextTest.java 2009-01-27 23:34:18 UTC (rev 1256)
@@ -2,10 +2,12 @@
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 RequestContextTest extends AbstractTest
{
@@ -14,7 +16,7 @@
* the web application.
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeActiveDuringServiceMethod()
{
assert false;
@@ -25,7 +27,7 @@
* the Servlet service() method returns.
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeIsDestroyedAfterServiceMethod()
{
assert false;
@@ -35,7 +37,7 @@
* The request scope is active during any Java EE web service invocation.
*/
@Test(groups = { "stub", "contexts", "webservice" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeActiveDuringWebSericeInvocation()
{
assert false;
@@ -46,7 +48,7 @@
* completes
*/
@Test(groups = { "stub", "contexts", "webservice" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeIsDestroyedAfterWebServiceInvocation()
{
assert false;
@@ -58,7 +60,7 @@
* to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeActiveDuringRemoteMethodInvocationOfEjb()
{
assert false;
@@ -70,7 +72,7 @@
* to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeActiveDuringCallToEjbTimeoutMethod()
{
assert false;
@@ -82,7 +84,7 @@
* to any EJB message driven bean.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeActiveDuringEjbMessageDelivery()
{
assert false;
@@ -93,7 +95,7 @@
* timeout or message delivery completes.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeDestroyedAfterRemoteMethodInvocationOfEjb()
{
assert false;
@@ -104,7 +106,7 @@
* timeout or message delivery completes.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeDestroyedAfterCallToEjbTimeoutMethod()
{
assert false;
@@ -115,7 +117,7 @@
* timeout or message delivery completes.
*/
@Test(groups = { "stub", "contexts", "ejb3" })
- @SpecAssertion(section = "9.6.1")
+ @SpecAssertion(section = "8.5.1")
public void testRequestScopeDestroyedAfterEjbMessageDelivery()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java 2009-01-27 23:15:43 UTC (rev 1255)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/context/session/SessionContextTest.java 2009-01-27 23:34:18 UTC (rev 1256)
@@ -2,10 +2,12 @@
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("2001206")
+/**
+ *
+ * Spec version: PRD2
+ */
public class SessionContextTest extends AbstractTest
{
@@ -14,7 +16,7 @@
* the web application
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "9.6.2")
+ @SpecAssertion(section = "8.5.2")
public void testSessionScopeActiveDuringServiceMethod()
{
assert false;
@@ -25,7 +27,7 @@
* the same HTTP servlet session
*/
@Test(groups = { "stub", "contexts", "servlet" })
- @SpecAssertion(section = "9.6.2")
+ @SpecAssertion(section = "8.5.2")
public void testSessionContextSharedBetweenServletRequestsInSameHttpSession()
{
assert false;
@@ -36,7 +38,7 @@
* times out.
*/
@Test(groups = { "stub", "contexts" })
- @SpecAssertion(section = "9.6.2")
+ @SpecAssertion(section = "8.5.2")
public void testSessionContextDestroyedWhenHttpSessionInvalidatedOrTimesOut()
{
assert false;
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java 2009-01-27 23:15:43 UTC (rev 1255)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/integration/event/EventTest.java 2009-01-27 23:34:18 UTC (rev 1256)
@@ -32,25 +32,27 @@
*
* @author David Allen
*
+ * Spec version: PRD2
+ *
*/
public class EventTest extends AbstractTest
{
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "7.4")
public void testObserverCalledBeforeTransactionCompleteMaySetRollbackOnly()
{
assert false;
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "8.4")
+ @SpecAssertion(section = "7.4")
public void testObserverManipulatingJTATransactionsDirectlyFails()
{
assert false;
}
@Test(groups = { "events", "integration" })
- @SpecAssertion(section = "8.5")
+ @SpecAssertion(section = "7.5")
public void testObserverMethodOnEnterpriseBeanIsBusinessMethodOrStatic()
{
deployBeans(Pomeranian.class);
@@ -61,7 +63,7 @@
}
@Test(groups = { "events", "integration" }, expectedExceptions=DefinitionException.class)
- @SpecAssertion(section = "8.5")
+ @SpecAssertion(section = "7.5")
public void testObserverMethodOnEnterpriseBeanNotBusinessMethodOrStaticFails()
{
deployBeans(TibetanTerrier.class);
@@ -74,7 +76,7 @@
*
*/
@Test(groups = { "events", "integration" , "broken"})
- @SpecAssertion(section = "8.5.7")
+ @SpecAssertion(section = "7.5.8")
public void testEnterpriseBeanObserverMethodCalledWithCallerContext()
{
deployBeans(Pomeranian.class);
@@ -89,7 +91,7 @@
}
@Test(groups = { "stub", "events", "integration" })
- @SpecAssertion(section = "8.5.7")
+ @SpecAssertion(section = "7.5.8")
public void testTransactionalObserverThrownExceptionIsCaughtAndLogged()
{
assert false;
More information about the weld-commits
mailing list