Update of /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27785/test/net/sourceforge/jwebunit
Modified Files:
AllTests.java
Log Message:
Surrounded the suite with the jetty testsetup to instantiate the server only once.
Index: AllTests.java
===================================================================
RCS file: /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/AllTests.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** AllTests.java 23 Aug 2004 21:14:01 -0000 1.12
--- AllTests.java 23 Aug 2004 22:12:47 -0000 1.13
***************
*** 6,9 ****
--- 6,10 ----
import net.sourceforge.jwebunit.FormSubmissionTest;
import net.sourceforge.jwebunit.WebAssertionsTest;
+ import net.sourceforge.jwebunit.util.JettySetup;
import net.sourceforge.jwebunit.util.reflect.MethodInvokerTest;
***************
*** 31,36 ****
suite.addTestSuite(WebCookieTest.class);
suite.addTestSuite(FormAssertionBug.class);
! suite.addTest(HelloWorldTest.suite());
! return suite;
}
--- 32,37 ----
suite.addTestSuite(WebCookieTest.class);
suite.addTestSuite(FormAssertionBug.class);
! suite.addTestSuite(HelloWorldTest.class);
! return new JettySetup(suite);
}
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development