summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2009-06-02 18:59:55 +0200
committerAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2009-07-07 10:55:04 +0200
commitfb909ada52e21a8a21d3f6fb2f8eb2e82da231cf (patch)
tree07ba2877b92847aa1aa5969a72e61b2959292fa6 /src
parent752fc61de65bfb44a2d52ddef3b05f530acea42b (diff)
Updated README, test source files, Makefile
Diffstat (limited to 'src')
-rw-r--r--src/wcps/server/test/GrammarTestOnline.java6
-rw-r--r--src/wcps/server/test/XmlTestOnline.java10
2 files changed, 8 insertions, 8 deletions
diff --git a/src/wcps/server/test/GrammarTestOnline.java b/src/wcps/server/test/GrammarTestOnline.java
index ad4478a..fb7388e 100644
--- a/src/wcps/server/test/GrammarTestOnline.java
+++ b/src/wcps/server/test/GrammarTestOnline.java
@@ -35,7 +35,7 @@ import java.net.URL;
import java.net.URLEncoder;
import org.apache.commons.io.FileUtils;
-/** Runs the available XML tests against a deployed version of Petascope,
+/** Runs the available Grammar tests against a deployed version of Petascope,
* available at some URL.
*
* Assumes that a tests succeeds if the server does not throw or display
@@ -45,9 +45,9 @@ import org.apache.commons.io.FileUtils;
*/
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/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/wcps/";
String folder = "test/testcases-wcps/";
// How many tests we have to run
diff --git a/src/wcps/server/test/XmlTestOnline.java b/src/wcps/server/test/XmlTestOnline.java
index ba8e65a..5727df8 100644
--- a/src/wcps/server/test/XmlTestOnline.java
+++ b/src/wcps/server/test/XmlTestOnline.java
@@ -44,9 +44,9 @@ import org.apache.commons.io.FileUtils;
*/
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/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/wcps/";
String folder = "test/testcases-wcps/";
// How many tests we have to run
@@ -179,9 +179,9 @@ public class XmlTestOnline {
String line1 = cgiOutput.readLine();
String line2 = cgiOutput.readLine();
String line3 = cgiOutput.readLine();
-// System.out.println("\t" + line1);
-// System.out.println("\t" + line2);
-// System.out.println("\t" + line3);
+ System.out.println("\t" + line1);
+ System.out.println("\t" + line2);
+ System.out.println("\t" + line3);
if (line1 != null && line2 != null && line3 != null &&
line2.equals("<h1>An error has occured</h1>"))