From 1cfb08779ea0e00be69e072a940b3063e049fe6b Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Wed, 31 Jan 2018 17:19:00 +0200 Subject: org.onap migration Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d Issue-ID: VID-86 Signed-off-by: Ofir Sonsino --- .../openecomp/vid/aai/AaiGetVnfResponseTest.java | 33 ----- .../openecomp/vid/aai/ServicePropertiesTest.java | 33 ----- .../vid/aai/SubscriberAaiResponseTest.java | 22 --- .../vid/aai/SubscriberWithFilterTest.java | 30 ---- .../test/java/org/openecomp/vid/aai/TestSuite.java | 12 -- .../java/org/openecomp/vid/aai/VnfResultTest.java | 33 ----- .../vid/aai/model/RelatedToPropertyTest.java | 55 ------- .../vid/aai/model/RelationshipDataTest.java | 55 ------- .../openecomp/vid/aai/model/RelationshipTest.java | 101 ------------- .../vid/aai/model/ServiceRelationshipsTest.java | 165 --------------------- .../org/openecomp/vid/aai/model/TestSuite.java | 11 -- 11 files changed, 550 deletions(-) delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/AaiGetVnfResponseTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/ServicePropertiesTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberAaiResponseTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberWithFilterTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/TestSuite.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/VnfResultTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipDataTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/model/ServiceRelationshipsTest.java delete mode 100644 vid-app-common/src/test/java/org/openecomp/vid/aai/model/TestSuite.java (limited to 'vid-app-common/src/test/java/org/openecomp/vid/aai') diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/AaiGetVnfResponseTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/AaiGetVnfResponseTest.java deleted file mode 100644 index b959709d..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/AaiGetVnfResponseTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.openecomp.vid.aai; - -import java.util.Map; - -import org.junit.Test; - -public class AaiGetVnfResponseTest { - - private AaiGetVnfResponse createTestSubject() { - return new AaiGetVnfResponse(); - } - - @Test - public void testGetAdditionalProperties() throws Exception { - AaiGetVnfResponse testSubject; - Map result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getAdditionalProperties(); - } - - @Test - public void testSetAdditionalProperty() throws Exception { - AaiGetVnfResponse testSubject; - String name = ""; - Object value = null; - - // default test - testSubject = createTestSubject(); - testSubject.setAdditionalProperty(name, value); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/ServicePropertiesTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/ServicePropertiesTest.java deleted file mode 100644 index d3c50aff..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/ServicePropertiesTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.openecomp.vid.aai; - -import java.util.Map; - -import org.junit.Test; - -public class ServicePropertiesTest { - - private ServiceProperties createTestSubject() { - return new ServiceProperties(); - } - - @Test - public void testGetAdditionalProperties() throws Exception { - ServiceProperties testSubject; - Map result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getAdditionalProperties(); - } - - @Test - public void testSetAdditionalProperty() throws Exception { - ServiceProperties testSubject; - String name = ""; - Object value = null; - - // default test - testSubject = createTestSubject(); - testSubject.setAdditionalProperty(name, value); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberAaiResponseTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberAaiResponseTest.java deleted file mode 100644 index 26954011..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberAaiResponseTest.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.openecomp.vid.aai; - -import org.junit.Test; -import org.openecomp.vid.model.SubscriberList; - -public class SubscriberAaiResponseTest { - - private SubscriberAaiResponse createTestSubject() { - return new SubscriberAaiResponse(new SubscriberList(), "", 0); - } - - - @Test - public void testGetSubscriberList() throws Exception { - SubscriberAaiResponse testSubject; - SubscriberList result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getSubscriberList(); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberWithFilterTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberWithFilterTest.java deleted file mode 100644 index 7fca7c99..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/SubscriberWithFilterTest.java +++ /dev/null @@ -1,30 +0,0 @@ -package org.openecomp.vid.aai; - -import org.junit.Test; - -public class SubscriberWithFilterTest { - - private SubscriberWithFilter createTestSubject() { - return new SubscriberWithFilter(); - } - - @Test - public void testGetIsPermitted() throws Exception { - SubscriberWithFilter testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getIsPermitted(); - } - - @Test - public void testSetIsPermitted() throws Exception { - SubscriberWithFilter testSubject; - boolean isPermitted = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIsPermitted(isPermitted); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/TestSuite.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/TestSuite.java deleted file mode 100644 index 0629d78c..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/TestSuite.java +++ /dev/null @@ -1,12 +0,0 @@ -package org.openecomp.vid.aai; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith(Suite.class) -@Suite.SuiteClasses( - -{ SubscriberAaiResponseTest.class, AaiGetVnfResponseTest.class, ServicePropertiesTest.class, - SubscriberWithFilterTest.class, VnfResultTest.class, org.openecomp.vid.aai.model.TestSuite.class }) -public class TestSuite { // nothing -} diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/VnfResultTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/VnfResultTest.java deleted file mode 100644 index 6efa05aa..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/VnfResultTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.openecomp.vid.aai; - -import java.util.Map; - -import org.junit.Test; - -public class VnfResultTest { - - private VnfResult createTestSubject() { - return new VnfResult(); - } - - @Test - public void testGetAdditionalProperties() throws Exception { - VnfResult testSubject; - Map result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getAdditionalProperties(); - } - - @Test - public void testSetAdditionalProperty() throws Exception { - VnfResult testSubject; - String name = ""; - Object value = null; - - // default test - testSubject = createTestSubject(); - testSubject.setAdditionalProperty(name, value); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java deleted file mode 100644 index 08a87173..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java +++ /dev/null @@ -1,55 +0,0 @@ -package org.openecomp.vid.aai.model; - -import org.junit.Test; - - -public class RelatedToPropertyTest { - - private RelatedToProperty createTestSubject() { - return new RelatedToProperty(); - } - - - @Test - public void testGetPropertyKey() throws Exception { - RelatedToProperty testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getPropertyKey(); - } - - - @Test - public void testSetPropertyKey() throws Exception { - RelatedToProperty testSubject; - String propertyKey = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setPropertyKey(propertyKey); - } - - - @Test - public void testGetPropertyValue() throws Exception { - RelatedToProperty testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getPropertyValue(); - } - - - @Test - public void testSetPropertyValue() throws Exception { - RelatedToProperty testSubject; - String propertyValue = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setPropertyValue(propertyValue); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipDataTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipDataTest.java deleted file mode 100644 index 4df27ccd..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipDataTest.java +++ /dev/null @@ -1,55 +0,0 @@ -package org.openecomp.vid.aai.model; - -import org.junit.Test; - - -public class RelationshipDataTest { - - private RelationshipData createTestSubject() { - return new RelationshipData(); - } - - - @Test - public void testGetRelationshipKey() throws Exception { - RelationshipData testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getRelationshipKey(); - } - - - @Test - public void testSetRelationshipKey() throws Exception { - RelationshipData testSubject; - String relationshipKey = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setRelationshipKey(relationshipKey); - } - - - @Test - public void testGetRelationshipValue() throws Exception { - RelationshipData testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getRelationshipValue(); - } - - - @Test - public void testSetRelationshipValue() throws Exception { - RelationshipData testSubject; - String relationshipValue = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setRelationshipValue(relationshipValue); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipTest.java deleted file mode 100644 index 4f5e3353..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelationshipTest.java +++ /dev/null @@ -1,101 +0,0 @@ -package org.openecomp.vid.aai.model; - -import java.util.List; - -import org.junit.Test; - - -public class RelationshipTest { - - private Relationship createTestSubject() { - return new Relationship(); - } - - - @Test - public void testGetRelatedTo() throws Exception { - Relationship testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getRelatedTo(); - } - - - @Test - public void testSetRelatedTo() throws Exception { - Relationship testSubject; - String relatedTo = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setRelatedTo(relatedTo); - } - - - @Test - public void testGetRelatedLink() throws Exception { - Relationship testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getRelatedLink(); - } - - - @Test - public void testSetRelatedLink() throws Exception { - Relationship testSubject; - String relatedLink = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setRelatedLink(relatedLink); - } - - - @Test - public void testGetRelationDataList() throws Exception { - Relationship testSubject; - List result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getRelationDataList(); - } - - - @Test - public void testSetRelationDataList() throws Exception { - Relationship testSubject; - List relationDataList = null; - - // default test - testSubject = createTestSubject(); - testSubject.setRelationDataList(relationDataList); - } - - - @Test - public void testGetRelatedToPropertyList() throws Exception { - Relationship testSubject; - List result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getRelatedToPropertyList(); - } - - - @Test - public void testSetRelatedToPropertyList() throws Exception { - Relationship testSubject; - List relatedToPropertyList = null; - - // default test - testSubject = createTestSubject(); - testSubject.setRelatedToPropertyList(relatedToPropertyList); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/ServiceRelationshipsTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/model/ServiceRelationshipsTest.java deleted file mode 100644 index c67e3f8d..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/ServiceRelationshipsTest.java +++ /dev/null @@ -1,165 +0,0 @@ -package org.openecomp.vid.aai.model; - -import org.junit.Test; - - -public class ServiceRelationshipsTest { - - private ServiceRelationships createTestSubject() { - return new ServiceRelationships(); - } - - - @Test - public void testGetServiceInstanceId() throws Exception { - ServiceRelationships testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getServiceInstanceId(); - } - - - @Test - public void testSetServiceInstanceId() throws Exception { - ServiceRelationships testSubject; - String serviceInstanceId = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setServiceInstanceId(serviceInstanceId); - } - - - @Test - public void testGetServiceInstanceName() throws Exception { - ServiceRelationships testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getServiceInstanceName(); - } - - - @Test - public void testSetServiceInstanceName() throws Exception { - ServiceRelationships testSubject; - String serviceInstanceName = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setServiceInstanceName(serviceInstanceName); - } - - - @Test - public void testGetModelInvariantId() throws Exception { - ServiceRelationships testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getModelInvariantId(); - } - - - @Test - public void testSetModelInvariantId() throws Exception { - ServiceRelationships testSubject; - String modelInvariantId = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setModelInvariantId(modelInvariantId); - } - - - @Test - public void testGetModelVersionId() throws Exception { - ServiceRelationships testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getModelVersionId(); - } - - - @Test - public void testSetModelVersionId() throws Exception { - ServiceRelationships testSubject; - String modelVersionId = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setModelVersionId(modelVersionId); - } - - - @Test - public void testGetResourceVersion() throws Exception { - ServiceRelationships testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getResourceVersion(); - } - - - @Test - public void testSetResourceVersion() throws Exception { - ServiceRelationships testSubject; - String resourceVersion = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setResourceVersion(resourceVersion); - } - - - @Test - public void testGetOrchestrationStatus() throws Exception { - ServiceRelationships testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getOrchestrationStatus(); - } - - - @Test - public void testSetOrchestrationStatus() throws Exception { - ServiceRelationships testSubject; - String orchestrationStatus = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setOrchestrationStatus(orchestrationStatus); - } - - - @Test - public void testGetRelationshipList() throws Exception { - ServiceRelationships testSubject; - RelationshipList result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getRelationshipList(); - } - - - @Test - public void testSetRelationshipList() throws Exception { - ServiceRelationships testSubject; - RelationshipList relationshipList = null; - - // default test - testSubject = createTestSubject(); - testSubject.setRelationshipList(relationshipList); - } -} \ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/TestSuite.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/model/TestSuite.java deleted file mode 100644 index 34ca70bd..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/TestSuite.java +++ /dev/null @@ -1,11 +0,0 @@ -package org.openecomp.vid.aai.model; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith(Suite.class) -@Suite.SuiteClasses( - -{ ServiceRelationshipsTest.class, RelationshipTest.class, RelatedToPropertyTest.class, RelationshipDataTest.class }) -public class TestSuite { // nothing -} -- cgit 1.2.3-korg