summaryrefslogtreecommitdiffstats
path: root/common-be/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src/test/java/org')
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java24
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java30
2 files changed, 26 insertions, 28 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java
index 9681ee0e22..1bf03b15dd 100644
--- a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java
@@ -11,7 +11,7 @@ public class InterfaceDataDefinitionTest {
return new InterfaceDataDefinition();
}
-
+
@Test
public void testGetUniqueId() throws Exception {
InterfaceDataDefinition testSubject;
@@ -22,7 +22,7 @@ public class InterfaceDataDefinitionTest {
result = testSubject.getUniqueId();
}
-
+
@Test
public void testSetUniqueId() throws Exception {
InterfaceDataDefinition testSubject;
@@ -33,7 +33,7 @@ public class InterfaceDataDefinitionTest {
testSubject.setUniqueId(uniqueId);
}
-
+
@Test
public void testGetType() throws Exception {
InterfaceDataDefinition testSubject;
@@ -44,7 +44,7 @@ public class InterfaceDataDefinitionTest {
result = testSubject.getType();
}
-
+
@Test
public void testSetType() throws Exception {
InterfaceDataDefinition testSubject;
@@ -55,7 +55,7 @@ public class InterfaceDataDefinitionTest {
testSubject.setType(type);
}
-
+
@Test
public void testGetCreationDate() throws Exception {
InterfaceDataDefinition testSubject;
@@ -66,7 +66,7 @@ public class InterfaceDataDefinitionTest {
result = testSubject.getCreationDate();
}
-
+
@Test
public void testSetCreationDate() throws Exception {
InterfaceDataDefinition testSubject;
@@ -77,7 +77,7 @@ public class InterfaceDataDefinitionTest {
testSubject.setCreationDate(creationDate);
}
-
+
@Test
public void testGetLastUpdateDate() throws Exception {
InterfaceDataDefinition testSubject;
@@ -88,7 +88,7 @@ public class InterfaceDataDefinitionTest {
result = testSubject.getLastUpdateDate();
}
-
+
@Test
public void testSetLastUpdateDate() throws Exception {
InterfaceDataDefinition testSubject;
@@ -99,7 +99,7 @@ public class InterfaceDataDefinitionTest {
testSubject.setLastUpdateDate(lastUpdateDate);
}
-
+
@Test
public void testGetDescription() throws Exception {
InterfaceDataDefinition testSubject;
@@ -110,7 +110,7 @@ public class InterfaceDataDefinitionTest {
result = testSubject.getDescription();
}
-
+
@Test
public void testSetDescription() throws Exception {
InterfaceDataDefinition testSubject;
@@ -121,7 +121,7 @@ public class InterfaceDataDefinitionTest {
testSubject.setDescription(description);
}
-
+
@Test
public void testGetOperations() throws Exception {
InterfaceDataDefinition testSubject;
@@ -132,7 +132,7 @@ public class InterfaceDataDefinitionTest {
result = testSubject.getOperations();
}
-
+
@Test
public void testSetOperations() throws Exception {
InterfaceDataDefinition testSubject;
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java
index dc31a73c7c..59fd79b731 100644
--- a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java
@@ -1,7 +1,5 @@
package org.openecomp.sdc.be.datatypes.elements;
-import java.util.Map;
-
import org.junit.Test;
@@ -11,7 +9,7 @@ public class OperationDataDefinitionTest {
return new OperationDataDefinition();
}
-
+
@Test
public void testGetUniqueId() throws Exception {
OperationDataDefinition testSubject;
@@ -22,7 +20,7 @@ public class OperationDataDefinitionTest {
result = testSubject.getUniqueId();
}
-
+
@Test
public void testSetUniqueId() throws Exception {
OperationDataDefinition testSubject;
@@ -33,7 +31,7 @@ public class OperationDataDefinitionTest {
testSubject.setUniqueId(uniqueId);
}
-
+
@Test
public void testGetCreationDate() throws Exception {
OperationDataDefinition testSubject;
@@ -44,7 +42,7 @@ public class OperationDataDefinitionTest {
result = testSubject.getCreationDate();
}
-
+
@Test
public void testSetCreationDate() throws Exception {
OperationDataDefinition testSubject;
@@ -55,7 +53,7 @@ public class OperationDataDefinitionTest {
testSubject.setCreationDate(creationDate);
}
-
+
@Test
public void testGetLastUpdateDate() throws Exception {
OperationDataDefinition testSubject;
@@ -66,7 +64,7 @@ public class OperationDataDefinitionTest {
result = testSubject.getLastUpdateDate();
}
-
+
@Test
public void testSetLastUpdateDate() throws Exception {
OperationDataDefinition testSubject;
@@ -77,7 +75,7 @@ public class OperationDataDefinitionTest {
testSubject.setLastUpdateDate(lastUpdateDate);
}
-
+
@Test
public void testGetDescription() throws Exception {
OperationDataDefinition testSubject;
@@ -88,7 +86,7 @@ public class OperationDataDefinitionTest {
result = testSubject.getDescription();
}
-
+
@Test
public void testSetDescription() throws Exception {
OperationDataDefinition testSubject;
@@ -99,7 +97,7 @@ public class OperationDataDefinitionTest {
testSubject.setDescription(description);
}
-
+
@Test
public void testGetImplementation() throws Exception {
OperationDataDefinition testSubject;
@@ -110,7 +108,7 @@ public class OperationDataDefinitionTest {
result = testSubject.getImplementation();
}
-
+
@Test
public void testSetImplementation() throws Exception {
OperationDataDefinition testSubject;
@@ -121,22 +119,22 @@ public class OperationDataDefinitionTest {
testSubject.setImplementation(implementation);
}
-
+
@Test
public void testGetInputs() throws Exception {
OperationDataDefinition testSubject;
- Map<String, PropertyDataDefinition> result;
+ ListDataDefinition<OperationInputDefinition> result;
// default test
testSubject = createTestSubject();
result = testSubject.getInputs();
}
-
+
@Test
public void testSetInputs() throws Exception {
OperationDataDefinition testSubject;
- Map<String, PropertyDataDefinition> inputs = null;
+ ListDataDefinition<OperationInputDefinition> inputs = null;
// default test
testSubject = createTestSubject();