webwork/src/test/webwork/view WebTestCase.java,1.1,1.2

[email protected] Sat, 01 Nov 2003 18:27:35 -0800
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/webwork/src/test/webwork/view
In directory sc8-pr-cvs1:/tmp/cvs-serv17002/src/test/webwork/view

Modified Files:
	WebTestCase.java 
Log Message:
Create a test-web webapp that is used for the unit tests.
Added test target to run all testcases
Added clover crap, we now have 29.1% coverage!


Index: WebTestCase.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/test/webwork/view/WebTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- WebTestCase.java	2 Nov 2003 01:17:38 -0000	1.1
+++ WebTestCase.java	2 Nov 2003 02:27:33 -0000	1.2
@@ -13,8 +13,8 @@
  */
 public class WebTestCase extends TestCaseSupport {
 
-	protected final static String TEST_SERVER = "http://localhost:8000";
-	protected final static String TEST_CONTEXT = "/webwork/tests/";
+	protected final static String TEST_SERVER = System.getProperty("test.server", "http://localhost:8000");
+	protected final static String TEST_CONTEXT = System.getProperty("test.context", "/webwork/tests/");
 	protected final static String TEST_HOME = TEST_SERVER + TEST_CONTEXT;
   protected final static String TEST_PASSED_TITLE = "Automated Test Passed";
 




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/