Updated Branches: refs/heads/camel-2.12.x 9bfeed7cd -> f4605be84
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/f4605be8 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f4605be8 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f4605be8 Branch: refs/heads/camel-2.12.x Commit: f4605be840febd05bad8d7a1fa149bfe359e538b Parents: 9bfeed7 Author: Babak Vahdat <bvah...@apache.org> Authored: Tue Oct 8 21:24:45 2013 +0200 Committer: Babak Vahdat <bvah...@apache.org> Committed: Sun Oct 13 21:07:47 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/f4605be8/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/f4605be8/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/f4605be8/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/f4605be8/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/f4605be8/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();