summaryrefslogtreecommitdiffstats
path: root/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java')
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java78
1 files changed, 78 insertions, 0 deletions
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java
new file mode 100644
index 0000000000..6e72a31421
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java
@@ -0,0 +1,78 @@
+package org.openecomp.sdc.asdctool.impl.validator.utils;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ElementTypeEnumTest {
+
+ private ElementTypeEnum createTestSubject() {
+ return ElementTypeEnum.VF;
+ }
+
+
+ @Test
+ public void testGetByType() throws Exception {
+ String elementType = "";
+ ElementTypeEnum result;
+
+ // default test
+ result = ElementTypeEnum.getByType(elementType);
+ }
+
+
+ @Test
+ public void testGetAllTypes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = ElementTypeEnum.getAllTypes();
+ }
+
+
+ @Test
+ public void testGetElementType() throws Exception {
+ ElementTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getElementType();
+ }
+
+
+ @Test
+ public void testSetElementType() throws Exception {
+ ElementTypeEnum testSubject;
+ String elementType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setElementType(elementType);
+ }
+
+
+ @Test
+ public void testGetClazz() throws Exception {
+ ElementTypeEnum testSubject;
+ Class result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getClazz();
+ }
+
+
+ @Test
+ public void testSetClazz() throws Exception {
+ ElementTypeEnum testSubject;
+ Class clazz = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setClazz(clazz);
+ }
+} \ No newline at end of file