axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r789505 - in /webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema: ./ all/ anytype/ attribute/ base64binary/ booleantest/ chameleon/ choice/ decimal/ enumeration/ extension/ group/ innerChoice/ innerparticleextensi...
Date Tue, 30 Jun 2009 00:30:17 GMT
Author: veithen
Date: Tue Jun 30 00:30:16 2009
New Revision: 789505

URL: http://svn.apache.org/viewvc?rev=789505&view=rev
Log:
AXIS2-4413: Enabled getPullParser based tests where they work; this should prevent any further regression on this issue.

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/AbstractTestCase.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/all/AllTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/anytype/AnyTypeTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/attribute/AttributeTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/base64binary/Base64BinaryTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/booleantest/BooleanTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/chameleon/ChameleonTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/choice/ChoiceTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/decimal/DecimalTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/enumeration/EnumerationTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/ComplexExtenstionTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/group/GroupTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerChoice/InnerChoiceTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticleextension/TestInnerParticleExtension.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticles/InnerParticlesTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/list/ListTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/nonamespace/NoNamespaceTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/particlemaxoccurs/ParticalMaxOccursTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/references/ElementReferenceTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/ComplexRestrictionTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/SimpleRestrictionTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union/UnionTest.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union2/Union2Test.java
    webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/AbstractTestCase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/AbstractTestCase.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/AbstractTestCase.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/AbstractTestCase.java Tue Jun 30 00:30:16 2009
@@ -195,12 +195,22 @@
         testSerializeDeserialize(bean, bean);
     }
     
+    public static void testSerializeDeserialize(ADBBean bean, boolean testGetPullParser) throws Exception {
+        testSerializeDeserialize(bean, bean, testGetPullParser);
+    }
+    
     public static void testSerializeDeserialize(ADBBean bean, ADBBean expectedResult) throws Exception {
+        testSerializeDeserialize(bean, expectedResult, true);
+    }
+    
+    public static void testSerializeDeserialize(ADBBean bean, ADBBean expectedResult, boolean testGetPullParser) throws Exception {
         testSerializeDeserialize1(bean, expectedResult);
         testSerializeDeserialize2(bean, expectedResult);
         
-        // TODO: this badly fails for many of the test cases => there are still issues to solve!!!
-//        testSerializeDeserialize3(bean, expectedResult);
+        if (testGetPullParser) {
+            // TODO: this badly fails for many of the test cases => there are still issues to solve!!!
+            testSerializeDeserialize3(bean, expectedResult);
+        }
         
         testSerializeDeserialize4(bean, expectedResult);
     }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/all/AllTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/all/AllTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/all/AllTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/all/AllTest.java Tue Jun 30 00:30:16 2009
@@ -28,6 +28,6 @@
         update.setArg0("test");
         update.setArg1(true);
         update.setId(2);
-        testSerializeDeserialize(update);
+        testSerializeDeserialize(update, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/anytype/AnyTypeTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/anytype/AnyTypeTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/anytype/AnyTypeTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/anytype/AnyTypeTest.java Tue Jun 30 00:30:16 2009
@@ -30,7 +30,7 @@
     public void testAnyTypeElement1_1() throws Exception {
         TestAnyTypeElement1 testAnyTypeElement = new TestAnyTypeElement1();
         testAnyTypeElement.setTestAnyTypeElement1("test");
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement1_2() throws Exception {
@@ -43,20 +43,20 @@
     public void testAnyTypeElement2_1() throws Exception {
         TestAnyTypeElement2 testAnyTypeElement = new TestAnyTypeElement2();
         testAnyTypeElement.setTestAnyTypeElement2("test");
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement2_2() throws Exception {
         TestAnyTypeElement2 testAnyTypeElement = new TestAnyTypeElement2();
         testAnyTypeElement.setTestAnyTypeElement2(null);
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement3_1() throws Exception {
         TestAnyTypeElement3 testAnyTypeElement = new TestAnyTypeElement3();
         testAnyTypeElement.setParam1(new Object[]{"test1","test2"});
 
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement3_2() throws Exception {
@@ -73,14 +73,14 @@
         TestAnyTypeElement3 testAnyTypeElement = new TestAnyTypeElement3();
         testAnyTypeElement.setParam1(new Object[]{"test",null});
 
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
 
     public void testAnyTypeElement4_1() throws Exception {
         TestAnyTypeElement4 testAnyTypeElement = new TestAnyTypeElement4();
         testAnyTypeElement.setParam1(new Object[]{"test1","test2"});
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement4_2() throws Exception {
@@ -95,14 +95,14 @@
 
         TestAnyTypeElement4 expectedResult = new TestAnyTypeElement4();
         expectedResult.setParam1(new Object[] { "test" });
-        testSerializeDeserialize(testAnyTypeElement, expectedResult);
+        testSerializeDeserialize(testAnyTypeElement, expectedResult, false);
     }
 
 
     public void testAnyTypeElement5_1() throws Exception {
         TestAnyTypeElement5 testAnyTypeElement = new TestAnyTypeElement5();
         testAnyTypeElement.setParam1(new Object[]{"test1","test2"});
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement5_2() throws Exception {
@@ -117,14 +117,14 @@
     public void testAnyTypeElement5_3() throws Exception {
         TestAnyTypeElement5 testAnyTypeElement = new TestAnyTypeElement5();
         testAnyTypeElement.setParam1(new Object[]{"test",null});
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
 
     public void testAnyTypeElement6_1() throws Exception {
         TestAnyTypeElement6 testAnyTypeElement = new TestAnyTypeElement6();
         testAnyTypeElement.setParam1(new Object[]{"test1","test2"});
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement6_2() throws Exception {
@@ -153,13 +153,13 @@
 
         testAnyTypeElement6.setParam1(testComplexParents);
 
-        testSerializeDeserialize(testAnyTypeElement6);
+        testSerializeDeserialize(testAnyTypeElement6, false);
     }
 
     public void testAnyTypeElement7_1() throws Exception {
         TestAnyTypeElement7 testAnyTypeElement = new TestAnyTypeElement7();
         testAnyTypeElement.setParam1("test");
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement7_2() throws Exception {
@@ -173,13 +173,13 @@
         TestComplexParent testComplexParent = new TestComplexParent();
         testComplexParent.setParam1("test param1");
         testAnyTypeElement7.setParam1(testComplexParent);
-        testSerializeDeserialize(testAnyTypeElement7);
+        testSerializeDeserialize(testAnyTypeElement7, false);
     }
 
     public void testAnyTypeElement8_1() throws Exception {
         TestAnyTypeElement8 testAnyTypeElement = new TestAnyTypeElement8();
         testAnyTypeElement.setParam1("test");
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement8_2() throws Exception {
@@ -191,7 +191,7 @@
     public void testAnyTypeElement9_1() throws Exception {
         TestAnyTypeElement9 testAnyTypeElement = new TestAnyTypeElement9();
         testAnyTypeElement.setParam1("test");
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement9_2() throws Exception {
@@ -203,7 +203,7 @@
     public void testAnyTypeElement10_1() throws Exception {
         TestAnyTypeElement10 testAnyTypeElement = new TestAnyTypeElement10();
         testAnyTypeElement.setParam1("test");
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyTypeElement10_2() throws Exception {
@@ -216,14 +216,14 @@
         // datatype tests
         TestAnyTypeElement1 testAnyTypeElement = new TestAnyTypeElement1();
         testAnyTypeElement.setTestAnyTypeElement1(new Integer(5));
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testAnyElementQName() throws Exception {
         // datatype tests
         TestAnyTypeElement1 testAnyTypeElement = new TestAnyTypeElement1();
         testAnyTypeElement.setTestAnyTypeElement1(new QName("http://wso2.org","testElement"));
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 
     public void testTestElement() throws Exception {
@@ -251,7 +251,7 @@
 
         testElement.setParam1(dynamicProperties);
 
-        testSerializeDeserialize(testElement);
+        testSerializeDeserialize(testElement, false);
     }
     
     // Regression test for AXIS2-4273
@@ -269,7 +269,7 @@
     public void testEmptyString() throws Exception {
         TestAnyTypeElement1 testAnyTypeElement = new TestAnyTypeElement1();
         testAnyTypeElement.setTestAnyTypeElement1("");
-        testSerializeDeserialize(testAnyTypeElement);
+        testSerializeDeserialize(testAnyTypeElement, false);
     }
 }
 

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/attribute/AttributeTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/attribute/AttributeTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/attribute/AttributeTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/attribute/AttributeTest.java Tue Jun 30 00:30:16 2009
@@ -78,6 +78,6 @@
         testAttributeReferenceType.setTestAttribute1("attribute1");
 
         testAttributeReferenceElement.setTestAttributeReferenceElement(testAttributeReferenceType);
-        testSerializeDeserialize(testAttributeReferenceElement);
+        testSerializeDeserialize(testAttributeReferenceElement, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/base64binary/Base64BinaryTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/base64binary/Base64BinaryTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/base64binary/Base64BinaryTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/base64binary/Base64BinaryTest.java Tue Jun 30 00:30:16 2009
@@ -40,7 +40,7 @@
         contentType_type0.setContentType_type0("test content type");
         base64Binary.setContentType(contentType_type0);
 
-        testSerializeDeserialize(testBase64Binary);
+        testSerializeDeserialize(testBase64Binary, false);
     }
 
     public void testHexBinary() throws Exception {
@@ -58,7 +58,7 @@
         contentType_type0.setContentType_type0("test content type");
         hexBinary.setContentType(contentType_type0);
 
-        testSerializeDeserialize(testHexBinary);
+        testSerializeDeserialize(testHexBinary, false);
     }
 
     public void testBase64MultiElement() throws Exception {
@@ -70,6 +70,6 @@
         testBase64MultiElement.setParam2("test string");
         testBase64MultiElement.setParam3(5);
 
-        testSerializeDeserialize(testBase64MultiElement);
+        testSerializeDeserialize(testBase64MultiElement, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/booleantest/BooleanTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/booleantest/BooleanTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/booleantest/BooleanTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/booleantest/BooleanTest.java Tue Jun 30 00:30:16 2009
@@ -26,14 +26,14 @@
     public void testBooleanTest1() throws Exception {
         TestBoolean1 testBoolean = new TestBoolean1();
         testBoolean.setTestBoolean1(true);
-        testSerializeDeserialize(testBoolean);
+        testSerializeDeserialize(testBoolean, false);
     }
 
     public void testBooleanTest2() throws Exception {
         TestBoolean2 testBoolean = new TestBoolean2();
         testBoolean.setParam1(false);
         testBoolean.setAttribute1(true);
-        testSerializeDeserialize(testBoolean);
+        testSerializeDeserialize(testBoolean, false);
     }
 
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/chameleon/ChameleonTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/chameleon/ChameleonTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/chameleon/ChameleonTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/chameleon/ChameleonTest.java Tue Jun 30 00:30:16 2009
@@ -31,6 +31,6 @@
         supp.setParam("test");
         MainSchemaElement main = new MainSchemaElement();
         main.setParam(supp);
-        testSerializeDeserialize(main);
+        testSerializeDeserialize(main, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/choice/ChoiceTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/choice/ChoiceTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/choice/ChoiceTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/choice/ChoiceTest.java Tue Jun 30 00:30:16 2009
@@ -30,6 +30,6 @@
         
         TestChoice expectedResult = new TestChoice();
         expectedResult.setChoice2(5);
-        testSerializeDeserialize(testChoice, expectedResult);
+        testSerializeDeserialize(testChoice, expectedResult, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/decimal/DecimalTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/decimal/DecimalTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/decimal/DecimalTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/decimal/DecimalTest.java Tue Jun 30 00:30:16 2009
@@ -38,7 +38,7 @@
         arrayOfDecimal.addDecimal(new BigDecimal("111.38"));
         arrayOfDecimal.addDecimal(new BigDecimal("111.54"));
 
-        testSerializeDeserialize(getHistoricNavResponse);
+        testSerializeDeserialize(getHistoricNavResponse, false);
     }
 
     // TODO: explain what this test has to do with "DecimalTest"???

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/enumeration/EnumerationTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/enumeration/EnumerationTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/enumeration/EnumerationTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/enumeration/EnumerationTest.java Tue Jun 30 00:30:16 2009
@@ -30,6 +30,6 @@
         countPlacesInRect.setUpperleft("upperleft");
         countPlacesInRect.setPtype(PlaceType.River);
 
-        testSerializeDeserialize(countPlacesInRect);
+        testSerializeDeserialize(countPlacesInRect, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/ComplexExtenstionTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/ComplexExtenstionTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/ComplexExtenstionTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/ComplexExtenstionTest.java Tue Jun 30 00:30:16 2009
@@ -34,7 +34,7 @@
         extendedComplexType.setParentElement1("test1");
         extendedComplexType.setParentElement2("test2");
 
-        testSerializeDeserialize(testComplexElement);
+        testSerializeDeserialize(testComplexElement, false);
 
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java Tue Jun 30 00:30:16 2009
@@ -34,7 +34,7 @@
 
         fullName.setAttribute2(SimpleType.Factory.fromString("ATTRIBUTE", ""));
 
-        testSerializeDeserialize(fullName);
+        testSerializeDeserialize(fullName, false);
     }
 
 

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/group/GroupTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/group/GroupTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/group/GroupTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/group/GroupTest.java Tue Jun 30 00:30:16 2009
@@ -32,7 +32,7 @@
         testSequenceGroup.setSequenceParam2("sequenceParam2");
         testGroupSequenceElement.setTestSequenceGroup(testSequenceGroup);
 
-        testSerializeDeserialize(testGroupSequenceElement);
+        testSerializeDeserialize(testGroupSequenceElement, false);
     }
 
     public void testNestedSequenceGroupElement() throws Exception {
@@ -51,7 +51,7 @@
 
         testSequenceNestedGroupElement.setTestSequenceNestedGroup(testSequenceNestedGroup);
 
-        testSerializeDeserialize(testSequenceNestedGroupElement);
+        testSerializeDeserialize(testSequenceNestedGroupElement, false);
     }
 
     public void testChoiceGroupElement() throws Exception {
@@ -65,7 +65,7 @@
         TestChoiceGroupElement expectedResult = new TestChoiceGroupElement();
         expectedResult.setTestChoiceGroup(testChoiceGroup);
         
-        testSerializeDeserialize(testGroupChoiceElement, expectedResult);
+        testSerializeDeserialize(testGroupChoiceElement, expectedResult, false);
     }
 
     public void testNestedChoiceGroupElement() throws Exception {
@@ -93,7 +93,7 @@
 
         expectedResult.setTestChoiceNestedGroup(expectedChoiceNestedGroup);
         
-        testSerializeDeserialize(testChoiceNestedGroupElement, expectedResult);
+        testSerializeDeserialize(testChoiceNestedGroupElement, expectedResult, false);
     }
 
      public void testAttributeGroup() throws Exception {
@@ -101,7 +101,7 @@
          testAttributeGroup.setAttribute1("Attribute1");
          testAttributeGroup.setParam1("Param1");
 
-         testSerializeDeserialize(testAttributeGroup);
+         testSerializeDeserialize(testAttributeGroup, false);
      }
 
     public void testNestedAttributeGroup() throws Exception {
@@ -110,7 +110,7 @@
          testNestedAttributeGroupElement.setAttribute2("Attribute2");
          testNestedAttributeGroupElement.setParam1("Param1");
 
-         testSerializeDeserialize(testNestedAttributeGroupElement);
+         testSerializeDeserialize(testNestedAttributeGroupElement, false);
      }
 
 

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerChoice/InnerChoiceTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerChoice/InnerChoiceTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerChoice/InnerChoiceTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerChoice/InnerChoiceTest.java Tue Jun 30 00:30:16 2009
@@ -43,7 +43,7 @@
         expectedTestInnerSequence1Choice_type0.setChoice2(5);
         expectedSequence.setTestInnerSequence1Choice_type0(expectedTestInnerSequence1Choice_type0);
         
-        testSerializeDeserialize(testSequence, expectedSequence);
+        testSerializeDeserialize(testSequence, expectedSequence, false);
     }
 
     public void testInnerChoice21() throws Exception {
@@ -54,7 +54,7 @@
         testInnerSequence2Choice_type1.setChoice1(new String[]{"choice1", "choice2"});
         testSequence.setTestInnerSequence2Choice_type0(testInnerSequence2Choice_type1);
 
-        testSerializeDeserialize(testSequence);
+        testSerializeDeserialize(testSequence, false);
     }
 
     public void testInnerChoice22() throws Exception {
@@ -65,7 +65,7 @@
         testInnerSequence2Choice_type1.setChoice2(new int[]{2, 4});
         testSequence.setTestInnerSequence2Choice_type0(testInnerSequence2Choice_type1);
 
-        testSerializeDeserialize(testSequence);
+        testSerializeDeserialize(testSequence, false);
     }
 
     public void testInnerChoice31() throws Exception {
@@ -76,7 +76,7 @@
         testInnerSequence3Choice_type0.setChoice1(new String[]{"choice1", null, "choice2"});
         testSequence.setTestInnerSequence3Choice_type0(testInnerSequence3Choice_type0);
 
-        testSerializeDeserialize(testSequence);
+        testSerializeDeserialize(testSequence, false);
     }
 
     public void testInnerChoice32() throws Exception {
@@ -87,6 +87,6 @@
         testInnerSequence3Choice_type0.setChoice2(new int[]{2, Integer.MIN_VALUE, 6});
         testSequence.setTestInnerSequence3Choice_type0(testInnerSequence3Choice_type0);
 
-        testSerializeDeserialize(testSequence);
+        testSerializeDeserialize(testSequence, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticleextension/TestInnerParticleExtension.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticleextension/TestInnerParticleExtension.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticleextension/TestInnerParticleExtension.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticleextension/TestInnerParticleExtension.java Tue Jun 30 00:30:16 2009
@@ -51,6 +51,6 @@
 
         testElement.setChildElement(childElement_type0);
 
-        testSerializeDeserialize(testElement);
+        testSerializeDeserialize(testElement, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticles/InnerParticlesTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticles/InnerParticlesTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticles/InnerParticlesTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/innerparticles/InnerParticlesTest.java Tue Jun 30 00:30:16 2009
@@ -33,7 +33,7 @@
         testInnerParticle1.setTestInnerParticle1Sequence_type0(testInnerParticle1Sequence_type0);
         testInnerParticle1.setParam4("Param4");
 
-        testSerializeDeserialize(testInnerParticle1);
+        testSerializeDeserialize(testInnerParticle1, false);
     }
 
     public void testInnerParticle2() throws Exception {
@@ -53,7 +53,7 @@
         expectedResult.setTestInnerParticle2Choice_type0(expectedInnerParticle2Choice_type1);
         expectedResult.setParam4("Param4");
         
-        testSerializeDeserialize(testInnerParticle2, expectedResult);
+        testSerializeDeserialize(testInnerParticle2, expectedResult, false);
     }
 
     public void testInnerParticle31() throws Exception {
@@ -61,7 +61,7 @@
         TestInnerParticle3 testInnerParticle3 = new TestInnerParticle3();
         testInnerParticle3.setParam1("Param1");
 
-        testSerializeDeserialize(testInnerParticle3);
+        testSerializeDeserialize(testInnerParticle3, false);
     }
 
     public void testInnerParticle32() throws Exception {
@@ -77,7 +77,7 @@
         expectedInnerParticle3Choice_type1.setParam3("Param3");
         expectedResult.setTestInnerParticle3Choice_type0(expectedInnerParticle3Choice_type1);
 
-        testSerializeDeserialize(testInnerParticle3, expectedResult);
+        testSerializeDeserialize(testInnerParticle3, expectedResult, false);
     }
 
     public void testInnerParticle33() throws Exception {
@@ -96,7 +96,7 @@
         expectedResult.setTestInnerParticle3Choice_type0(expectedInnerParticle3Choice_type1);
         expectedResult.setParam4("Param4");
         
-        testSerializeDeserialize(testInnerParticle3, expectedResult);
+        testSerializeDeserialize(testInnerParticle3, expectedResult, false);
     }
 
     public void testInnerParticle41() throws Exception {
@@ -104,7 +104,7 @@
         TestInnerParticle4 testInnerParticle4 = new TestInnerParticle4();
         testInnerParticle4.setParam1("Param1");
 
-        testSerializeDeserialize(testInnerParticle4);
+        testSerializeDeserialize(testInnerParticle4, false);
     }
 
     public void testInnerParticle42() throws Exception {
@@ -115,7 +115,7 @@
         TestInnerParticle4Sequence_type0.setParam3("Param3");
         testInnerParticle4.setTestInnerParticle4Sequence_type0(TestInnerParticle4Sequence_type0);
 
-        testSerializeDeserialize(testInnerParticle4);
+        testSerializeDeserialize(testInnerParticle4, false);
     }
 
     public void testInnerParticle43() throws Exception {
@@ -123,7 +123,7 @@
         TestInnerParticle4 testInnerParticle4 = new TestInnerParticle4();
         testInnerParticle4.setParam4("Param4");
 
-        testSerializeDeserialize(testInnerParticle4);
+        testSerializeDeserialize(testInnerParticle4, false);
     }
 
     public void testInnerParticle5() throws Exception {
@@ -142,7 +142,7 @@
         testInnerParticle5.setTestInnerParticle5Sequence_type1(testInnerParticle2Choice_type1);
         testInnerParticle5.setParam6("Param6");
 
-        testSerializeDeserialize(testInnerParticle5);
+        testSerializeDeserialize(testInnerParticle5, false);
     }
 
     public void testIntterParticalExtension() throws Exception {
@@ -172,7 +172,7 @@
 
         expectedTestInnterParticleExtensionParentComplexTypeChoice_type0.setParam2("param2");
         
-        testSerializeDeserialize(testInnterParticleExtension, expectedTestInnterParticleExtension);
+        testSerializeDeserialize(testInnterParticleExtension, expectedTestInnterParticleExtension, false);
     }
 
     public void testTestComplexTypeElement() throws Exception {
@@ -196,6 +196,6 @@
 
         expectedTestComplexType.setTestElement(testElement_type0);
         
-        testSerializeDeserialize(testComplexTypeElement, expectedTestComplexTypeElement);
+        testSerializeDeserialize(testComplexTypeElement, expectedTestComplexTypeElement, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/list/ListTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/list/ListTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/list/ListTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/list/ListTest.java Tue Jun 30 00:30:16 2009
@@ -33,7 +33,7 @@
         testListStringElement.setTestListStringElement(testListString);
         testListString.setString(new String[]{"string1","string2"});
 
-        testSerializeDeserialize(testListStringElement);
+        testSerializeDeserialize(testListStringElement, false);
     }
 
     public void testListQName() throws Exception {
@@ -45,7 +45,7 @@
                         new QName("http://www.google","test3")});
         testListQNameElement.setTestListQNameElement(testListQName);
 
-        testSerializeDeserialize(testListQNameElement);
+        testSerializeDeserialize(testListQNameElement, false);
     }
 
     public void testListOurs() throws Exception {
@@ -61,7 +61,7 @@
         testString3.setTestString("test");
         testListOurs.setTestString(new TestString[]{testString1,testString2,testString3});
 
-        testSerializeDeserialize(testListOursElement);
+        testSerializeDeserialize(testListOursElement, false);
     }
 
     public void testListSuper() throws Exception {
@@ -71,7 +71,7 @@
         superTestListStringElement.setSuperTestListStringElement(superTestListString);
         superTestListString.setString(new String[]{"test1","test2","test3"});
 
-        testSerializeDeserialize(superTestListStringElement);
+        testSerializeDeserialize(superTestListStringElement, false);
     }
 
     public void testInnerSimpleTypes() throws Exception {
@@ -84,6 +84,6 @@
 
         innerListSimpleType.setInnerListSimpleType_type0(list);
 
-        testSerializeDeserialize(testInnerListSimpleType);
+        testSerializeDeserialize(testInnerListSimpleType, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/nonamespace/NoNamespaceTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/nonamespace/NoNamespaceTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/nonamespace/NoNamespaceTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/nonamespace/NoNamespaceTest.java Tue Jun 30 00:30:16 2009
@@ -26,6 +26,6 @@
         TestElement el = new TestElement();
         el.setParam1("test1");
         el.setParam2("test2");
-        testSerializeDeserialize(el);
+        testSerializeDeserialize(el, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/particlemaxoccurs/ParticalMaxOccursTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/particlemaxoccurs/ParticalMaxOccursTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/particlemaxoccurs/ParticalMaxOccursTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/particlemaxoccurs/ParticalMaxOccursTest.java Tue Jun 30 00:30:16 2009
@@ -42,7 +42,7 @@
 
         testParticalMaxOccursType1.setTestParticalSequenceMaxOccursType1Sequence(testSequences);
 
-        testSerializeDeserialize(testParticalMaxOccures1);
+        testSerializeDeserialize(testParticalMaxOccures1, false);
     }
 
     public void testParticleSequenceMaxOccurs2() throws Exception {
@@ -62,7 +62,7 @@
 
         testParticalMaxOccursType2.setTestParticalSequenceMaxOccursType2Sequence(testSequences);
 
-        testSerializeDeserialize(testParticalMaxOccures2);
+        testSerializeDeserialize(testParticalMaxOccures2, false);
     }
 
     public void testParticleSequenceMaxOccurs3() throws Exception {
@@ -98,7 +98,7 @@
         expectedTestParticalMaxOccursType3.setTestParticalSequenceMaxOccursType3Sequence(expectedTestSequences);
         
         
-        testSerializeDeserialize(testParticalMaxOccures3, expectedTestParticalMaxOccures3);
+        testSerializeDeserialize(testParticalMaxOccures3, expectedTestParticalMaxOccures3, false);
     }
 
     public void testParticleSequenceMaxOccurs4() throws Exception {
@@ -120,7 +120,7 @@
         testParticalSequenceMaxOccursType4Sequence[2] = new TestParticalSequenceMaxOccursType4Sequence();
         testParticalSequenceMaxOccursType4Sequence[2].setParm3(getNewCustomType());
 
-        testSerializeDeserialize(testParticalSequenceMaxOccurs4);
+        testSerializeDeserialize(testParticalSequenceMaxOccurs4, false);
     }
 
     public void testParticleSequenceMaxOccurs5() throws Exception {
@@ -147,7 +147,7 @@
         testParticalSequenceMaxOccursType5Sequence[2].setParm1(new TestCustomType[]{getNewCustomType()});
         testParticalSequenceMaxOccursType5Sequence[2].setParm3(new TestCustomType[]{getNewCustomType()});
 
-        testSerializeDeserialize(testParticalSequenceMaxOccurs5);
+        testSerializeDeserialize(testParticalSequenceMaxOccurs5, false);
     }
 
     public void testParticalSequenceMaxOccursTest6() throws Exception {
@@ -169,7 +169,7 @@
         testParticalMaxOccursType6.setAttribute1("Attribute1");
         testParticalMaxOccursType6.setAttribute2("Attribute2");
 
-        testSerializeDeserialize(testParticalMaxOccures6);
+        testSerializeDeserialize(testParticalMaxOccures6, false);
     }
 
     public void testParticalMaxOccursTest() throws Exception {
@@ -179,7 +179,7 @@
 
         testParticalChoiceMaxOccursType.setParm1("Param1");
 
-        testSerializeDeserialize(testParticalChoiceMaxOccurs);
+        testSerializeDeserialize(testParticalChoiceMaxOccurs, false);
     }
 
     public void testParticalChoiceMaxOccursTest1() throws Exception {
@@ -197,7 +197,7 @@
 
         testParticalMaxOccursType1.setTestParticalChoiceMaxOccursType1Choice(testChoices);
 
-        testSerializeDeserialize(testParticalMaxOccures1);
+        testSerializeDeserialize(testParticalMaxOccures1, false);
     }
 
     public void testParticleChoiceMaxOccurs2() throws Exception {
@@ -215,7 +215,7 @@
 
         testParticalMaxOccursType2.setTestParticalChoiceMaxOccursType2Choice(testChoices);
 
-        testSerializeDeserialize(testParticalMaxOccures2);
+        testSerializeDeserialize(testParticalMaxOccures2, false);
     }
 
     public void testParticleChoiceMaxOccurs3() throws Exception {
@@ -233,7 +233,7 @@
 
         testParticalMaxOccursType3.setTestParticalChoiceMaxOccursType3Choice(testChoices);
 
-        testSerializeDeserialize(testParticalMaxOccures3);
+        testSerializeDeserialize(testParticalMaxOccures3, false);
     }
 
     public void testParticleChoiceMaxOccurs4() throws Exception {
@@ -255,7 +255,7 @@
         testParticalChoiceMaxOccursType4Choice[2] = new TestParticalChoiceMaxOccursType4Choice();
         testParticalChoiceMaxOccursType4Choice[2].setParm3(getNewCustomType());
 
-        testSerializeDeserialize(testParticalChoiceMaxOccurs4);
+        testSerializeDeserialize(testParticalChoiceMaxOccurs4, false);
     }
 
     public void testParticleChoiceMaxOccurs5() throws Exception {
@@ -278,7 +278,7 @@
         testParticalChoiceMaxOccursType5Choice[2] = new TestParticalChoiceMaxOccursType5Choice();
         testParticalChoiceMaxOccursType5Choice[2].setParm3(new TestCustomType[]{getNewCustomType()});
 
-        testSerializeDeserialize(testParticalChoiceMaxOccurs5);
+        testSerializeDeserialize(testParticalChoiceMaxOccurs5, false);
     }
 
     public void testParticalChoiceMaxOccursTest6() throws Exception {
@@ -298,7 +298,7 @@
         testParticalMaxOccursType6.setAttribute1("Attribute1");
         testParticalMaxOccursType6.setAttribute2("Attribute2");
 
-        testSerializeDeserialize(testParticalMaxOccures6);
+        testSerializeDeserialize(testParticalMaxOccures6, false);
     }
 
     private TestCustomType getNewCustomType() {

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/references/ElementReferenceTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/references/ElementReferenceTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/references/ElementReferenceTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/references/ElementReferenceTest.java Tue Jun 30 00:30:16 2009
@@ -33,7 +33,7 @@
         atbRequestCheckEligibility.setExpirationDate("date");
         atbRequestCheckEligibility.setNameAsOnCard("cardname");
         atbRequestCheckEligibility.setYearOfRedemption(2);
-        testSerializeDeserialize(echCheckEligibility1);
+        testSerializeDeserialize(echCheckEligibility1, false);
     }
 
     public void testMultipleElementReference() throws Exception {
@@ -55,7 +55,7 @@
         atbRequestCheckEligibility[1].setNameAsOnCard("cardname");
         atbRequestCheckEligibility[1].setYearOfRedemption(2);
 
-        testSerializeDeserialize(echCheckEligibility2);
+        testSerializeDeserialize(echCheckEligibility2, false);
     }
 
     public void testElement11() throws Exception {
@@ -88,7 +88,7 @@
         element2_type1.setParam1("test string2");
         element2_type0.setElement2(element2_type1);
 
-        testSerializeDeserialize(element2);
+        testSerializeDeserialize(element2, false);
     }
 
     public void testSimpleReference() throws Exception {
@@ -101,6 +101,6 @@
         discard_transferToken.setParam1("New parm");
         testSimpleReference.setTestSimpleReference(discard_transferToken);
 
-        testSerializeDeserialize(testSimpleReference);
+        testSerializeDeserialize(testSimpleReference, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/ComplexRestrictionTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/ComplexRestrictionTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/ComplexRestrictionTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/ComplexRestrictionTest.java Tue Jun 30 00:30:16 2009
@@ -35,7 +35,7 @@
 
         getExemplarResponseTypeElement.setGetExemplarResponseTypeElement(getExemplarResponseType);
 
-        testSerializeDeserialize(getExemplarResponseTypeElement);
+        testSerializeDeserialize(getExemplarResponseTypeElement, false);
     }
 
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/SimpleRestrictionTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/SimpleRestrictionTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/SimpleRestrictionTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/restriction/SimpleRestrictionTest.java Tue Jun 30 00:30:16 2009
@@ -46,7 +46,7 @@
         testSimpleAttribute.setAttrib1(parentSimpleType1);
         testSimpleAttribute.setAttrib2(parentSimpleType2);
 
-        testSerializeDeserialize(testSimpleAttributeElement);
+        testSerializeDeserialize(testSimpleAttributeElement, false);
     }
 
     public void testNormalSimpleTypeElement() throws Exception {
@@ -55,7 +55,7 @@
         ParentNormalSimpleType parentNormalSimpleType = new ParentNormalSimpleType();
         normalSimpleTypeElement.setNormalSimpleTypeElement(parentNormalSimpleType);
         parentNormalSimpleType.setNormalSimpleType(new QName("http://wso2.com", "test"));
-        testSerializeDeserialize(normalSimpleTypeElement);
+        testSerializeDeserialize(normalSimpleTypeElement, false);
 
     }
 
@@ -63,7 +63,7 @@
 
         EnumerationSimpleTypeElement enumerationSimpleTypeElement = new EnumerationSimpleTypeElement();
         enumerationSimpleTypeElement.setEnumerationSimpleTypeElement(ParentEnumerationSimpleType.value1);
-        testSerializeDeserialize(enumerationSimpleTypeElement);
+        testSerializeDeserialize(enumerationSimpleTypeElement, false);
 
     }
 
@@ -74,7 +74,7 @@
         complexRestrictionTypeTestElement.setComplexRestrictionTypeTestElement(parentRestrictionType);
         parentRestrictionType.setBaseTypeElement1("test 1");
         parentRestrictionType.setBaseTypeElement2(5);
-        testSerializeDeserialize(complexRestrictionTypeTestElement);
+        testSerializeDeserialize(complexRestrictionTypeTestElement, false);
 
     }
 
@@ -104,6 +104,6 @@
         address.setZip(ziptype);
         ziptype.setZip_type0("C");
 
-        testSerializeDeserialize(personElement);
+        testSerializeDeserialize(personElement, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union/UnionTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union/UnionTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union/UnionTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union/UnionTest.java Tue Jun 30 00:30:16 2009
@@ -37,7 +37,7 @@
         record2.setElem1(dateOrDateTimeType);
         dateOrDateTimeType.setObject(testObject);
 
-        testSerializeDeserialize(record2);
+        testSerializeDeserialize(record2, false);
     }
 
     public void testRecord1() throws Exception {
@@ -51,7 +51,7 @@
         record1.setElem1(fooOpenEnum);
         fooOpenEnum.setObject(testObject);
 
-        testSerializeDeserialize(record1);
+        testSerializeDeserialize(record1, false);
     }
 
     public void testUnionQName() throws Exception {
@@ -60,7 +60,7 @@
         unionQNameTestElement.setUnionQNameTestElement(unionQNameTest);
         unionQNameTest.setObject(new QName("http://www.google.com","test"));
 
-        testSerializeDeserialize(unionQNameTestElement);
+        testSerializeDeserialize(unionQNameTestElement, false);
     }
 
     public void testInnerSimpleTypes() throws Exception {
@@ -71,7 +71,7 @@
         packingType_t_type0.setPackingType_T_type0("MINOR_a");
         packingType_t.setObject(packingType_t_type0);
         
-        testSerializeDeserialize(testInnerUnionType);
+        testSerializeDeserialize(testInnerUnionType, false);
 
         testInnerUnionType = new TestInnerUnionType();
         packingType_t = new PackingType_T();
@@ -80,13 +80,13 @@
         packingType_t_type1.setPackingType_T_type1("PROP_a");
         packingType_t.setObject(packingType_t_type1);
 
-        testSerializeDeserialize(testInnerUnionType);
+        testSerializeDeserialize(testInnerUnionType, false);
 
         testInnerUnionType = new TestInnerUnionType();
         packingType_t = new PackingType_T();
         testInnerUnionType.setTestInnerUnionType(packingType_t);
         packingType_t.setObject(PackingType_T_type2.TAR);
 
-        testSerializeDeserialize(testInnerUnionType);
+        testSerializeDeserialize(testInnerUnionType, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union2/Union2Test.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union2/Union2Test.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union2/Union2Test.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/union2/Union2Test.java Tue Jun 30 00:30:16 2009
@@ -39,7 +39,7 @@
 
         testUnionElement2.setAttribute1(attribute1);
 
-        testSerializeDeserialize(testUnionElement2);
+        testSerializeDeserialize(testUnionElement2, false);
     }
 
     public void testListElement2() throws Exception {
@@ -53,7 +53,7 @@
         attribute1.setString(new String[]{"attribute1","attribute2"});
         testListElement1.setAttribute1(attribute1);
 
-        testSerializeDeserialize(testListElement1);
+        testSerializeDeserialize(testListElement1, false);
     }
 
     public void testFuzzDateType() throws Exception {
@@ -73,6 +73,6 @@
         expectedFuzzyDateType.setObject(cal.getTime());
         expectedResult.setTestFuzzyDateType(expectedFuzzyDateType);
         
-        testSerializeDeserialize(testFuzzyDateType, expectedResult);
+        testSerializeDeserialize(testFuzzyDateType, expectedResult, false);
     }
 }

Modified: webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java?rev=789505&r1=789504&r2=789505&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java Tue Jun 30 00:30:16 2009
@@ -30,7 +30,7 @@
         TestElement testElement = new TestElement();
         testElement.setElement1("element1");
         testElement.setElement2("element2");
-        testSerializeDeserialize(testElement);
+        testSerializeDeserialize(testElement, false);
     }
     
     /**
@@ -59,6 +59,6 @@
         GetCompanyDetailsResponse response = new GetCompanyDetailsResponse();
         response.setOut(company);
         
-        testSerializeDeserialize(response);
+        testSerializeDeserialize(response, false);
     }
 }



Mime
View raw message