diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-19 16:20:42 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-19 16:20:42 +0000 |
commit | b4f5015ea43e8a042ba56cad56f5636f94f87081 (patch) | |
tree | dfd565b6bd64db03dc3296a4d4bf7f89acb45b54 /java/sca | |
parent | b936bcb9494b13e11ee72d5ea0e01f0daf90aafc (diff) |
Add main method to make it easier to test
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@719005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r-- | java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java b/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java index 00e5422930..1994722b01 100644 --- a/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java +++ b/java/sca/samples/calculator-equinox/src/test/java/calculator/CalculatorTestCase.java @@ -40,6 +40,11 @@ public class CalculatorTestCase { 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(); |