1   package com.sourceforge.jpatterns.core.configuration;
2   
3   import com.sourceforge.jpatterns.core.configuration.exceptions.JPConfigExceptionTest;
4   import com.sourceforge.jpatterns.core.configuration.exceptions.JPConsumerConfigExceptionTest;
5   import com.sourceforge.jpatterns.core.configuration.exceptions.JPFrameworkConfigExceptionTest;
6   import com.sourceforge.jpatterns.core.configuration.exceptions.JPInitializationExceptionTest;
7   import junit.framework.Test;
8   import junit.framework.TestSuite;
9   import org.apache.log4j.Logger;
10  
11  /**
12   * Run all the configuration tests.
13   *
14   * $Author:: zmicer             $<br/>
15   * $Rev:: 67                    $<br/> * $Date:: 2007-08-28 21:37:07 #$<br/>
16   * $Date:: 2007-08-28 21:37:07 #$<br/>
17   */
18  public class AllConfigurationTests
19  {
20      /**
21       * Logger instance.
22       */
23      final public static Logger LOG = Logger.getLogger(AllConfigurationTests.class);
24  
25      /**
26       * Makes the test suite with all the tests we would like to check
27       * @return the build Test(it is TestSuite instance)
28       *
29       * todo: [zmicer] please check if it is up to date composition and extend if it is necessary
30       */
31      public static Test suite()
32      {
33          TestSuite suite = new TestSuite();
34          suite.addTestSuite(JPConfigExceptionTest.class);
35          suite.addTestSuite(JPConfiguratorImplTest.class);
36          suite.addTestSuite(JPInitializationExceptionTest.class);
37          suite.addTestSuite(JPConsumerConfigExceptionTest.class);
38          suite.addTestSuite(JPFrameworkConfigExceptionTest.class);
39          suite.addTestSuite(PropertiesBasedFactoryTest.class);
40          suite.addTestSuite(PropertiesManagerImplTest.class);
41  
42          return suite;
43      }
44  }