[wsas-java-dev] svn commit r1687 - trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest

svn at wso2.org svn at wso2.org
Mon Apr 2 00:06:16 PDT 2007


Author: azeez
Date: Mon Apr  2 00:06:08 2007
New Revision: 1687

Modified:
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java
Log:
Fixing failing rest tests



Modified: trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java	Mon Apr  2 00:06:08 2007
@@ -45,9 +45,9 @@
     protected void setUp() throws Exception {
 
         epr = new EndpointReference("http://" + NetworkUtils.getLocalHostname() + ":"
-                                          + (TestConstants.TESTING_PORT)
-                                          + "/rest/" + serviceName.getLocalPart() + "/" +
-                                          operationName.getLocalPart());
+                                    + (TestConstants.TESTING_PORT)
+                                    + "/" + ServerConstants.SERVICE_PATH + "/" + serviceName.getLocalPart() + "/" +
+                                    operationName.getLocalPart());
         testConnect(epr);
         removeProperties();
 

Modified: trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java	Mon Apr  2 00:06:08 2007
@@ -51,11 +51,10 @@
     private EndpointReference epr;
 
 
-
     protected void setUp() throws Exception {
         epr = new EndpointReference("http://" + NetworkUtils.getLocalHostname() + ":"
                                     + (TestConstants.TESTING_PORT)
-                                    + "/rest/" + serviceName.getLocalPart() + "/" +
+                                    + "/" + ServerConstants.SERVICE_PATH + "/" + serviceName.getLocalPart() + "/" +
                                     operationName.getLocalPart());
 
         testConnect(epr);




More information about the Wsas-java-dev mailing list