diff options
author | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
commit | 1cfb08779ea0e00be69e072a940b3063e049fe6b (patch) | |
tree | 6602a900387c8393ed0dcd81c0539381632903c6 /vid-app-common/src/test/java/org/openecomp/vid/model/ServiceModelTest.java | |
parent | 2f20b001b9243e0f8b44aecc768ec265fd538732 (diff) |
org.onap migration
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d
Issue-ID: VID-86
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/vid/model/ServiceModelTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/openecomp/vid/model/ServiceModelTest.java | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/model/ServiceModelTest.java b/vid-app-common/src/test/java/org/openecomp/vid/model/ServiceModelTest.java deleted file mode 100644 index 45f49201..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/model/ServiceModelTest.java +++ /dev/null @@ -1,123 +0,0 @@ -package org.openecomp.vid.model; - -import java.util.Map; - -import org.junit.Test; -import org.openecomp.vid.asdc.beans.tosca.ToscaModel; -import org.openecomp.vid.model.Service; - -public class ServiceModelTest { - - private ServiceModel createTestSubject() { - return new ServiceModel(); - } - - @Test - public void testGetService() throws Exception { - ServiceModel testSubject; - Service result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getService(); - } - - @Test - public void testGetVnfs() throws Exception { - ServiceModel testSubject; - Map<String, VNF> result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getVnfs(); - } - - @Test - public void testGetNetworks() throws Exception { - ServiceModel testSubject; - Map<String, Network> result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getNetworks(); - } - - @Test - public void testSetService() throws Exception { - ServiceModel testSubject; - Service service = null; - - // default test - testSubject = createTestSubject(); - testSubject.setService(service); - } - - @Test - public void testSetVnfs() throws Exception { - ServiceModel testSubject; - Map<String, VNF> vnfs = null; - - // default test - testSubject = createTestSubject(); - testSubject.setVnfs(vnfs); - } - - @Test - public void testSetNetworks() throws Exception { - ServiceModel testSubject; - Map<String, Network> networks = null; - - // default test - testSubject = createTestSubject(); - testSubject.setNetworks(networks); - } - - @Test - public void testGetVfModules() throws Exception { - ServiceModel testSubject; - Map<String, VfModule> result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getVfModules(); - } - - @Test - public void testGetVolumeGroups() throws Exception { - ServiceModel testSubject; - Map<String, VolumeGroup> result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getVolumeGroups(); - } - - @Test - public void testSetVfModules() throws Exception { - ServiceModel testSubject; - Map<String, VfModule> vfModules = null; - - // default test - testSubject = createTestSubject(); - testSubject.setVfModules(vfModules); - } - - @Test - public void testSetVolumeGroups() throws Exception { - ServiceModel testSubject; - Map<String, VolumeGroup> volumeGroups = null; - - // default test - testSubject = createTestSubject(); - testSubject.setVolumeGroups(volumeGroups); - } - - @Test - public void testAssociateGroups() throws Exception { - ServiceModel testSubject; - - // default test - testSubject = createTestSubject(); - testSubject.associateGroups(); - } -}
\ No newline at end of file |