Rename packages from openecomp to onap.
[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.onap.config.test.CLIFallbackAndLookupTest;
4 import org.onap.config.test.CLITest;
5 import org.onap.config.test.ConfigSourceLocationTest;
6 import org.onap.config.test.DynamicConfigurationTest;
7 import org.onap.config.test.FallbackConfigTest;
8 import org.onap.config.test.FallbackToGlobalNSTest;
9 import org.onap.config.test.GlobalAndNSConfigTest;
10 import org.onap.config.test.JAVAPropertiesConfigTest;
11 import org.onap.config.test.JSONConfigTest;
12 import org.onap.config.test.LoadOrderMergeAndOverrideTest;
13 import org.onap.config.test.ModeAsConfigPropTest;
14 import org.onap.config.test.MultiTenancyConfigTest;
15 import org.onap.config.test.NodeSpecificCLITest;
16 import org.onap.config.test.NotificationForNodeConfigTest;
17 import org.onap.config.test.NotificationOnPropValTest;
18 import org.onap.config.test.ResourceChangeNotificationTest;
19 import org.onap.config.test.UnregisterNotificationTest;
20 import org.onap.config.test.ValidateDefaultModeTest;
21 import org.onap.config.test.ValidateNodeConfigTest;
22 import org.onap.config.test.XMLConfigTest;
23 import org.onap.config.test.YAMLConfigTest;
24 import org.onap.config.test.*;
25 import org.junit.AfterClass;
26 import org.junit.runner.RunWith;
27 import org.junit.runners.Suite;
28
29 /**
30  * Created by sheetalm on 10/25/2016.
31  */
32
33 @RunWith(Suite.class)
34 @Suite.SuiteClasses({
35         JAVAPropertiesConfigTest.class,
36         JSONConfigTest.class,
37         XMLConfigTest.class,
38         YAMLConfigTest.class,
39         CLIFallbackAndLookupTest.class,
40         CLITest.class,
41         ConfigSourceLocationTest.class,
42         DynamicConfigurationTest.class,
43         FallbackConfigTest.class,
44         FallbackToGlobalNSTest.class,
45         GlobalAndNSConfigTest.class,
46         ModeAsConfigPropTest.class,
47         MultiTenancyConfigTest.class,
48         NodeSpecificCLITest.class,
49         NotificationForNodeConfigTest.class,
50         NotificationOnPropValTest.class,
51         ResourceChangeNotificationTest.class,
52         UnregisterNotificationTest.class,
53         ValidateDefaultModeTest.class,
54         ValidateNodeConfigTest.class,
55         LoadOrderMergeAndOverrideTest.class
56
57
58 })
59
60 public class TestCMSuite extends junit.framework.TestSuite {
61
62     private TestCMSuite() {
63
64     }
65
66     @AfterClass
67     public static void tearDown(){
68         try {
69             ConfigurationUtils.executeDdlSql("truncate dox.configuration_change");
70             ConfigurationUtils.executeDdlSql("truncate dox.configuration");
71         }
72         catch(Exception e){
73             e.printStackTrace();
74         }
75     }
76 }