svn commit: r190289 - in /jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt: derived/TestWriteClass.java io/read/TestBindTimeTypeMapping.java io/read/TestMaps.java recursion/TestSharedIDGeneration.java schema

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r190289 - in /jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt: derived/TestWriteClass.java io/read/TestBindTimeTypeMapping.java io/read/TestMaps.java recursion/TestSharedIDGeneration.java schema

rdonkin
Author: rdonkin
Date: Sun Jun 12 08:57:31 2005
New Revision: 190289

URL: http://svn.apache.org/viewcvs?rev=190289&view=rev
Log:
Changed tests to be order independent. (For java 1.3.)

Modified:
    jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/derived/TestWriteClass.java
    jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java
    jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestMaps.java
    jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/recursion/TestSharedIDGeneration.java
    jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/schema/TestSchemaGeneration.java
    jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/strategy/TestConversionFlavour.java

Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/derived/TestWriteClass.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/derived/TestWriteClass.java?rev=190289&r1=190288&r2=190289&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/derived/TestWriteClass.java (original)
+++ jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/derived/TestWriteClass.java Sun Jun 12 08:57:31 2005
@@ -82,7 +82,7 @@
          "<name>Sir Anthony Federick Blunt</name>" +
          "</normal-person>";
         
-        xmlAssertIsomorphicContent("Expected secrets to be supressed", parseString(expected), parseString(out.toString()));
+        xmlAssertIsomorphicContent("Expected secrets to be supressed", parseString(expected), parseString(out.toString()), true);
 
     }
 }

Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java?rev=190289&r1=190288&r2=190289&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java (original)
+++ jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java Sun Jun 12 08:57:31 2005
@@ -152,7 +152,7 @@
          " </animal>" +
          "</Animals>";
         
-        xmlAssertIsomorphicContent(parseString(expected), parseString(out));
+        xmlAssertIsomorphicContent(parseString(expected), parseString(out), true);
     }
     
     public void testBindTimeTypeRead() throws Exception {

Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestMaps.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestMaps.java?rev=190289&r1=190288&r2=190289&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestMaps.java (original)
+++ jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestMaps.java Sun Jun 12 08:57:31 2005
@@ -62,7 +62,7 @@
             "<value>The Unready</value>" +
             "</entry>" +
             "</BeanWithConcreteMap>";
-        xmlAssertIsomorphicContent(parseString(expected), parseString(xml));
+        xmlAssertIsomorphicContent(parseString(expected), parseString(xml), true);
     }
 
     
@@ -140,7 +140,7 @@
                 + "    </addressBookItems>\n"
                 + "  </AddressBook>\n";
     
-        assertEquals(xml, outputWriter.toString());
+        xmlAssertIsomorphicContent(parseString(xml), parseString(outputWriter.toString()), true);
         BeanReader reader = new BeanReader();
         reader.registerBeanClass(AddressBook.class);
         StringReader xmlReader = new StringReader(outputWriter.toString());

Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/recursion/TestSharedIDGeneration.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/recursion/TestSharedIDGeneration.java?rev=190289&r1=190288&r2=190289&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/recursion/TestSharedIDGeneration.java (original)
+++ jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/recursion/TestSharedIDGeneration.java Sun Jun 12 08:57:31 2005
@@ -44,7 +44,7 @@
          "<person id='4'><name idref='3'/></person>" +
          "</HybridBean>";
         
-        xmlAssertIsomorphic(parseString(expected), parseString(out));
+        xmlAssertIsomorphic(parseString(expected), parseString(out), true);
     }
     
 }

Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/schema/TestSchemaGeneration.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/schema/TestSchemaGeneration.java?rev=190289&r1=190288&r2=190289&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/schema/TestSchemaGeneration.java (original)
+++ jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/schema/TestSchemaGeneration.java Sun Jun 12 08:57:31 2005
@@ -206,7 +206,7 @@
          "" +
          "</xsd:schema>";
     
-         xmlAssertIsomorphicContent(parseString(xsd), parseString(expected));
+         xmlAssertIsomorphicContent(parseString(xsd), parseString(expected), true);
     }
     
 }

Modified: jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/strategy/TestConversionFlavour.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/strategy/TestConversionFlavour.java?rev=190289&r1=190288&r2=190289&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/strategy/TestConversionFlavour.java (original)
+++ jakarta/commons/proper/betwixt/branches/RELEASE_0_6_1_BRANCH/src/test/org/apache/commons/betwixt/strategy/TestConversionFlavour.java Sun Jun 12 08:57:31 2005
@@ -105,7 +105,7 @@
                 "        </mapped>" +
                 "        </alpha>";
         
-        xmlAssertIsomorphicContent(parseString(xml), parseString(out));
+        xmlAssertIsomorphicContent(parseString(xml), parseString(out), true);
     }
     
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]