summaryrefslogtreecommitdiffstats
path: root/common-be/src/test/java/org
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2020-06-23 09:15:48 +0100
committerSébastien Determe <sebastien.determe@intl.att.com>2020-09-04 14:42:04 +0000
commit032525a375681fb18cc498d8daed9d73faa21ec3 (patch)
tree20cf4c17f406b8d30c29ce904fe1f19ea4a2c989 /common-be/src/test/java/org
parentc16117e08b97da93da61be841c22f5759cdadd37 (diff)
Support for Nested/Hierarchical Services
Change-Id: I478cf2e1f9cf96443a3e35bf22ac2c9d72bca8f1 Issue-ID: SDC-3145 Signed-off-by: MichaelMorris <michael.morris@est.tech>
Diffstat (limited to 'common-be/src/test/java/org')
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java129
1 files changed, 0 insertions, 129 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java
index 6422e5564d..2cb0261a67 100644
--- a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java
@@ -20,10 +20,8 @@
package org.openecomp.sdc.be.datatypes.category;
-import org.junit.Assert;
import org.junit.Test;
-import java.util.List;
public class CategoryDataDefinitionTest {
@@ -35,137 +33,10 @@ public class CategoryDataDefinitionTest {
@Test
public void testCopyConstructor() throws Exception {
CategoryDataDefinition testSubject;
- String result;
// default test
testSubject = createTestSubject();
CategoryDataDefinition categoryDataDefinition = new CategoryDataDefinition(testSubject);
}
- @Test
- public void testGetName() throws Exception {
- CategoryDataDefinition testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getName();
- }
-
-
- @Test
- public void testSetName() throws Exception {
- CategoryDataDefinition testSubject;
- String name = "";
-
- // default test
- testSubject = createTestSubject();
- testSubject.setName(name);
- }
-
-
- @Test
- public void testGetNormalizedName() throws Exception {
- CategoryDataDefinition testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getNormalizedName();
- }
-
-
- @Test
- public void testSetNormalizedName() throws Exception {
- CategoryDataDefinition testSubject;
- String normalizedName = "";
-
- // default test
- testSubject = createTestSubject();
- testSubject.setNormalizedName(normalizedName);
- }
-
-
- @Test
- public void testGetUniqueId() throws Exception {
- CategoryDataDefinition testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getUniqueId();
- }
-
-
- @Test
- public void testSetUniqueId() throws Exception {
- CategoryDataDefinition testSubject;
- String uniqueId = "";
-
- // default test
- testSubject = createTestSubject();
- testSubject.setUniqueId(uniqueId);
- }
-
-
- @Test
- public void testGetIcons() throws Exception {
- CategoryDataDefinition testSubject;
- List<String> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getIcons();
- }
-
-
- @Test
- public void testSetIcons() throws Exception {
- CategoryDataDefinition testSubject;
- List<String> icons = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setIcons(icons);
- }
-
-
- @Test
- public void testHashCode() throws Exception {
- CategoryDataDefinition testSubject;
- int result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.hashCode();
- }
-
-
- @Test
- public void testEquals() throws Exception {
- CategoryDataDefinition testSubject;
- Object obj = null;
- boolean result;
-
- // test 1
- testSubject = createTestSubject();
- obj = null;
- result = testSubject.equals(obj);
- Assert.assertEquals(false, result);
- result = testSubject.equals(testSubject);
- Assert.assertEquals(true, result);
- result = testSubject.equals(new CategoryDataDefinition(testSubject));
- Assert.assertEquals(true, result);
- }
-
-
- @Test
- public void testToString() throws Exception {
- CategoryDataDefinition testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.toString();
- }
}