From d2b0e006273d55c170ed6cd56f9509bc1eaa90eb Mon Sep 17 00:00:00 2001 From: Andrei Aiordachioaie Date: Mon, 8 Jun 2009 17:49:13 +0200 Subject: Implemented Condense Expression and Constant Coverage Expression. WCPS Grammar modified --- src/wcps/server/test/XmlTestOnline.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/wcps/server/test/XmlTestOnline.java') diff --git a/src/wcps/server/test/XmlTestOnline.java b/src/wcps/server/test/XmlTestOnline.java index 5727df8..752c3c2 100644 --- a/src/wcps/server/test/XmlTestOnline.java +++ b/src/wcps/server/test/XmlTestOnline.java @@ -46,7 +46,7 @@ public class XmlTestOnline { // Put new test cases in this folder // public final String PetascopeURL = "http://localhost:8080/PetaScope/WCPService"; // public final String PetascopeURL = "http://localhost:8080/petascope/wcps/"; - public final String PetascopeURL = "http://kahlua.eecs.jacobs-university.de:8080/petascope/wcps/"; + public final String PetascopeURL = "http://kahlua.eecs.jacobs-university.de:8080/petascope-new/wcps/"; String folder = "test/testcases-wcps/"; // How many tests we have to run @@ -68,7 +68,7 @@ public class XmlTestOnline { for (int i = 0; i < numTests; i++) { String tname = tests[i].getName(); - tname = tname.substring(0, tname.length() - 9); + tname = tname.substring(0, tname.length() - 4); if (ok[i] == true) { System.out.println("*** Test '" + tname + "' ok"); @@ -80,6 +80,7 @@ public class XmlTestOnline { } } System.out.println("\n\nRESULTS\n"); + System.out.println("Tested PetaScope implementation from: " + PetascopeURL); System.out.println("Tests succeeded: " + String.valueOf(passCount)); System.out.println("Tests failed: " + String.valueOf(numTests - passCount)); } @@ -116,7 +117,7 @@ public class XmlTestOnline { { ok[i] = false; tname = tests[i].getName(); - tname = tname.substring(0, tname.length() - 9); + tname = tname.substring(0, tname.length() - 4); System.out.println("Running test '" + tname + "'..."); try { query = FileUtils.readFileToString(tests[i]); -- cgit