aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/openecomp/vid/properties
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/vid/properties')
-rw-r--r--vid-app-common/src/test/java/org/openecomp/vid/properties/TestSuite.java11
-rw-r--r--vid-app-common/src/test/java/org/openecomp/vid/properties/VidPropertiesTest.java31
2 files changed, 42 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/properties/TestSuite.java b/vid-app-common/src/test/java/org/openecomp/vid/properties/TestSuite.java
new file mode 100644
index 00000000..b2993084
--- /dev/null
+++ b/vid-app-common/src/test/java/org/openecomp/vid/properties/TestSuite.java
@@ -0,0 +1,11 @@
+package org.openecomp.vid.properties;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+@RunWith(Suite.class)
+@Suite.SuiteClasses(
+
+{ VidPropertiesTest.class })
+public class TestSuite { // nothing
+}
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/properties/VidPropertiesTest.java b/vid-app-common/src/test/java/org/openecomp/vid/properties/VidPropertiesTest.java
new file mode 100644
index 00000000..7d318c74
--- /dev/null
+++ b/vid-app-common/src/test/java/org/openecomp/vid/properties/VidPropertiesTest.java
@@ -0,0 +1,31 @@
+package org.openecomp.vid.properties;
+
+import org.junit.Test;
+
+
+public class VidPropertiesTest {
+
+ private VidProperties createTestSubject() {
+ return new VidProperties();
+ }
+
+
+ @Test
+ public void testGetAsdcModelNamespace() throws Exception {
+ String result;
+
+ // default test
+ result = VidProperties.getAsdcModelNamespace();
+ }
+
+
+ @Test
+ public void testGetPropertyWithDefault() throws Exception {
+ String propName = "";
+ String defaultValue = "";
+ String result;
+
+ // default test
+ result = VidProperties.getPropertyWithDefault(propName, defaultValue);
+ }
+} \ No newline at end of file