You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2008/10/18 02:19:25 UTC
svn commit: r705814 -
/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/RampartTest.java
Author: midon
Date: Fri Oct 17 17:19:25 2008
New Revision: 705814
URL: http://svn.apache.org/viewvc?rev=705814&view=rev
Log:
ODE-388: isDeployed gets the file name, undeplyProcess the relative path
Modified:
ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/RampartTest.java
Modified: ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/RampartTest.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/RampartTest.java?rev=705814&r1=705813&r2=705814&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/RampartTest.java (original)
+++ ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/RampartTest.java Fri Oct 17 17:19:25 2008
@@ -71,7 +71,9 @@
@Test(dataProvider = "bundles")
public void executeProcess(String bundleName) throws Exception {
- if (server.isDeployed(bundleName)) server.undeployProcess(bundleName);
+ if (server.isDeployed(new File(bundleName).getName())){
+ server.undeployProcess(bundleName);
+ }
server.deployProcess(bundleName);
try {
String response = server.sendRequestFile("http://localhost:8888/processes/helloWorld",