re base code
[sdc.git] / common / onap-common-configuration-management / onap-configuration-management-test / src / test / java / org / onap / config / TestCMSuite.java
1 package org.onap.config;
2
3 import org.junit.AfterClass;
4 import org.junit.runner.RunWith;
5 import org.junit.runners.Suite;
6 import org.onap.config.test.*;
7
8 /**
9  * Created by sheetalm on 10/25/2016.
10  */
11
12 @RunWith(Suite.class)
13 @Suite.SuiteClasses({
14         JAVAPropertiesConfigTest.class,
15         JSONConfigTest.class,
16         XMLConfigTest.class,
17         YAMLConfigTest.class,
18         CLIFallbackAndLookupTest.class,
19         CLITest.class,
20         ConfigSourceLocationTest.class,
21         DynamicConfigurationTest.class,
22         FallbackConfigTest.class,
23         FallbackToGlobalNSTest.class,
24         GlobalAndNSConfigTest.class,
25         ModeAsConfigPropTest.class,
26         MultiTenancyConfigTest.class,
27         NodeSpecificCLITest.class,
28         NotificationForNodeConfigTest.class,
29         NotificationOnPropValTest.class,
30         ResourceChangeNotificationTest.class,
31         UnregisterNotificationTest.class,
32         ValidateDefaultModeTest.class,
33         ValidateNodeConfigTest.class,
34         LoadOrderMergeAndOverrideTest.class
35
36
37 })
38
39 public class TestCMSuite extends junit.framework.TestSuite {
40
41     private TestCMSuite() {
42
43     }
44
45     @AfterClass
46     public static void tearDown(){
47         try {
48             ConfigurationUtils.executeDdlSql("truncate dox.configuration_change");
49             ConfigurationUtils.executeDdlSql("truncate dox.configuration");
50         }
51         catch(Exception e){
52             e.printStackTrace();
53         }
54     }
55 }