aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/properties
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/properties')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/properties/TestSuite.java11
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/properties/VidPropertiesTest.java31
2 files changed, 42 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/properties/TestSuite.java b/vid-app-common/src/test/java/org/onap/vid/properties/TestSuite.java
new file mode 100644
index 00000000..747c1edb
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/properties/TestSuite.java
@@ -0,0 +1,11 @@
+package org.onap.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/onap/vid/properties/VidPropertiesTest.java b/vid-app-common/src/test/java/org/onap/vid/properties/VidPropertiesTest.java
new file mode 100644
index 00000000..f256ba02
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/properties/VidPropertiesTest.java
@@ -0,0 +1,31 @@
+package org.onap.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