Author: richard.opalka(a)jboss.com
Date: 2008-08-06 08:51:02 -0400 (Wed, 06 Aug 2008)
New Revision: 8024
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBareTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java
Log:
[JBWS-1949] enable tests
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBareTestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBareTestCase.java 2008-08-06
07:37:51 UTC (rev 8023)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPBareTestCase.java 2008-08-06
12:51:02 UTC (rev 8024)
@@ -57,7 +57,6 @@
protected void setUp() throws Exception
{
-
QName serviceName = new
QName("http://doclit.xop.samples.jaxws.ws.test.jboss.org/",
"MTOMService");
URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
@@ -71,13 +70,6 @@
*/
public void testDataHandlerRoundtrip() throws Exception
{
-
- if(isIntegrationMetro() && isTargetJBoss50())
- {
- System.out.println("FIXME JBWS-1949: Metro MTOM ignores content-type on
attachment part");
- return;
- }
-
getBinding().setMTOMEnabled(true);
DataHandler dh = new DataHandler("DataHandlerRoundtrip",
"text/plain");
@@ -96,12 +88,6 @@
*/
public void testDataHandlerResponseOptimzed() throws Exception
{
- if(isIntegrationMetro() && isTargetJBoss50())
- {
- System.out.println("FIXME JBWS-1949: Metro MTOM ignores content-type on
attachment part");
- return;
- }
-
getBinding().setMTOMEnabled(false);
DataHandler dh = new DataHandler("DataHandlerResponseOptimzed",
"text/plain");
@@ -113,6 +99,5 @@
assertEquals("Server data", content);
assertEquals("text/plain", contentType);
-
}
}
\ No newline at end of file
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java 2008-08-06
07:37:51 UTC (rev 8023)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/xop/doclit/XOPWrappedTestCase.java 2008-08-06
12:51:02 UTC (rev 8024)
@@ -71,12 +71,6 @@
public void testParameterAnnotation() throws Exception
{
- if(isIntegrationMetro() && isTargetJBoss50())
- {
- System.out.println("FIXME JBWS-1949: Metro MTOM ignores content-type on
attachment part");
- return;
- }
-
DataHandler request = new DataHandler("Client data",
"text/plain");
DataHandler response = port.parameterAnnotation(request);