1   /*
2    * Copyright (C) The Apache Software Foundation. All rights reserved.
3    *
4    * This software is published under the terms of the Apache Software License
5    * version 1.1, a copy of which has been included with this distribution in
6    * the LICENSE file.
7    * 
8    * $Id: TestAll.java 155459 2005-02-26 13:24:44Z dirkv $
9    */
10  package org.apache.commons.messenger;
11  
12  import junit.framework.Test;
13  import junit.framework.TestCase;
14  import junit.framework.TestSuite;
15  
16  /** Entry point for all JUnit tests.
17    *
18    * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
19    * @version $Revision: 155459 $
20   */
21  public class TestAll extends TestCase {
22      public TestAll(String testName) {
23          super(testName);
24      }
25  
26      public static Test suite() {
27          TestSuite suite = new TestSuite();
28          suite.addTest(TestMessenger.suite());
29          return suite;
30      }
31  
32      public static void main(String args[]) {
33          String[] testCaseName = { TestAll.class.getName() };
34          junit.textui.TestRunner.main(testCaseName);
35      }
36  }