camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r962415 - in /camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios: NagiosConfiguraitonRefTest.java NagiosEventNotifierTest.java NagiosTest.java
Date Fri, 09 Jul 2010 05:40:43 GMT
Author: davsclaus
Date: Fri Jul  9 05:40:26 2010
New Revision: 962415

URL: http://svn.apache.org/viewvc?rev=962415&view=rev
Log:
Fixed test

Modified:
    camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosConfiguraitonRefTest.java
    camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosEventNotifierTest.java
    camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosTest.java

Modified: camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosConfiguraitonRefTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosConfiguraitonRefTest.java?rev=962415&r1=962414&r2=962415&view=diff
==============================================================================
--- camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosConfiguraitonRefTest.java
(original)
+++ camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosConfiguraitonRefTest.java
Fri Jul  9 05:40:26 2010
@@ -37,6 +37,8 @@ public class NagiosConfiguraitonRefTest 
     @Before
     @Override
     public void setUp() throws Exception {
+        canRun = true;
+
         nagios = new NagiosNscaStub(25668, "secret");
         try {
             nagios.start();
@@ -46,7 +48,6 @@ public class NagiosConfiguraitonRefTest 
         }
 
         super.setUp();
-        canRun = true;
     }
 
     @After

Modified: camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosEventNotifierTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosEventNotifierTest.java?rev=962415&r1=962414&r2=962415&view=diff
==============================================================================
--- camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosEventNotifierTest.java
(original)
+++ camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosEventNotifierTest.java
Fri Jul  9 05:40:26 2010
@@ -42,6 +42,8 @@ public class NagiosEventNotifierTest ext
     @Before
     @Override
     public void setUp() throws Exception {
+        canRun = true;
+
         nagios = new NagiosNscaStub(25669, "password");
         try {
             nagios.start();
@@ -51,7 +53,6 @@ public class NagiosEventNotifierTest ext
         }
 
         super.setUp();
-        canRun = true;
     }
 
     @After

Modified: camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosTest.java?rev=962415&r1=962414&r2=962415&view=diff
==============================================================================
--- camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosTest.java
(original)
+++ camel/trunk/components/camel-nagios/src/test/java/org/apache/camel/component/nagios/NagiosTest.java
Fri Jul  9 05:40:26 2010
@@ -39,6 +39,8 @@ public class NagiosTest extends CamelTes
     @Before
     @Override
     public void setUp() throws Exception {
+        canRun = true;
+
         nagios = new NagiosNscaStub(25667, "secret");
         try {
             nagios.start();
@@ -48,7 +50,6 @@ public class NagiosTest extends CamelTes
         }
 
         super.setUp();
-        canRun = true;
     }
 
     @After



Mime
View raw message