diff options
author | 2018-01-31 17:19:00 +0200 | |
---|---|---|
committer | 2018-01-31 17:19:00 +0200 | |
commit | 1cfb08779ea0e00be69e072a940b3063e049fe6b (patch) | |
tree | 6602a900387c8393ed0dcd81c0539381632903c6 /vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects | |
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/scheduler/RestObjects')
5 files changed, 0 insertions, 166 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/GetTimeSlotsRestObjectTest.java b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/GetTimeSlotsRestObjectTest.java deleted file mode 100644 index 9041bdbf..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/GetTimeSlotsRestObjectTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.openecomp.vid.scheduler.RestObjects; - -import org.junit.Test; - - -public class GetTimeSlotsRestObjectTest { - - private GetTimeSlotsRestObject createTestSubject() { - return new GetTimeSlotsRestObject(); - } - - - @Test - public void testSetUUID() throws Exception { - GetTimeSlotsRestObject testSubject; - String uuid = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setUUID(uuid); - } - - - @Test - public void testGetUUID() throws Exception { - GetTimeSlotsRestObject testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getUUID(); - } -}
\ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/PostCreateNewVnfRestObjectTest.java b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/PostCreateNewVnfRestObjectTest.java deleted file mode 100644 index 79e97884..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/PostCreateNewVnfRestObjectTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.openecomp.vid.scheduler.RestObjects; - -import org.junit.Test; - - -public class PostCreateNewVnfRestObjectTest { - - private PostCreateNewVnfRestObject createTestSubject() { - return new PostCreateNewVnfRestObject(); - } - - - @Test - public void testSetUUID() throws Exception { - PostCreateNewVnfRestObject testSubject; - String uuid = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setUUID(uuid); - } - - - @Test - public void testGetUUID() throws Exception { - PostCreateNewVnfRestObject testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getUUID(); - } -}
\ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/PostSubmitVnfChangeRestObjectTest.java b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/PostSubmitVnfChangeRestObjectTest.java deleted file mode 100644 index dd2e6f7c..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/PostSubmitVnfChangeRestObjectTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.openecomp.vid.scheduler.RestObjects; - -import org.junit.Test; - - -public class PostSubmitVnfChangeRestObjectTest { - - private PostSubmitVnfChangeRestObject createTestSubject() { - return new PostSubmitVnfChangeRestObject(); - } - - - @Test - public void testSetUUID() throws Exception { - PostSubmitVnfChangeRestObject testSubject; - String uuid = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setUUID(uuid); - } - - - @Test - public void testGetUUID() throws Exception { - PostSubmitVnfChangeRestObject testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getUUID(); - } -}
\ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/RestObjectTest.java b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/RestObjectTest.java deleted file mode 100644 index 5ab609ac..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/RestObjectTest.java +++ /dev/null @@ -1,55 +0,0 @@ -package org.openecomp.vid.scheduler.RestObjects; - -import org.apache.poi.hssf.record.formula.functions.T; -import org.junit.Test; - - -public class RestObjectTest { - - private RestObject createTestSubject() { - return new RestObject(); - } - - - @Test - public void testSet() throws Exception { - RestObject testSubject; - T t = null; - - // default test - testSubject = createTestSubject(); - testSubject.set(t); - } - - - @Test - public void testGet() throws Exception { - RestObject testSubject; - - // default test - testSubject = createTestSubject(); - testSubject.get(); - } - - - @Test - public void testSetStatusCode() throws Exception { - RestObject testSubject; - int v = 0; - - // default test - testSubject = createTestSubject(); - testSubject.setStatusCode(v); - } - - - @Test - public void testGetStatusCode() throws Exception { - RestObject testSubject; - int result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getStatusCode(); - } -}
\ No newline at end of file diff --git a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/TestSuite.java b/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/TestSuite.java deleted file mode 100644 index 8e532142..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/scheduler/RestObjects/TestSuite.java +++ /dev/null @@ -1,12 +0,0 @@ -package org.openecomp.vid.scheduler.RestObjects; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; - -@RunWith(Suite.class) -@Suite.SuiteClasses( - -{ RestObjectTest.class, GetTimeSlotsRestObjectTest.class, PostSubmitVnfChangeRestObjectTest.class, - PostCreateNewVnfRestObjectTest.class }) -public class TestSuite { // nothing -} |