diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-03-15 15:53:01 +0000 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-03-16 13:31:17 +0000 |
commit | 1da764ea13793535597dc6518b5e953393e9dbe0 (patch) | |
tree | 98894a91233a77c4093f845908759a7660fb3d7a /common-be/src/test | |
parent | 510f99e32b7c66b267f69e7f4830674bd9b14974 (diff) |
Improve test coverage
Change-Id: Ib5c9e148bfba2167f65130d71c3a633f03dfa71e
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3428
Diffstat (limited to 'common-be/src/test')
-rw-r--r-- | common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java index bcd04bc1b2..c3a127c8ff 100644 --- a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java +++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java @@ -31,51 +31,6 @@ public class ProductMetadataDataDefinitionTest { return new ProductMetadataDataDefinition(); } - - @Test - public void testGetIsActive() throws Exception { - ProductMetadataDataDefinition testSubject; - Boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getIsActive(); - } - - - @Test - public void testSetIsActive() throws Exception { - ProductMetadataDataDefinition testSubject; - Boolean active = null; - - // default test - testSubject = createTestSubject(); - testSubject.setIsActive(active); - } - - - @Test - public void testGetContacts() throws Exception { - ProductMetadataDataDefinition testSubject; - List<String> result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getContacts(); - } - - - @Test - public void testSetContacts() throws Exception { - ProductMetadataDataDefinition testSubject; - List<String> contacts = null; - - // default test - testSubject = createTestSubject(); - testSubject.setContacts(contacts); - } - - @Test public void testAddContact() throws Exception { ProductMetadataDataDefinition testSubject; @@ -92,64 +47,6 @@ public class ProductMetadataDataDefinitionTest { testSubject.addContact(contact); } - - @Test - public void testGetFullName() throws Exception { - ProductMetadataDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getFullName(); - } - - - @Test - public void testSetFullName() throws Exception { - ProductMetadataDataDefinition testSubject; - String fullName = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setFullName(fullName); - } - - - @Test - public void testToString() throws Exception { - ProductMetadataDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.toString(); - } - - - @Test - public void testHashCode() throws Exception { - ProductMetadataDataDefinition testSubject; - int result; - - // default test - testSubject = createTestSubject(); - result = testSubject.hashCode(); - } - - - @Test - public void testEquals() throws Exception { - ProductMetadataDataDefinition testSubject; - Object obj = null; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.equals(obj); - result = testSubject.equals(testSubject); - result = testSubject.equals(createTestSubject()); - } - @Test public void testGetActualComponentType() throws Exception { ProductMetadataDataDefinition testSubject; |