1   /****************************************************************
2    * Licensed to the Apache Software Foundation (ASF) under one   *
3    * or more contributor license agreements.  See the NOTICE file *
4    * distributed with this work for additional information        *
5    * regarding copyright ownership.  The ASF licenses this file   *
6    * to you under the Apache License, Version 2.0 (the            *
7    * "License"); you may not use this file except in compliance   *
8    * with the License.  You may obtain a copy of the License at   *
9    *                                                              *
10   *   http://www.apache.org/licenses/LICENSE-2.0                 *
11   *                                                              *
12   * Unless required by applicable law or agreed to in writing,   *
13   * software distributed under the License is distributed on an  *
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
15   * KIND, either express or implied.  See the License for the    *
16   * specific language governing permissions and limitations      *
17   * under the License.                                           *
18   ****************************************************************/
19  
20  package org.apache.jsieve;
21  
22  import junit.framework.Test;
23  import junit.framework.TestSuite;
24  
25  /**
26   * Class AllTests
27   */
28  public class AllTests {
29  
30      public static void main(String[] args) {
31          junit.swingui.TestRunner.run(AllTests.class);
32      }
33  
34      public static Test suite() {
35          TestSuite suite = new TestSuite("Test for org.apache.jsieve.junit");
36          // $JUnit-BEGIN$
37          suite.addTest(new TestSuite(ConfigurationManagerTest.class));
38          suite.addTest(new TestSuite(ConditionTest.class));
39          suite.addTest(new TestSuite(RequireTest.class));
40          suite.addTest(new TestSuite(StopTest.class));
41          suite.addTest(new TestSuite(KeepTest.class));
42          suite.addTest(new TestSuite(DiscardTest.class));
43          suite.addTest(new TestSuite(FileIntoTest.class));
44          suite.addTest(new TestSuite(RejectTest.class));
45          suite.addTest(new TestSuite(TrueTest.class));
46          suite.addTest(new TestSuite(FalseTest.class));
47          suite.addTest(new TestSuite(NotTest.class));
48          suite.addTest(new TestSuite(AnyOfTest.class));
49          suite.addTest(new TestSuite(AllOfTest.class));
50          suite.addTest(new TestSuite(ExistsTest.class));
51          suite.addTest(new TestSuite(AddressTest.class));
52          suite.addTest(new TestSuite(HeaderTest.class));
53          suite.addTest(new TestSuite(SizeTest.class));
54          suite.addTest(new TestSuite(EnvelopeTest.class));
55          suite.addTest(new TestSuite(LogTest.class));
56          // $JUnit-END$
57          return suite;
58      }
59  }