Update of /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29734/test/net/sourceforge/jwebunit

Modified Files:
        AllTests.java 
Log Message:
Added description of philosophy for adding new TestCases.

Index: AllTests.java
===================================================================
RCS file: /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/AllTests.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** AllTests.java       23 Aug 2004 22:12:47 -0000      1.13
--- AllTests.java       23 Aug 2004 22:19:08 -0000      1.14
***************
*** 11,18 ****
  /**
   * Test Suite for jWebUnit.
!  *
   * @author Wilkes Joiner
   */
! public class AllTests extends TestSuite{
      public static Test suite() {
          TestSuite suite = new TestSuite();
--- 11,29 ----
  /**
   * Test Suite for jWebUnit.
!  * 
   * @author Wilkes Joiner
   */
! public class AllTests extends TestSuite {
! 
!     /**
!      * Runs all the tests for jWebUnit. Add each new TestCase by using the
!      * <code>addTestSuite(Class)</code> method, so that the TestCase's
!      * <code>suite</code> method <strong>isn't called </strong>. This prevents
!      * <code>JettySetup</code> from starting the Jetty server twice and
!      * consequently the error 'port 80xx is already in use'.
!      * 
!      * @return the <code>TestSuite</code> containing all the tests for
!      *         jWebUnit ready to run utilizing Jetty as testserver.
!      */
      public static Test suite() {
          TestSuite suite = new TestSuite();
***************
*** 26,41 ****
          suite.addTestSuite(TableAssertionsTest.class);
          suite.addTestSuite(TextAndElementWalkerTest.class);
!               suite.addTestSuite(FramesAndWindowsTest.class);
!               suite.addTestSuite(JavaScriptEventsTest.class);
!               suite.addTestSuite(ServletUnitTest.class);
!               suite.addTestSuite(MethodInvokerTest.class);
!               suite.addTestSuite(WebCookieTest.class);
!               suite.addTestSuite(FormAssertionBug.class);
!               suite.addTestSuite(HelloWorldTest.class);
          return new JettySetup(suite);
      }
  
!      public static void main( String[] args ) {
!         junit.textui.TestRunner.run( suite() );
      }
! }
--- 37,52 ----
          suite.addTestSuite(TableAssertionsTest.class);
          suite.addTestSuite(TextAndElementWalkerTest.class);
!         suite.addTestSuite(FramesAndWindowsTest.class);
!         suite.addTestSuite(JavaScriptEventsTest.class);
!         suite.addTestSuite(ServletUnitTest.class);
!         suite.addTestSuite(MethodInvokerTest.class);
!         suite.addTestSuite(WebCookieTest.class);
!         suite.addTestSuite(FormAssertionBug.class);
!         suite.addTestSuite(HelloWorldTest.class);
          return new JettySetup(suite);
      }
  
!     public static void main(String[] args) {
!         junit.textui.TestRunner.run(suite());
      }
! }
\ No newline at end of file



-------------------------------------------------------
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

Reply via email to