I've back ported Clebert's compatibility matrix to JBoss_4_0_1_SP1_CP:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/branches/JBoss_4_0_1_SP1_CP/testsuite/build.xml?r1=62365&r2=62370
(last step concerns the compatibility matrix test)
After running the compatibility matrix I get following errors:
org.jboss.test.webservice.marshalltest.MarshallRpcLiteralTestCase (31tests)
"The requested resource (/ws4ee-marshall-rpcenc) is not available."
http://dev17.qa.atl.jboss.com:8440/cruisecontrol/artifacts/jboss-4.0.1.SP1_CP-compatibility-matrix//20070418042003//html/org/jboss/test/compatibility/test/matrix/MatrixTestContainer(WebService_4_0_1SP1).html
If I run the MarshallRpcLiteralTestCase in "single" mode, by modifying build.xml:
<execute-matrix-unit test-name="WebService" parameter-filter="org/jboss/test/webservice/marshalltest/MarshallRpcLiteralTestCase.class"/>
instead of:
<execute-matrix-unit test-name="WebService" parameter-filter="org/jboss/test/webservice/**/*TestCase.class"/>
the test runs fine.
But when I change build.xml this way:
<execute-matrix-unit test-name="WebService" parameter-filter="org/jboss/test/webservice/marshalltest/MarshallRpc*TestCase.class"/>
which runs two tests: MarshallRpcEncodedTestCase and MarshallRpcLiteralTestCase the second one fails again.
Any ideas why?
If not, I will define a new parameter which excludes MarshallRpcLiteralTestCase from the webservice tests and run it separately:
<execute-matrix-unit test-name="WebService"
parameter-filter="org/jboss/test/webservice/**/*TestCase.class"
parameter-exclude-filter="org/jboss/test/webservice/marshalltest/MarshallRpcLiteralTestCase.class"/>
<execute-matrix-unit test-name="WebService-2" parameter-filter="org/jboss/test/webservice/marshalltest/MarshallRpcLiteralTestCase.class"/>
I think your work around is ok for this legacy test suite.