summaryrefslogtreecommitdiffstats
path: root/appc-config
diff options
context:
space:
mode:
Diffstat (limited to 'appc-config')
-rw-r--r--appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java b/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java
index eae53a836..8e8c156ed 100644
--- a/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java
+++ b/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/ConfigComponentAdaptorTest.java
@@ -6,7 +6,7 @@
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
- * Modification Copyright (C) 2018 IBM.
+ * Modifications Copyright (C) 2018-2019 IBM.
* =============================================================================
* Modifications Copyright (C) 2018 Ericsson
* =============================================================================
@@ -408,6 +408,18 @@ public class ConfigComponentAdaptorTest {
}
@Test
+ public void testActivateMethod() {
+ ConfigComponentAdaptor config= new ConfigComponentAdaptor(new Properties());
+ assertEquals(ConfigStatus.SUCCESS, config.activate("test", new SvcLogicContext()));
+ }
+
+ @Test
+ public void testDeactivateMethod() {
+ ConfigComponentAdaptor config= new ConfigComponentAdaptor(new Properties());
+ assertEquals(ConfigStatus.SUCCESS, config.deactivate("test", new SvcLogicContext()));
+ }
+
+ @Test
public void testStaticReadFileExceptionFlow() {
assertEquals("", ConfigComponentAdaptor._readFile("NON_EXISTENT_FILE"));
}