aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-dao/src/test/java')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java50
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java93
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java83
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java40
4 files changed, 0 insertions, 266 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java
deleted file mode 100644
index 529f642fb2..0000000000
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.openecomp.sdc.be.dao.neo4j.filters;
-
-import java.util.Map;
-
-import javax.annotation.Generated;
-
-import org.junit.Test;
-
-
-public class MatchFilterTest {
-
- private MatchFilter createTestSubject() {
- return new MatchFilter();
- }
-
-
- @Test
- public void testGetProperties() throws Exception {
- MatchFilter testSubject;
- Map<String, Object> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getProperties();
- }
-
-
- @Test
- public void testSetProperties() throws Exception {
- MatchFilter testSubject;
- Map<String, Object> properties = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setProperties(properties);
- }
-
-
- @Test
- public void testAddToMatch() throws Exception {
- MatchFilter testSubject;
- String propName = "";
- Object value = null;
- MatchFilter result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.addToMatch(propName, value);
- }
-} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java
deleted file mode 100644
index 76b36d2a97..0000000000
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java
+++ /dev/null
@@ -1,93 +0,0 @@
-package org.openecomp.sdc.be.dao.neo4j.filters;
-
-import javax.annotation.Generated;
-
-import org.junit.Test;
-import org.openecomp.sdc.be.dao.graph.datatype.GraphNode;
-
-
-public class RecursiveByRelationFilterTest {
-
- private RecursiveByRelationFilter createTestSubject() {
- return new RecursiveByRelationFilter();
- }
-
-
- @Test
- public void testAddNode() throws Exception {
- RecursiveByRelationFilter testSubject;
- GraphNode node = null;
- RecursiveByRelationFilter result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.addNode(node);
- }
-
-
- @Test
- public void testAddRelation() throws Exception {
- RecursiveByRelationFilter testSubject;
- String relationType = "";
- RecursiveByRelationFilter result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.addRelation(relationType);
- }
-
-
- @Test
- public void testGetNode() throws Exception {
- RecursiveByRelationFilter testSubject;
- GraphNode result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getNode();
- }
-
-
- @Test
- public void testSetNode() throws Exception {
- RecursiveByRelationFilter testSubject;
- GraphNode node = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setNode(node);
- }
-
-
- @Test
- public void testGetRelationType() throws Exception {
- RecursiveByRelationFilter testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getRelationType();
- }
-
-
- @Test
- public void testSetRelationType() throws Exception {
- RecursiveByRelationFilter testSubject;
- String relationType = "";
-
- // default test
- testSubject = createTestSubject();
- testSubject.setRelationType(relationType);
- }
-
-
- @Test
- public void testToString() throws Exception {
- RecursiveByRelationFilter testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.toString();
- }
-} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java
deleted file mode 100644
index 990a2b4972..0000000000
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.openecomp.sdc.be.dao.neo4j.filters;
-
-import java.util.List;
-
-import javax.annotation.Generated;
-
-import org.junit.Test;
-import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum;
-
-
-public class RecursiveFilterTest {
-
- private RecursiveFilter createTestSubject() {
- return new RecursiveFilter();
- }
-
-
- @Test
- public void testAddChildRelationType() throws Exception {
- RecursiveFilter testSubject;
- String type = "";
- RecursiveFilter result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.addChildRelationType(type);
- }
-
-
- @Test
- public void testGetChildRelationTypes() throws Exception {
- RecursiveFilter testSubject;
- List<String> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getChildRelationTypes();
- }
-
-
- @Test
- public void testSetChildRelationTypes() throws Exception {
- RecursiveFilter testSubject;
- List<String> childRelationTypes = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setChildRelationTypes(childRelationTypes);
- }
-
-
- @Test
- public void testGetNodeType() throws Exception {
- RecursiveFilter testSubject;
- NodeTypeEnum result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getNodeType();
- }
-
-
- @Test
- public void testSetNodeType() throws Exception {
- RecursiveFilter testSubject;
- NodeTypeEnum nodeType = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setNodeType(nodeType);
- }
-
-
- @Test
- public void testToString() throws Exception {
- RecursiveFilter testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.toString();
- }
-} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java
deleted file mode 100644
index 55a9255d31..0000000000
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.openecomp.sdc.be.dao.neo4j.filters;
-
-import java.util.Map;
-
-import javax.annotation.Generated;
-
-import org.junit.Test;
-
-
-public class UpdateFilterTest {
-
- private UpdateFilter createTestSubject() {
- return new UpdateFilter(null);
- }
-
-
- @Test
- public void testGetToUpdate() throws Exception {
- UpdateFilter testSubject;
- Map<String, Object> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getToUpdate();
- }
-
-
- @Test
- public void testSetToUpdate() throws Exception {
- UpdateFilter testSubject;
- Map<String, Object> toUpdate = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setToUpdate(toUpdate);
- }
-
-
-
-} \ No newline at end of file