KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > jwebunit > AllTests


1 package net.sourceforge.jwebunit;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5 import net.sourceforge.jwebunit.NavigationTest;
6 import net.sourceforge.jwebunit.FormSubmissionTest;
7 import net.sourceforge.jwebunit.WebAssertionsTest;
8 import net.sourceforge.jwebunit.util.reflect.MethodInvokerTest;
9
10 /**
11  * Test Suite for jWebUnit.
12  *
13  * @author Wilkes Joiner
14  */

15 public class AllTests extends TestSuite{
16     public static Test suite() {
17         TestSuite suite = new TestSuite();
18         suite.addTestSuite(NavigationTest.class);
19         suite.addTestSuite(FormSubmissionTest.class);
20         suite.addTestSuite(WebAssertionsTest.class);
21         suite.addTestSuite(TestContextTest.class);
22         suite.addTestSuite(ExpectedTableTest.class);
23         suite.addTestSuite(ExpectedTableAssertionsTest.class);
24         suite.addTestSuite(FormAssertionsTest.class);
25         suite.addTestSuite(TableAssertionsTest.class);
26         suite.addTestSuite(TextAndElementWalkerTest.class);
27         suite.addTestSuite(FramesAndWindowsTest.class);
28         suite.addTestSuite(JavaScriptEventsTest.class);
29         suite.addTestSuite(ServletUnitTest.class);
30         suite.addTestSuite(MethodInvokerTest.class);
31         suite.addTestSuite(WebCookieTest.class);
32         return suite;
33     }
34
35      public static void main( String JavaDoc[] args ) {
36         junit.textui.TestRunner.run( suite() );
37     }
38 }
39
Popular Tags