You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/10/08 21:25:21 UTC

git commit: Polished the comment of the tests being recently added into the codebase.

Updated Branches:
  refs/heads/master c2f84f02d -> 986a9e0b4


Polished the comment of the tests being recently added into the codebase.

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

Branch: refs/heads/master
Commit: 986a9e0b4a53d9f2da6cb5e5e7d9d75416fd02ac
Parents: c2f84f0
Author: Babak Vahdat <bv...@apache.org>
Authored: Tue Oct 8 21:24:45 2013 +0200
Committer: Babak Vahdat <bv...@apache.org>
Committed: Tue Oct 8 21:24:45 2013 +0200

----------------------------------------------------------------------
 .../SpringQuartzConsumerTwoAppsClusteredFailoverTest.java      | 6 ++----
 .../quartz/SpringQuartzTwoAppsClusteredFailoverTest.java       | 6 ++----
 .../SpringQuartzConsumerTwoAppsClusteredFailoverTest.java      | 6 ++----
 .../quartz2/SpringQuartzTwoAppsClusteredFailoverTest.java      | 6 ++----
 .../CamelSpringPropertyPlaceholderConfigurer3Test.java         | 2 +-
 5 files changed, 9 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/986a9e0b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
index 13773c7..0fa3924 100644
--- a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
+++ b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
@@ -38,13 +38,11 @@ public class SpringQuartzConsumerTwoAppsClusteredFailoverTest extends TestSuppor
         AbstractXmlApplicationContext db = new ClassPathXmlApplicationContext("org/apache/camel/component/quartz/SpringQuartzConsumerClusteredAppDatabase.xml");
         db.start();
 
-        // now launch the first clustered app which will acquire the quartz
-        // database lock and become the master
+        // now launch the first clustered app which will acquire the quartz database lock and become the master
         AbstractXmlApplicationContext app = new ClassPathXmlApplicationContext("org/apache/camel/component/quartz/SpringQuartzConsumerClusteredAppOne.xml");
         app.start();
 
-        // as well as the second one which will run in slave modus as it will
-        // not be able to acquire the same lock
+        // as well as the second one which will run in slave mode as it will not be able to acquire the same lock
         AbstractXmlApplicationContext app2 = new ClassPathXmlApplicationContext("org/apache/camel/component/quartz/SpringQuartzConsumerClusteredAppTwo.xml");
         app2.start();
 

http://git-wip-us.apache.org/repos/asf/camel/blob/986a9e0b/components/camel-quartz/src/test/java/org/apache/camel/routepolicy/quartz/SpringQuartzTwoAppsClusteredFailoverTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/test/java/org/apache/camel/routepolicy/quartz/SpringQuartzTwoAppsClusteredFailoverTest.java b/components/camel-quartz/src/test/java/org/apache/camel/routepolicy/quartz/SpringQuartzTwoAppsClusteredFailoverTest.java
index c6cffad..967521e 100644
--- a/components/camel-quartz/src/test/java/org/apache/camel/routepolicy/quartz/SpringQuartzTwoAppsClusteredFailoverTest.java
+++ b/components/camel-quartz/src/test/java/org/apache/camel/routepolicy/quartz/SpringQuartzTwoAppsClusteredFailoverTest.java
@@ -37,13 +37,11 @@ public class SpringQuartzTwoAppsClusteredFailoverTest extends TestSupport {
         AbstractXmlApplicationContext db = new ClassPathXmlApplicationContext("org/apache/camel/routepolicy/quartz/SpringQuartzClusteredAppDatabase.xml");
         db.start();
 
-        // now launch the first clustered app which will acquire the quartz
-        // database lock and become the master
+        // now launch the first clustered app which will acquire the quartz database lock and become the master
         AbstractXmlApplicationContext app = new ClassPathXmlApplicationContext("org/apache/camel/routepolicy/quartz/SpringQuartzClusteredAppOne.xml");
         app.start();
 
-        // as well as the second one which will run in slave modus as it will
-        // not be able to acquire the same lock
+        // as well as the second one which will run in slave mode as it will not be able to acquire the same lock
         AbstractXmlApplicationContext app2 = new ClassPathXmlApplicationContext("org/apache/camel/routepolicy/quartz/SpringQuartzClusteredAppTwo.xml");
         app2.start();
 

http://git-wip-us.apache.org/repos/asf/camel/blob/986a9e0b/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java b/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
index eeacaff..fcec7ab 100644
--- a/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
+++ b/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/SpringQuartzConsumerTwoAppsClusteredFailoverTest.java
@@ -38,13 +38,11 @@ public class SpringQuartzConsumerTwoAppsClusteredFailoverTest extends TestSuppor
         AbstractXmlApplicationContext db = new ClassPathXmlApplicationContext("org/apache/camel/component/quartz2/SpringQuartzConsumerClusteredAppDatabase.xml");
         db.start();
 
-        // now launch the first clustered app which will acquire the quartz
-        // database lock and become the master
+        // now launch the first clustered app which will acquire the quartz database lock and become the master
         AbstractXmlApplicationContext app = new ClassPathXmlApplicationContext("org/apache/camel/component/quartz2/SpringQuartzConsumerClusteredAppOne.xml");
         app.start();
 
-        // as well as the second one which will run in slave modus as it will
-        // not be able to acquire the same lock
+        // as well as the second one which will run in slave mode as it will not be able to acquire the same lock
         AbstractXmlApplicationContext app2 = new ClassPathXmlApplicationContext("org/apache/camel/component/quartz2/SpringQuartzConsumerClusteredAppTwo.xml");
         app2.start();
 

http://git-wip-us.apache.org/repos/asf/camel/blob/986a9e0b/components/camel-quartz2/src/test/java/org/apache/camel/routepolicy/quartz2/SpringQuartzTwoAppsClusteredFailoverTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/test/java/org/apache/camel/routepolicy/quartz2/SpringQuartzTwoAppsClusteredFailoverTest.java b/components/camel-quartz2/src/test/java/org/apache/camel/routepolicy/quartz2/SpringQuartzTwoAppsClusteredFailoverTest.java
index 35fd710..a687cbe 100644
--- a/components/camel-quartz2/src/test/java/org/apache/camel/routepolicy/quartz2/SpringQuartzTwoAppsClusteredFailoverTest.java
+++ b/components/camel-quartz2/src/test/java/org/apache/camel/routepolicy/quartz2/SpringQuartzTwoAppsClusteredFailoverTest.java
@@ -37,13 +37,11 @@ public class SpringQuartzTwoAppsClusteredFailoverTest extends TestSupport {
         AbstractXmlApplicationContext db = new ClassPathXmlApplicationContext("org/apache/camel/routepolicy/quartz2/SpringQuartzClusteredAppDatabase.xml");
         db.start();
 
-        // now launch the first clustered app which will acquire the quartz
-        // database lock and become the master
+        // now launch the first clustered app which will acquire the quartz database lock and become the master
         AbstractXmlApplicationContext app = new ClassPathXmlApplicationContext("org/apache/camel/routepolicy/quartz2/SpringQuartzClusteredAppOne.xml");
         app.start();
 
-        // as well as the second one which will run in slave modus as it will
-        // not be able to acquire the same lock
+        // as well as the second one which will run in slave mode as it will not be able to acquire the same lock
         AbstractXmlApplicationContext app2 = new ClassPathXmlApplicationContext("org/apache/camel/routepolicy/quartz2/SpringQuartzClusteredAppTwo.xml");
         app2.start();
 

http://git-wip-us.apache.org/repos/asf/camel/blob/986a9e0b/components/camel-spring/src/test/java/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/test/java/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.java b/components/camel-spring/src/test/java/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.java
index 9305d53..e6d160a 100644
--- a/components/camel-spring/src/test/java/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.java
+++ b/components/camel-spring/src/test/java/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.java
@@ -45,7 +45,7 @@ public class CamelSpringPropertyPlaceholderConfigurer3Test extends SpringTestSup
 
     @Override
     protected void tearDown() throws Exception {
-        // clear the property properly to avoid any side effect by the other tests
+        // clear the property to avoid any side effect by the other tests
         System.clearProperty("hi2");
 
         super.tearDown();