KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > notification > NotificationSUITE


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.notification;
9
10 import junit.framework.Test;
11 import junit.framework.TestSuite;
12
13 /**
14  * Tests for notifications.
15  *
16  * @author <a HREF="mailto:AdrianBrock@HappeningTimes.com">Adrian Brock</a>.
17  */

18 public class NotificationSUITE
19   extends TestSuite
20 {
21   /**
22    * Run the tests
23    *
24    * @param args the arguments for the test
25    */

26   public static void main(String[] args)
27   {
28     junit.textui.TestRunner.run(suite());
29   }
30
31   /**
32    * Get a list of tests.
33    *
34    * @return the tests
35    */

36   public static Test suite()
37   {
38     TestSuite suite = new TestSuite("Notification Tests");
39
40     suite.addTest(new TestSuite(AttributeChangeNotificationFilterTestCase.class));
41     suite.addTest(new TestSuite(NotificationBroadcasterSupportTestCase.class));
42     suite.addTest(new TestSuite(NotificationFilterSupportTestCase.class));
43
44     return suite;
45   }
46 }
47
Popular Tags