aboutsummaryrefslogtreecommitdiffstats
path: root/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/test/java
diff options
context:
space:
mode:
authoramitjai <amitjai@amdocs.com>2018-04-27 13:28:57 +0530
committerOren Kleks <orenkle@amdocs.com>2018-04-30 06:05:27 +0000
commit42c920baf4dbb9fe8775843a6d4c9f70fa29f064 (patch)
treeac2aff977e2b129e61d2166c4832842676e4f5c3 /common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/test/java
parentf487427a32f410ab5c97a4092865d32beb88ee27 (diff)
Rename packages from openecomp to onap.
This task is all about package name space change also make changes to pom for common module Change-Id: Ie9bda0f958a9a05826c0374830cc9cb7d6d196b6 Issue-ID: SDC-1272 Signed-off-by: amitjai <amitjai@amdocs.com>
Diffstat (limited to 'common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/test/java')
-rw-r--r--common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/test/java/org/openecomp/config/ConfigurationUtilsTest.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/test/java/org/openecomp/config/ConfigurationUtilsTest.java b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/test/java/org/openecomp/config/ConfigurationUtilsTest.java
deleted file mode 100644
index b770d8677b..0000000000
--- a/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/test/java/org/openecomp/config/ConfigurationUtilsTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.openecomp.config;
-
-import org.junit.Test;
-
-import java.util.Arrays;
-import java.util.List;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
-
-public class ConfigurationUtilsTest {
- @Test
- public void testCommaList() {
- List list = Arrays.asList("1", "2", 3);
- String commaSeparatedList = ConfigurationUtils.getCommaSeparatedList(list);
- list.forEach(o -> assertTrue(commaSeparatedList.contains(o.toString())));
- }
-
- @Test
- public void testCommaListWithNullAndEmptyStrings() {
- List list = Arrays.asList(null, "", " ");
- String commaSeparatedList = ConfigurationUtils.getCommaSeparatedList(list);
- assertTrue(commaSeparatedList.isEmpty());
- }
-
- @Test
- public void testGetArrayClassFunction() {
- assertEquals(String[].class , ConfigurationUtils.getArrayClass(String.class));
- assertNull(ConfigurationUtils.getArrayClass(ConfigurationUtilsTest.class));
- }
-} \ No newline at end of file