KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > ce > auction > test > AllTests


1 package org.hibernate.ce.auction.test;
2
3 import junit.framework.*;
4 import junit.textui.TestRunner;
5
6 /**
7  * Run all unit tests for CaveatEmptor.
8  *
9  * @author Christian Bauer <christian@hibernate.org>
10  */

11 public class AllTests {
12
13     public static Test suite() {
14
15         TestSuite suite = new TestSuite();
16
17         suite.addTest( UserTest.suite() );
18         suite.addTest( ItemTest.suite() );
19         suite.addTest( AuditTest.suite() );
20         suite.addTest( CategoryItemTest.suite() );
21
22         return suite;
23     }
24
25     public static void main(String JavaDoc args[]) {
26         TestRunner.run( suite() );
27     }
28 }
29
Popular Tags