camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1408628 - in /camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb: JaxbDataFormatMultipleNamespacesTest.java JaxbDataFormatPartClassTest.java
Date Tue, 13 Nov 2012 07:51:36 GMT
Author: davsclaus
Date: Tue Nov 13 07:51:35 2012
New Revision: 1408628

URL: http://svn.apache.org/viewvc?rev=1408628&view=rev
Log:
Polished test

Modified:
    camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatMultipleNamespacesTest.java
    camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatPartClassTest.java

Modified: camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatMultipleNamespacesTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatMultipleNamespacesTest.java?rev=1408628&r1=1408627&r2=1408628&view=diff
==============================================================================
--- camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatMultipleNamespacesTest.java
(original)
+++ camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatMultipleNamespacesTest.java
Tue Nov 13 07:51:35 2012
@@ -65,8 +65,8 @@ public class JaxbDataFormatMultipleNames
         assertTrue(payload.contains("</order:order>"));
 
         // the namespaces
-        assertTrue(payload.contains("http://www.camel.apache.org/jaxb/example/address/1"));
-        assertTrue(payload.contains("http://www.camel.apache.org/jaxb/example/order/1"));
+        assertTrue(payload.contains("xmlns:address=\"http://www.camel.apache.org/jaxb/example/address/1\""));
+        assertTrue(payload.contains("xmlns:order=\"http://www.camel.apache.org/jaxb/example/order/1\""));
     }
 
     @Test

Modified: camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatPartClassTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatPartClassTest.java?rev=1408628&r1=1408627&r2=1408628&view=diff
==============================================================================
--- camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatPartClassTest.java
(original)
+++ camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/JaxbDataFormatPartClassTest.java
Tue Nov 13 07:51:35 2012
@@ -55,8 +55,8 @@ public class JaxbDataFormatPartClassTest
         assertTrue(payload.contains("</address:address>"));
 
         // the namespaces
-        assertTrue(payload.contains("http://www.camel.apache.org/jaxb/example/address/1"));
-        assertTrue(payload.contains("http://www.camel.apache.org/jaxb/example/order/1"));
+        assertTrue(payload.contains("xmlns:address=\"http://www.camel.apache.org/jaxb/example/address/1\""));
+        assertTrue(payload.contains("xmlns:order=\"http://www.camel.apache.org/jaxb/example/order/1\""));
     }
 
     @Override



Mime
View raw message