camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject camel git commit: [CAMEL-10214] Fix test
Date Thu, 04 Aug 2016 17:09:36 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x 0dbf59bf2 -> 4eb2784af


[CAMEL-10214] Fix test


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

Branch: refs/heads/camel-2.17.x
Commit: 4eb2784af023c140d0231594f2a6f4d7fb5634f9
Parents: 0dbf59b
Author: Daniel Kulp <dkulp@apache.org>
Authored: Thu Aug 4 13:09:13 2016 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Aug 4 13:09:13 2016 -0400

----------------------------------------------------------------------
 .../file/FileComponentConfigurationAndDocumentationTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4eb2784a/camel-core/src/test/java/org/apache/camel/component/file/FileComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/file/FileComponentConfigurationAndDocumentationTest.java
b/camel-core/src/test/java/org/apache/camel/component/file/FileComponentConfigurationAndDocumentationTest.java
index 35f0072..b8626c1 100644
--- a/camel-core/src/test/java/org/apache/camel/component/file/FileComponentConfigurationAndDocumentationTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/file/FileComponentConfigurationAndDocumentationTest.java
@@ -41,10 +41,10 @@ public class FileComponentConfigurationAndDocumentationTest extends ContextTestS
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"directoryName\": { \"kind\": \"path\", \"group\": \"common\",
\"required\": \"true\""));
-        assertTrue(json.contains("\"doneFileName\": { \"kind\": \"parameter\", \"group\":
\"producer\", \"label\": \"producer\", \"type\": \"string\""));
-        assertTrue(json.contains("\"autoCreate\": { \"kind\": \"parameter\", \"group\": \"advanced\",
\"label\": \"advanced\", \"type\": \"boolean\""));
-        assertTrue(json.contains("\"readLockMinAge\": { \"kind\": \"parameter\", \"group\":
\"lock\", \"label\": \"consumer,lock\""));
+        assertTrue(json, json.contains("\"directoryName\": { \"kind\": \"path\", \"group\":
\"common\", \"required\": \"true\""));
+        assertTrue(json, json.contains("\"doneFileName\": { \"kind\": \"parameter\", \"group\":
\"common\", \"type\": \"string\""));
+        assertTrue(json, json.contains("\"autoCreate\": { \"kind\": \"parameter\", \"group\":
\"advanced\", \"label\": \"advanced\", \"type\": \"boolean\""));
+        assertTrue(json, json.contains("\"readLockMinAge\": { \"kind\": \"parameter\", \"group\":
\"lock\", \"label\": \"consumer,lock\""));
     }
 
     @Test


Mime
View raw message