camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [6/6] camel git commit: Fixed CS. Fixes #704. Fixes #707.
Date Sat, 05 Dec 2015 09:02:51 GMT
Fixed CS. Fixes #704. Fixes #707.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b4b8c656
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b4b8c656
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b4b8c656

Branch: refs/heads/camel-2.16.x
Commit: b4b8c656af1adee0877cb2b3dd41150fc9d65eae
Parents: 913c8ec
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat Dec 5 10:01:36 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Dec 5 10:02:13 2015 +0100

----------------------------------------------------------------------
 .../camel/dataformat/csv/CsvMarshalTest.java       | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b4b8c656/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalTest.java
----------------------------------------------------------------------
diff --git a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalTest.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalTest.java
index 3827d67..35929e9 100644
--- a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalTest.java
+++ b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalTest.java
@@ -99,16 +99,15 @@ public class CsvMarshalTest extends CamelTestSupport {
 
     @Test
     public void shouldMarshalDifferentDynamicColumns() throws Exception {
-    	output.expectedMessageCount(2);
-    	
-    	template.sendBody("direct:default", TestUtils.asMap("A", "1", "B", "2"));    	
-    	template.sendBody("direct:default", TestUtils.asMap("X", "1", "Y", "2", "Z", "3"));
-    	
-    	output.assertIsSatisfied();
-    	assertArrayEquals(new String[]{"1,2"}, readOutputLines(0));
-    	assertArrayEquals(new String[]{"1,2,3"}, readOutputLines(1));
+        output.expectedMessageCount(2);
+
+        template.sendBody("direct:default", TestUtils.asMap("A", "1", "B", "2"));
+        template.sendBody("direct:default", TestUtils.asMap("X", "1", "Y", "2", "Z", "3"));
+
+        output.assertIsSatisfied();
+        assertArrayEquals(new String[]{"1,2"}, readOutputLines(0));
+        assertArrayEquals(new String[]{"1,2,3"}, readOutputLines(1));
     }
-    
 
     @Override
     protected RouteBuilder createRouteBuilder() throws Exception {


Mime
View raw message