tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r719005 - /tuscany/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java
Date Wed, 19 Nov 2008 16:20:42 GMT
Author: antelder
Date: Wed Nov 19 08:20:42 2008
New Revision: 719005

URL: http://svn.apache.org/viewvc?rev=719005&view=rev
Log:
Add main method to make it easier to test

Modified:
    tuscany/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java

Modified: tuscany/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java?rev=719005&r1=719004&r2=719005&view=diff
==============================================================================
--- tuscany/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java
(original)
+++ tuscany/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java
Wed Nov 19 08:20:42 2008
@@ -40,6 +40,11 @@
     private static NodeLauncher launcher;
     private static Node node;   
     
+    public static void main(String[] args) throws Exception {
+    	setUpBeforeClass();
+    	tearDownAfterClass();
+    }
+    
     @BeforeClass
     public static void setUpBeforeClass() throws Exception {
         launcher = NodeLauncher.newInstance();



Mime
View raw message