2 * Copyright © 2016-2018 European Support Limited
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.onap.config;
19 import org.junit.AfterClass;
20 import org.junit.runner.RunWith;
21 import org.junit.runners.Suite;
22 import org.onap.config.test.CLIFallbackAndLookupTest;
23 import org.onap.config.test.CliTest;
24 import org.onap.config.test.ConfigSourceLocationTest;
25 import org.onap.config.test.FallbackConfigTest;
26 import org.onap.config.test.FallbackToGlobalNSTest;
27 import org.onap.config.test.GlobalAndNSConfigTest;
28 import org.onap.config.test.JAVAPropertiesConfigTest;
29 import org.onap.config.test.JSONConfigTest;
30 import org.onap.config.test.LoadOrderMergeAndOverrideTest;
31 import org.onap.config.test.ModeAsConfigPropTest;
32 import org.onap.config.test.MultiTenancyConfigTest;
33 import org.onap.config.test.NodeSpecificCliTest;
34 import org.onap.config.test.ValidateDefaultModeTest;
35 import org.onap.config.test.XMLConfigTest;
36 import org.onap.config.test.YAMLConfigTest;
39 * Created by sheetalm on 10/25/2016.
44 ConfigurationUtilsTest.class,
45 JAVAPropertiesConfigTest.class,
49 CLIFallbackAndLookupTest.class,
51 ConfigSourceLocationTest.class,
52 FallbackConfigTest.class,
53 FallbackToGlobalNSTest.class,
54 GlobalAndNSConfigTest.class,
55 ModeAsConfigPropTest.class,
56 MultiTenancyConfigTest.class,
57 NodeSpecificCliTest.class,
58 ValidateDefaultModeTest.class,
59 LoadOrderMergeAndOverrideTest.class})
61 public class TestCMSuite extends junit.framework.TestSuite {
63 private TestCMSuite() {
64 // prevent instantiation
68 public static void tearDown() {
70 ConfigurationUtils.executeDdlSql("truncate dox.configuration_change");
71 ConfigurationUtils.executeDdlSql("truncate dox.configuration");
72 } catch (Exception e) {