Author: rfeng
Date: Thu Jan 29 22:58:48 2009
New Revision: 739066

URL: http://svn.apache.org/viewvc?rev=739066&view=rev
Log:
Fix the test case

Modified:
    
tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/FileTransferMTOMTestCase.java

Modified: 
tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/FileTransferMTOMTestCase.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/FileTransferMTOMTestCase.java?rev=739066&r1=739065&r2=739066&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/FileTransferMTOMTestCase.java
 (original)
+++ 
tuscany/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/FileTransferMTOMTestCase.java
 Thu Jan 29 22:58:48 2009
@@ -21,9 +21,9 @@
 
 import javax.activation.DataHandler;
 import javax.activation.FileDataSource;
+
 import junit.framework.TestCase;
-import org.apache.tuscany.sca.binding.ws.axis2.itests.mtom.FileTransferService;
-// Added imports to new Node / Launcher framework
+
 import org.apache.tuscany.sca.node.Node;
 import org.apache.tuscany.sca.node.equinox.launcher.Contribution;
 import org.apache.tuscany.sca.node.equinox.launcher.ContributionLocationHelper;
@@ -53,13 +53,12 @@
     @Override
     protected void setUp() throws Exception {
         // domain = 
SCADomain.newInstance("org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetransferservice.composite");
-       // Tuscany specific code which starts the contribution holding the test
-        launcher = NodeLauncher.newInstance();
-        node = launcher.createNode( "filetransferservice.composite", // 
testConfiguration.getComposite(), 
-                                          new 
Contribution("FileTransferMTOMTestCase", 
-                                                                   
getContributionURI()));
+        // Tuscany specific code which starts the contribution holding the test
+        launcher = NodeLauncher.newInstance(null);
+        node = launcher.createNode("filetransferservice.composite", // 
testConfiguration.getComposite(), 
+                                   new 
Contribution("FileTransferMTOMTestCase", getContributionURI()));
     }
-   
+
     @Override
     protected void tearDown() throws Exception {
         //domain.close();
@@ -71,12 +70,12 @@
             launcher.destroy();
         }
     }
-    
+
     protected String getContributionURI() {
-       Class<?> clazz = getClass();
-       String location = 
ContributionLocationHelper.getContributionLocation(clazz);
-       return location;
-       
+        Class<?> clazz = getClass();
+        String location = 
ContributionLocationHelper.getContributionLocation(clazz);
+        return location;
+
     } // end getContributionURI()
 
 }


Reply via email to