Author: rineholt
Date: Mon Apr 10 07:32:55 2006
New Revision: 392960

URL: http://svn.apache.org/viewcvs?rev=392960&view=rev
Log:
Address http://issues.apache.org/jira/browse/TUSCANY-163
Get rid of unnessary main in unit  testcases

Modified:
    
incubator/tuscany/java/samples/helloworld/helloworldjsonrpc/src/test/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceTestCase.java
    
incubator/tuscany/java/samples/helloworld/helloworldmc/src/test/java/org/apache/tuscany/samples/helloworldmc/HelloWorldServiceComponentTestCase.java
    
incubator/tuscany/java/samples/helloworld/helloworldweb/src/test/java/org/apache/tuscany/samples/helloworldweb/HelloWorldServiceComponentTestCase.java

Modified: 
incubator/tuscany/java/samples/helloworld/helloworldjsonrpc/src/test/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceTestCase.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/helloworld/helloworldjsonrpc/src/test/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceTestCase.java?rev=392960&r1=392959&r2=392960&view=diff
==============================================================================
--- 
incubator/tuscany/java/samples/helloworld/helloworldjsonrpc/src/test/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceTestCase.java
 (original)
+++ 
incubator/tuscany/java/samples/helloworld/helloworldjsonrpc/src/test/java/org/apache/tuscany/samples/helloworldjsonrpc/HelloWorldServiceTestCase.java
 Mon Apr 10 07:32:55 2006
@@ -54,11 +54,6 @@
 
     }
 
-    public final static void main(String[] args) throws Exception {
-        HelloWorldServiceTestCase hwc = new HelloWorldServiceTestCase();
-        hwc.testGeetings();
-
-    }
-
+ 
 
 }

Modified: 
incubator/tuscany/java/samples/helloworld/helloworldmc/src/test/java/org/apache/tuscany/samples/helloworldmc/HelloWorldServiceComponentTestCase.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/helloworld/helloworldmc/src/test/java/org/apache/tuscany/samples/helloworldmc/HelloWorldServiceComponentTestCase.java?rev=392960&r1=392959&r2=392960&view=diff
==============================================================================
--- 
incubator/tuscany/java/samples/helloworld/helloworldmc/src/test/java/org/apache/tuscany/samples/helloworldmc/HelloWorldServiceComponentTestCase.java
 (original)
+++ 
incubator/tuscany/java/samples/helloworld/helloworldmc/src/test/java/org/apache/tuscany/samples/helloworldmc/HelloWorldServiceComponentTestCase.java
 Mon Apr 10 07:32:55 2006
@@ -46,11 +46,6 @@
         tuscany.stop();
     }
 
-    public final static void main(String[] args) throws Exception {
-        HelloWorldServiceComponentTestCase hwc =
-                new HelloWorldServiceComponentTestCase();
-        hwc.testGeetings();
-    }
 
 
 }

Modified: 
incubator/tuscany/java/samples/helloworld/helloworldweb/src/test/java/org/apache/tuscany/samples/helloworldweb/HelloWorldServiceComponentTestCase.java
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/java/samples/helloworld/helloworldweb/src/test/java/org/apache/tuscany/samples/helloworldweb/HelloWorldServiceComponentTestCase.java?rev=392960&r1=392959&r2=392960&view=diff
==============================================================================
--- 
incubator/tuscany/java/samples/helloworld/helloworldweb/src/test/java/org/apache/tuscany/samples/helloworldweb/HelloWorldServiceComponentTestCase.java
 (original)
+++ 
incubator/tuscany/java/samples/helloworld/helloworldweb/src/test/java/org/apache/tuscany/samples/helloworldweb/HelloWorldServiceComponentTestCase.java
 Mon Apr 10 07:32:55 2006
@@ -54,11 +54,4 @@
 
     }
 
-    public final static void main(String[] args) throws Exception {
-        HelloWorldServiceComponentTestCase hwc = new 
HelloWorldServiceComponentTestCase();
-        hwc.testGeetings();
-
-    }
-
-
 }


Reply via email to