Author: keith
Date: Mon Mar 31 09:56:21 2008
New Revision: 15404

Log:

Fixing the test failures



Modified:
   
trunk/mashup/java/modules/integration/test/org/wso2/mashup/integration/SchemaIntegrationTest.java

Modified: 
trunk/mashup/java/modules/integration/test/org/wso2/mashup/integration/SchemaIntegrationTest.java
==============================================================================
--- 
trunk/mashup/java/modules/integration/test/org/wso2/mashup/integration/SchemaIntegrationTest.java
   (original)
+++ 
trunk/mashup/java/modules/integration/test/org/wso2/mashup/integration/SchemaIntegrationTest.java
   Mon Mar 31 09:56:21 2008
@@ -127,7 +127,7 @@
         OMElement result = sender.sendReceive(payload);
         OMElement element = result.getFirstElement();
         TestCase.assertEquals(
-                "<return  xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"; 
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; 
xmlns:js=\"http://www.wso2.org/ns/jstype\"; js:type=\"array\">" +
+                "<return xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"; 
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; 
xmlns:js=\"http://www.wso2.org/ns/jstype\"; js:type=\"array\">" +
                         "<item js:type=\"string\" 
xsi:type=\"xs:string\">value1</item>" +
                         "<item js:type=\"number\" 
xsi:type=\"xs:double\">2.27</item>" +
                         "<item js:type=\"xml\" 
xsi:type=\"xs:anyType\"><value>2</value></item>" +
@@ -388,7 +388,7 @@
         options.setTimeOutInMilliSeconds(10000);
         sender.setOptions(options);
         OMElement result = sender.sendReceive(payload);
-        TestCase.assertEquals("<return 
xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"; 
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; 
xsi:type=\"xs:anyType\">" + xmlParam + "</return>",
+        TestCase.assertEquals("<return 
xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"; 
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"; 
xmlns:js=\"http://www.wso2.org/ns/jstype\"; js:type=\"xml\" 
xsi:type=\"xs:anyType\">" + xmlParam + "</return>",
                               result.getFirstElement().toString());
     }
 

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to