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/GrammarTestOnline.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/wcps/server/test/GrammarTestOnline.java') diff --git a/src/wcps/server/test/GrammarTestOnline.java b/src/wcps/server/test/GrammarTestOnline.java index fb7388e..8cdc73f 100644 --- a/src/wcps/server/test/GrammarTestOnline.java +++ b/src/wcps/server/test/GrammarTestOnline.java @@ -47,7 +47,7 @@ public class GrammarTestOnline { // 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 @@ -81,6 +81,7 @@ public class GrammarTestOnline { } } 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)); } @@ -89,7 +90,7 @@ public class GrammarTestOnline { // Find out how many tests we have to run File dir = new File(folder); System.out.println("Looking for tests in " + dir.getAbsolutePath() + "\n"); - XmlFileFilter filter = new XmlFileFilter(); + TestFileFilter filter = new TestFileFilter(); tests = dir.listFiles(filter); numTests = tests.length; // numTests = 3; @@ -99,7 +100,7 @@ public class GrammarTestOnline { } /* Accept all files with extension TEST. */ - private class XmlFileFilter implements FilenameFilter { + private class TestFileFilter implements FilenameFilter { @Override public boolean accept(File dir, String name) { -- cgit