aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/openecomp/vid/model/VolumeGroupTest.java
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@att.com>2017-10-09 11:08:05 +0300
committerOfir Sonsino <os0695@att.com>2017-10-09 11:08:05 +0300
commit78028f3b588241200e31b71b8190e9926af626e9 (patch)
tree4cc4969710b9f815f382f5e387f2da1bf404703a /vid-app-common/src/test/java/org/openecomp/vid/model/VolumeGroupTest.java
parent3274b39fef63c43c6eeb202e98b71b01e0f714ff (diff)
Improve SONAR coverage
Change-Id: Ib36c2e6df9fe100a301b89769078c7a06d3a9ae5 Issue-ID: VID-72 Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/vid/model/VolumeGroupTest.java')
-rw-r--r--vid-app-common/src/test/java/org/openecomp/vid/model/VolumeGroupTest.java169
1 files changed, 169 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/model/VolumeGroupTest.java b/vid-app-common/src/test/java/org/openecomp/vid/model/VolumeGroupTest.java
new file mode 100644
index 000000000..038290b2a
--- /dev/null
+++ b/vid-app-common/src/test/java/org/openecomp/vid/model/VolumeGroupTest.java
@@ -0,0 +1,169 @@
+package org.openecomp.vid.model;
+
+import org.junit.Test;
+import org.openecomp.vid.asdc.beans.tosca.Group;
+
+
+public class VolumeGroupTest {
+
+ private VolumeGroup createTestSubject() {
+ return new VolumeGroup();
+ }
+
+
+ @Test
+ public void testGetUuid() throws Exception {
+ VolumeGroup testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUuid();
+ }
+
+
+ @Test
+ public void testGetCustomizationUuid() throws Exception {
+ VolumeGroup testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCustomizationUuid();
+ }
+
+
+ @Test
+ public void testGetModelCustomizationName() throws Exception {
+ VolumeGroup testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModelCustomizationName();
+ }
+
+
+ @Test
+ public void testGetInvariantUuid() throws Exception {
+ VolumeGroup testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUuid();
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ VolumeGroup testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ VolumeGroup testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ VolumeGroup testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetUuid() throws Exception {
+ VolumeGroup testSubject;
+ String uuid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUuid(uuid);
+ }
+
+
+ @Test
+ public void testSetInvariantUuid() throws Exception {
+ VolumeGroup testSubject;
+ String invariantUuid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUuid(invariantUuid);
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ VolumeGroup testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ VolumeGroup testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ VolumeGroup testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testSetCustomizationUuid() throws Exception {
+ VolumeGroup testSubject;
+ String u = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCustomizationUuid(u);
+ }
+
+
+ @Test
+ public void testSetModelCustomizationName() throws Exception {
+ VolumeGroup testSubject;
+ String u = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModelCustomizationName(u);
+ }
+
+
+
+} \ No newline at end of file