From 032525a375681fb18cc498d8daed9d73faa21ec3 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Tue, 23 Jun 2020 09:15:48 +0100 Subject: Support for Nested/Hierarchical Services Change-Id: I478cf2e1f9cf96443a3e35bf22ac2c9d72bca8f1 Issue-ID: SDC-3145 Signed-off-by: MichaelMorris --- .../category/CategoryDataDefinitionTest.java | 129 --------------------- 1 file changed, 129 deletions(-) (limited to 'common-be/src/test') 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 result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getIcons(); - } - - - @Test - public void testSetIcons() throws Exception { - CategoryDataDefinition testSubject; - List 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(); - } } -- cgit 1.2.3-korg