You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ay...@apache.org on 2016/06/18 18:58:03 UTC
camel git commit: adjust CAMEL-10070's test to use the matching quote
character
Repository: camel
Updated Branches:
refs/heads/master 26355f7ae -> 0e266627d
adjust CAMEL-10070's test to use the matching quote character
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0e266627
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0e266627
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0e266627
Branch: refs/heads/master
Commit: 0e266627d66d6b96cd9b0bf34524fe8e29329f29
Parents: 26355f7
Author: Akitoshi Yoshida <ay...@apache.org>
Authored: Sat Jun 18 20:57:40 2016 +0200
Committer: Akitoshi Yoshida <ay...@apache.org>
Committed: Sat Jun 18 20:57:57 2016 +0200
----------------------------------------------------------------------
.../java/org/apache/camel/converter/jaxp/StaxConverterTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/0e266627/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java b/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
index 632494d..9a71bc1 100644
--- a/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
+++ b/camel-core/src/test/java/org/apache/camel/converter/jaxp/StaxConverterTest.java
@@ -54,7 +54,8 @@ public class StaxConverterTest extends ContextTestSupport {
static {
StringBuilder sb = new StringBuilder(7000);
- sb.append("<?xml version=\"1.0\" encoding=\"utf-8\"?>").append("<list>");
+ // using quote character to make the plain characters comparison work with the generated xml
+ sb.append("<?xml version='1.0' encoding='utf-8'?>").append("<list>");
int n = 6963 - TEST_XML.length();
while (n > 0) {
sb.append(TEST_XML);