[jboss-svn-commits] JBL Code SVN: r21522 - in labs/jbosstm/workspace/interop/WSTFSC07-interop: src/com/jboss/transaction/wstf/test and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Aug 13 12:30:43 EDT 2008
Author: adinn
Date: 2008-08-13 12:30:43 -0400 (Wed, 13 Aug 2008)
New Revision: 21522
Modified:
labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/interop/Sc007TestCase.java
labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/test/TestConstants.java
labs/jbosstm/workspace/interop/WSTFSC07-interop/web/index.jsp
Log:
patched test names ot conform to WSTF spec and inserted correct public endpoint name in index.jsp
Modified: labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/interop/Sc007TestCase.java
===================================================================
--- labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/interop/Sc007TestCase.java 2008-08-13 16:08:13 UTC (rev 21521)
+++ labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/interop/Sc007TestCase.java 2008-08-13 16:30:43 UTC (rev 21522)
@@ -244,11 +244,11 @@
}
/**
- * test4_1 - 4.1 EarlyReadonly
+ * test3_4 - 3.4 EarlyReadonly
* Tests the case of a participant initiated ReadOnly message occurring prior to the prepare phase.
* @throws Exception on failure.
*/
- public void test4_1()
+ public void test3_4()
throws Exception
{
final String conversationId = getConversationId() ;
@@ -273,11 +273,11 @@
}
/**
- * test4_2 - 4.2 EarlyAborted
+ * test3_5 - 3.5 EarlyAborted
* Tests the case of a participant initiated Aborted message occurring prior to the prepare phase.
* @throws Exception on failure.
*/
- public void test4_2()
+ public void test3_5()
throws Exception
{
final String conversationId = getConversationId() ;
@@ -305,11 +305,11 @@
}
/**
- * test5_1 - 5.1 ReplayCommit
+ * test3_6 - 3.6 ReplayCommit
* Participant registers for Durable2PC, initator initiates commit, participant fails after prepared, recovers and resends prepared. Transaction commits normally.
* @throws Exception on failure.
*/
- public void test5_1()
+ public void test3_6()
throws Exception
{
final String conversationId = getConversationId() ;
@@ -334,11 +334,11 @@
}
/**
- * test5_2 - 5.2 RetryPreparedCommit
+ * test3_7 - 3.7 RetryPreparedCommit
* Tests recovery from a communication failure during the prepare phase. Transaction commits normally.
* @throws Exception on failure.
*/
- public void test5_2()
+ public void test3_7()
throws Exception
{
final String conversationId = getConversationId() ;
@@ -363,11 +363,11 @@
}
/**
- * test5_3 - 5.3 RetryPreparedAbort
+ * test3_8 - 3.8 RetryPreparedAbort
* Tests recovery from a communication failure during the prepare phase. Transaction times out.
* @throws Exception on failure.
*/
- public void test5_3()
+ public void test3_8()
throws Exception
{
final String conversationId = getConversationId() ;
@@ -395,11 +395,11 @@
}
/**
- * test5_4 - 5.4 RetryCommit
+ * test3_9 - 3.9 RetryCommit
* Tests recovery from a communication failure during the commit phase. Transaction commits normally.
* @throws Exception on failure.
*/
- public void test5_4()
+ public void test3_9()
throws Exception
{
final String conversationId = getConversationId() ;
@@ -424,11 +424,11 @@
}
/**
- * test5_5 - 5.5 PreparedAfterTimeout
+ * test3_10 - 3.10 PreparedAfterTimeout
* Tests recovery from a communication failure during the prepare phase. Transaction times out. Two participants, volatile and durable.
* @throws Exception on failure.
*/
- public void test5_5()
+ public void test3_10()
throws Exception
{
final String conversationId = getConversationId() ;
@@ -456,11 +456,11 @@
}
/**
- * test5_6 - 5.6 LostCommitted
+ * test3_11 - 3.11 LostCommitted
* Tests the effect of a lost Committed message.
* @throws Exception on failure.
*/
- public void test5_6()
+ public void test3_11()
throws Exception
{
final String conversationId = getConversationId() ;
Modified: labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/test/TestConstants.java
===================================================================
--- labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/test/TestConstants.java 2008-08-13 16:08:13 UTC (rev 21521)
+++ labs/jbosstm/workspace/interop/WSTFSC07-interop/src/com/jboss/transaction/wstf/test/TestConstants.java 2008-08-13 16:30:43 UTC (rev 21522)
@@ -113,67 +113,67 @@
/**
* test name for AT Scenario 4.1
*/
- public static final String NAME_TEST_4_1 = PREFIX_TESTS + "4_1" ;
+ public static final String NAME_TEST_3_4 = PREFIX_TESTS + "3_4" ;
/**
- * test description for AT Scenario 4.1
+ * test description for AT Scenario 3.4
*/
- public static final String DESCRIPTION_TEST_4_1 = "4.1 - " + InteropConstants.INTEROP_ELEMENT_EARLY_READONLY ;
+ public static final String DESCRIPTION_TEST_3_4 = "3.4 - " + InteropConstants.INTEROP_ELEMENT_EARLY_READONLY ;
/**
- * test name for AT Scenario 4.2
+ * test name for AT Scenario 3.5
*/
- public static final String NAME_TEST_4_2 = PREFIX_TESTS + "4_2" ;
+ public static final String NAME_TEST_3_5 = PREFIX_TESTS + "3_5" ;
/**
- * test description for AT Scenario 4.2
+ * test description for AT Scenario 3.5
*/
- public static final String DESCRIPTION_TEST_4_2 = "4.2 - " + InteropConstants.INTEROP_ELEMENT_EARLY_ABORTED ;
+ public static final String DESCRIPTION_TEST_3_5 = "3.5 - " + InteropConstants.INTEROP_ELEMENT_EARLY_ABORTED ;
/**
- * test name for AT Scenario 5.1
+ * test name for AT Scenario 3.6
*/
- public static final String NAME_TEST_5_1 = PREFIX_TESTS + "5_1" ;
+ public static final String NAME_TEST_3_6 = PREFIX_TESTS + "3_6" ;
/**
- * test description for AT Scenario 5.1
+ * test description for AT Scenario 3.6
*/
- public static final String DESCRIPTION_TEST_5_1 = "5.1 - " + InteropConstants.INTEROP_ELEMENT_REPLAY_COMMIT ;
+ public static final String DESCRIPTION_TEST_3_6 = "3.6 - " + InteropConstants.INTEROP_ELEMENT_REPLAY_COMMIT ;
/**
- * test name for AT Scenario 5.2
+ * test name for AT Scenario 3.7
*/
- public static final String NAME_TEST_5_2 = PREFIX_TESTS + "5_2" ;
+ public static final String NAME_TEST_3_7 = PREFIX_TESTS + "3_7" ;
/**
- * test description for AT Scenario 5.2
+ * test description for AT Scenario 3.7
*/
- public static final String DESCRIPTION_TEST_5_2 = "5.2 - " + InteropConstants.INTEROP_ELEMENT_RETRY_PREPARED_COMMIT ;
+ public static final String DESCRIPTION_TEST_3_7 = "3.7 - " + InteropConstants.INTEROP_ELEMENT_RETRY_PREPARED_COMMIT ;
/**
- * test name for AT Scenario 5.3
+ * test name for AT Scenario 3.8
*/
- public static final String NAME_TEST_5_3 = PREFIX_TESTS + "5_3" ;
+ public static final String NAME_TEST_3_8 = PREFIX_TESTS + "3_8" ;
/**
- * test description for AT Scenario 5.3
+ * test description for AT Scenario 3.8
*/
- public static final String DESCRIPTION_TEST_5_3 = "5.3 - " + InteropConstants.INTEROP_ELEMENT_RETRY_PREPARED_ABORT ;
+ public static final String DESCRIPTION_TEST_3_8 = "3.8 - " + InteropConstants.INTEROP_ELEMENT_RETRY_PREPARED_ABORT ;
/**
- * test name for AT Scenario 5.4
+ * test name for AT Scenario 3.9
*/
- public static final String NAME_TEST_5_4 = PREFIX_TESTS + "5_4" ;
+ public static final String NAME_TEST_3_9 = PREFIX_TESTS + "3_9" ;
/**
- * test description for AT Scenario 5.4
+ * test description for AT Scenario 3.9
*/
- public static final String DESCRIPTION_TEST_5_4 = "5.4 - " + InteropConstants.INTEROP_ELEMENT_RETRY_COMMIT ;
+ public static final String DESCRIPTION_TEST_3_9 = "3.9 - " + InteropConstants.INTEROP_ELEMENT_RETRY_COMMIT ;
/**
- * test name for AT Scenario 5.5
+ * test name for AT Scenario 3.10
*/
- public static final String NAME_TEST_5_5 = PREFIX_TESTS + "5_5" ;
+ public static final String NAME_TEST_3_10 = PREFIX_TESTS + "3_10" ;
/**
- * test description for AT Scenario 5.5
+ * test description for AT Scenario 3.10
*/
- public static final String DESCRIPTION_TEST_5_5 = "5.5 - " + InteropConstants.INTEROP_ELEMENT_PREPARED_AFTER_TIMEOUT ;
+ public static final String DESCRIPTION_TEST_3_10 = "3.10 - " + InteropConstants.INTEROP_ELEMENT_PREPARED_AFTER_TIMEOUT ;
/**
- * test name for AT Scenario 5.6
+ * test name for AT Scenario 3.11
*/
- public static final String NAME_TEST_5_6 = PREFIX_TESTS + "5_6" ;
+ public static final String NAME_TEST_3_11 = PREFIX_TESTS + "3_11" ;
/**
- * test description for AT Scenario 5.6
+ * test description for AT Scenario 3.11
*/
- public static final String DESCRIPTION_TEST_5_6 = "5.6 - " + InteropConstants.INTEROP_ELEMENT_LOST_COMMITTED ;
+ public static final String DESCRIPTION_TEST_3_11 = "3.11 - " + InteropConstants.INTEROP_ELEMENT_LOST_COMMITTED ;
/**
* The name to description map.
@@ -191,14 +191,14 @@
descriptions.put(NAME_TEST_3_1, DESCRIPTION_TEST_3_1) ;
descriptions.put(NAME_TEST_3_2, DESCRIPTION_TEST_3_2) ;
descriptions.put(NAME_TEST_3_3, DESCRIPTION_TEST_3_3) ;
- descriptions.put(NAME_TEST_4_1, DESCRIPTION_TEST_4_1) ;
- descriptions.put(NAME_TEST_4_2, DESCRIPTION_TEST_4_2) ;
- descriptions.put(NAME_TEST_5_1, DESCRIPTION_TEST_5_1) ;
- descriptions.put(NAME_TEST_5_2, DESCRIPTION_TEST_5_2) ;
- descriptions.put(NAME_TEST_5_3, DESCRIPTION_TEST_5_3) ;
- descriptions.put(NAME_TEST_5_4, DESCRIPTION_TEST_5_4) ;
- descriptions.put(NAME_TEST_5_5, DESCRIPTION_TEST_5_5) ;
- descriptions.put(NAME_TEST_5_6, DESCRIPTION_TEST_5_6) ;
+ descriptions.put(NAME_TEST_3_4, DESCRIPTION_TEST_3_4) ;
+ descriptions.put(NAME_TEST_3_5, DESCRIPTION_TEST_3_5) ;
+ descriptions.put(NAME_TEST_3_6, DESCRIPTION_TEST_3_6) ;
+ descriptions.put(NAME_TEST_3_7, DESCRIPTION_TEST_3_7) ;
+ descriptions.put(NAME_TEST_3_8, DESCRIPTION_TEST_3_8) ;
+ descriptions.put(NAME_TEST_3_9, DESCRIPTION_TEST_3_9) ;
+ descriptions.put(NAME_TEST_3_10, DESCRIPTION_TEST_3_10) ;
+ descriptions.put(NAME_TEST_3_11, DESCRIPTION_TEST_3_11) ;
DESCRIPTIONS = descriptions ;
}
Modified: labs/jbosstm/workspace/interop/WSTFSC07-interop/web/index.jsp
===================================================================
--- labs/jbosstm/workspace/interop/WSTFSC07-interop/web/index.jsp 2008-08-13 16:08:13 UTC (rev 21521)
+++ labs/jbosstm/workspace/interop/WSTFSC07-interop/web/index.jsp 2008-08-13 16:30:43 UTC (rev 21522)
@@ -21,7 +21,7 @@
<p>Please send any queries to the <a href="mailto:adinn at redhat.com?subject=Interop%20query">Red Hat Test Forum contact</a></p>
<h2>Sc007 tests</h2>
<p>Enter the URL of the sc007 participant service to be used to run these tests and a timeout for each individual test<br>
- n.b. the JBoss participant has URL http://localhost:8080/sc007/ParticipantService</p>
+ n.b. the JBoss participant has URL http://endpoint.jbossts.org:9090/sc007/ParticipantService</p>
<form action="test" method="post">
<p>Sc007 Participant Service URI: <input name="<%= TestConstants.PARAM_SERVICE_URI %>" maxlength="2000" size="100" value="<%= SERVICE_URI %>"/></p>
<p>Test timeout: <input name="<%= TestConstants.PARAM_TEST_TIMEOUT %>" maxlength="10" size="10" value="120000"/></p>
@@ -51,4 +51,4 @@
</p>
</form>
</body>
-</html>
\ No newline at end of file
+</html>
More information about the jboss-svn-commits
mailing list