camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject camel git commit: Fixed the unit test error of camel-optaplanner
Date Tue, 18 Nov 2014 01:14:31 GMT
Repository: camel
Updated Branches:
  refs/heads/master 381880ddc -> 2bfd115c7


Fixed the unit test error of camel-optaplanner


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

Branch: refs/heads/master
Commit: 2bfd115c7321294bf89d0b28f36779247e9bc727
Parents: 381880d
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Nov 18 09:13:39 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Nov 18 09:13:56 2014 +0800

----------------------------------------------------------------------
 .../OptaPlannerComponentConfigurationAndDocumentationTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2bfd115c/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
b/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
index 9429533..0b38375 100644
--- a/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
@@ -41,8 +41,8 @@ public class OptaPlannerComponentConfigurationAndDocumentationTest extends
Camel
         ComponentConfiguration componentConfiguration = component.createComponentConfiguration();
         String json = componentConfiguration.createParameterJsonSchema();
         assertNotNull(json);
-
-        assertTrue(json.contains("\"resourceUri\": { \"kind\": \"parameter\", \"type\": \"string\""));
+        
+        assertTrue(json.contains("\"resourceUri\": { \"kind\": \"path\", \"type\": \"string\""));
         assertTrue(json.contains("\"synchronous\": { \"kind\": \"parameter\", \"type\": \"boolean\""));
     }
 


Mime
View raw message