diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-09-15 14:27:20 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-09-19 08:39:08 +0000 |
commit | 3935993a90fe768585ab5e908d6334567c1823de (patch) | |
tree | 6539da2e6809e0faa6859e5b9deb2ce6cdd93181 /common-be/src/test/java/org/openecomp | |
parent | 0d38a72c022fa93dba0bf052f893e51fb73d3552 (diff) |
Import unknown group types during Service import
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ic435ee0c440dd8ed64339bab08e921687d23b9c0
Issue-ID: SDC-4176
Diffstat (limited to 'common-be/src/test/java/org/openecomp')
-rw-r--r-- | common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java | 274 |
1 files changed, 0 insertions, 274 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java deleted file mode 100644 index 2a75b785c5..0000000000 --- a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java +++ /dev/null @@ -1,274 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.be.datatypes.elements; - -import org.junit.Test; - -import java.util.List; -import java.util.Map; - - -public class GroupTypeDataDefinitionTest { - - private GroupTypeDataDefinition createTestSubject() { - return new GroupTypeDataDefinition(); - } - - @Test - public void testCopyConstructor() throws Exception { - GroupTypeDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - new GroupTypeDataDefinition(testSubject); - } - - @Test - public void testGetType() throws Exception { - GroupTypeDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getType(); - } - - - @Test - public void testSetType() throws Exception { - GroupTypeDataDefinition testSubject; - String type = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setType(type); - } - - - @Test - public void testGetVersion() throws Exception { - GroupTypeDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getVersion(); - } - - - @Test - public void testSetVersion() throws Exception { - GroupTypeDataDefinition testSubject; - String version = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setVersion(version); - } - - - @Test - public void testGetMembers() throws Exception { - GroupTypeDataDefinition testSubject; - List<String> result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getMembers(); - } - - - @Test - public void testSetMembers() throws Exception { - GroupTypeDataDefinition testSubject; - List<String> members = null; - - // default test - testSubject = createTestSubject(); - testSubject.setMembers(members); - } - - - @Test - public void testGetMetadata() throws Exception { - GroupTypeDataDefinition testSubject; - Map<String, String> result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getMetadata(); - } - - - @Test - public void testSetMetadata() throws Exception { - GroupTypeDataDefinition testSubject; - Map<String, String> metadata = null; - - // default test - testSubject = createTestSubject(); - testSubject.setMetadata(metadata); - } - - - @Test - public void testGetDescription() throws Exception { - GroupTypeDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getDescription(); - } - - - @Test - public void testSetDescription() throws Exception { - GroupTypeDataDefinition testSubject; - String description = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setDescription(description); - } - - - @Test - public void testGetUniqueId() throws Exception { - GroupTypeDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getUniqueId(); - } - - - @Test - public void testSetUniqueId() throws Exception { - GroupTypeDataDefinition testSubject; - String uniqueId = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setUniqueId(uniqueId); - } - - - @Test - public void testGetCreationTime() throws Exception { - GroupTypeDataDefinition testSubject; - Long result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getCreationTime(); - } - - - @Test - public void testSetCreationTime() throws Exception { - GroupTypeDataDefinition testSubject; - Long creationTime = null; - - // default test - testSubject = createTestSubject(); - testSubject.setCreationTime(creationTime); - } - - - @Test - public void testGetModificationTime() throws Exception { - GroupTypeDataDefinition testSubject; - Long result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getModificationTime(); - } - - - @Test - public void testSetModificationTime() throws Exception { - GroupTypeDataDefinition testSubject; - Long modificationTime = null; - - // default test - testSubject = createTestSubject(); - testSubject.setModificationTime(modificationTime); - } - - - @Test - public void testToString() throws Exception { - GroupTypeDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.toString(); - } - - - @Test - public void testGetDerivedFrom() throws Exception { - GroupTypeDataDefinition testSubject; - String result; - - // default test - testSubject = createTestSubject(); - result = testSubject.getDerivedFrom(); - } - - - @Test - public void testSetDerivedFrom() throws Exception { - GroupTypeDataDefinition testSubject; - String derivedFrom = ""; - - // default test - testSubject = createTestSubject(); - testSubject.setDerivedFrom(derivedFrom); - } - - - @Test - public void testIsHighestVersion() throws Exception { - GroupTypeDataDefinition testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isHighestVersion(); - } - - - @Test - public void testSetHighestVersion() throws Exception { - GroupTypeDataDefinition testSubject; - boolean isLatestVersion = false; - - // default test - testSubject = createTestSubject(); - testSubject.setHighestVersion(isLatestVersion); - } -} |