aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao/src
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-08-04 20:32:31 +0300
committerTal Gitelman <tg851x@intl.att.com>2018-08-05 17:39:27 +0000
commit6e6a179914fd6b8516c697991a501535bfc53172 (patch)
tree13b39810c35d5a4ea461b408608943225aa1be0a /catalog-dao/src
parent8d532a40d92455239e789aad996e699dfefd19cb (diff)
add removed unit tests
Change-Id: Iabd593d8d9ab0efeb32032d5c4d72b8fa1c27e63 Issue-ID: SDC-1590 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-dao/src')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java22
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java72
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java32
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java32
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java43
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java189
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java47
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java119
23 files changed, 1636 insertions, 0 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java
new file mode 100644
index 0000000000..b2fdc011f6
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java
@@ -0,0 +1,22 @@
+package org.openecomp.sdc.be.dao.cassandra.schema;
+
+import org.junit.Test;
+
+
+public class TableTest {
+
+ private Table createTestSubject() {
+ return Table.ARTIFACT;
+ }
+
+
+ @Test
+ public void testGetTableDescription() throws Exception {
+ Table testSubject;
+ ITableDescription result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableDescription();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java
new file mode 100644
index 0000000000..8e3e838ba1
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ArtifactTableDescriptionTest {
+
+ private ArtifactTableDescription createTestSubject() {
+ return new ArtifactTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ArtifactTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ArtifactTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ArtifactTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ArtifactTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ArtifactTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java
new file mode 100644
index 0000000000..fd7752774c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class AuthEventTableDescriptionTest {
+
+ private AuthEventTableDescription createTestSubject() {
+ return new AuthEventTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ AuthEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ AuthEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ AuthEventTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ AuthEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ AuthEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java
new file mode 100644
index 0000000000..bc97922b53
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ComponentCacheTableDescriptionTest {
+
+ private ComponentCacheTableDescription createTestSubject() {
+ return new ComponentCacheTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java
new file mode 100644
index 0000000000..74ea99e2ec
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ConsumerEventTableDefinitionTest {
+
+ private ConsumerEventTableDefinition createTestSubject() {
+ return new ConsumerEventTableDefinition();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java
new file mode 100644
index 0000000000..ca1d767065
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribDeployEventTableDescTest {
+
+ private DistribDeployEventTableDesc createTestSubject() {
+ return new DistribDeployEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java
new file mode 100644
index 0000000000..a3e11bf1a5
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribDownloadEventTableDescTest {
+
+ private DistribDownloadEventTableDesc createTestSubject() {
+ return new DistribDownloadEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java
new file mode 100644
index 0000000000..46eb0f590a
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribEngineEventTableDescTest {
+
+ private DistribEngineEventTableDesc createTestSubject() {
+ return new DistribEngineEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java
new file mode 100644
index 0000000000..4046a6101b
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribNotifEventTableDescTest {
+
+ private DistribNotifEventTableDesc createTestSubject() {
+ return new DistribNotifEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java
new file mode 100644
index 0000000000..2626536eed
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ExternalApiEventTableDescTest {
+
+ private ExternalApiEventTableDesc createTestSubject() {
+ return new ExternalApiEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java
new file mode 100644
index 0000000000..9cc7a556a0
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class GetCatHierEventTableDescTest {
+
+ private GetCatHierEventTableDesc createTestSubject() {
+ return new GetCatHierEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java
new file mode 100644
index 0000000000..d31cc59007
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class GetUebClusterEventTableDescTest {
+
+ private GetUebClusterEventTableDesc createTestSubject() {
+ return new GetUebClusterEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java
new file mode 100644
index 0000000000..b7c217f588
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class GetUsersListEventTableDescTest {
+
+ private GetUsersListEventTableDesc createTestSubject() {
+ return new GetUsersListEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java
new file mode 100644
index 0000000000..f79b2759d6
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class MigrationTasksTableDescriptionTest {
+
+ private MigrationTasksTableDescription createTestSubject() {
+ return new MigrationTasksTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java
new file mode 100644
index 0000000000..3cc4094d0f
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class OldExternalApiEventTableDescTest {
+
+ private OldExternalApiEventTableDesc createTestSubject() {
+ return new OldExternalApiEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java
new file mode 100644
index 0000000000..e0e02b5d86
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class SdcSchemaFilesTableDescriptionTest {
+
+ private SdcSchemaFilesTableDescription createTestSubject() {
+ return new SdcSchemaFilesTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java
new file mode 100644
index 0000000000..1da6867d01
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java
@@ -0,0 +1,72 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class UserAccessEventTableDescriptionTest {
+
+ private UserAccessEventTableDescription createTestSubject() {
+ return new UserAccessEventTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java
new file mode 100644
index 0000000000..0772ebb82d
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java
@@ -0,0 +1,32 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import org.junit.Test;
+
+
+public class EdgeLabelEnumTest {
+
+ private EdgeLabelEnum createTestSubject() {
+ return EdgeLabelEnum.ARTIFACTS;
+ }
+
+
+ @Test
+ public void testGetEdgeLabelEnum() throws Exception {
+ String name = "";
+ EdgeLabelEnum result;
+
+ // default test
+ result = EdgeLabelEnum.getEdgeLabelEnum(name);
+ }
+
+
+ @Test
+ public void testIsInstanceArtifactsLabel() throws Exception {
+ EdgeLabelEnum testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isInstanceArtifactsLabel();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java
new file mode 100644
index 0000000000..9f556b04f8
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java
@@ -0,0 +1,32 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import org.junit.Test;
+
+
+public class EdgePropertyEnumTest {
+
+ private EdgePropertyEnum createTestSubject() {
+ return EdgePropertyEnum.STATE;
+ }
+
+
+ @Test
+ public void testGetProperty() throws Exception {
+ EdgePropertyEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperty();
+ }
+
+
+ @Test
+ public void testGetByProperty() throws Exception {
+ String property = "";
+ EdgePropertyEnum result;
+
+ // default test
+ result = EdgePropertyEnum.getByProperty(property);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java
new file mode 100644
index 0000000000..db5ab71bca
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java
@@ -0,0 +1,43 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import org.junit.Test;
+
+
+public class VertexTypeEnumTest {
+
+ private VertexTypeEnum createTestSubject() {
+ return VertexTypeEnum.ADDITIONAL_INFORMATION;
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ VertexTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testGetClassOfJson() throws Exception {
+ VertexTypeEnum testSubject;
+ Class result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getClassOfJson();
+ }
+
+
+ @Test
+ public void testGetByName() throws Exception {
+ String name = "";
+ VertexTypeEnum result;
+
+ // default test
+ result = VertexTypeEnum.getByName(name);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java
new file mode 100644
index 0000000000..178ac2a6a2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java
@@ -0,0 +1,189 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Date;
+
+import org.junit.Test;
+
+
+public class MigrationTaskEntryTest {
+
+ private MigrationTaskEntry createTestSubject() {
+ return new MigrationTaskEntry();
+ }
+
+
+ @Test
+ public void testSetMajorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long majorVersion = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMajorVersion(majorVersion);
+ }
+
+
+ @Test
+ public void testSetMinorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long minorVersion = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMinorVersion(minorVersion);
+ }
+
+
+ @Test
+ public void testSetTimestamp() throws Exception {
+ MigrationTaskEntry testSubject;
+ Date timestamp = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp(timestamp);
+ }
+
+
+ @Test
+ public void testSetTaskName() throws Exception {
+ MigrationTaskEntry testSubject;
+ String taskName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTaskName(taskName);
+ }
+
+
+ @Test
+ public void testSetTaskStatus() throws Exception {
+ MigrationTaskEntry testSubject;
+ String taskStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTaskStatus(taskStatus);
+ }
+
+
+ @Test
+ public void testSetMessage() throws Exception {
+ MigrationTaskEntry testSubject;
+ String message = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMessage(message);
+ }
+
+
+ @Test
+ public void testSetExecutionTime() throws Exception {
+ MigrationTaskEntry testSubject;
+ double executionTime = 0.0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExecutionTime(executionTime);
+ }
+
+
+ @Test
+ public void testGetMajorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMajorVersion();
+ }
+
+
+ @Test
+ public void testGetMinorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinorVersion();
+ }
+
+
+ @Test
+ public void testGetTimestamp() throws Exception {
+ MigrationTaskEntry testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp();
+ }
+
+
+ @Test
+ public void testGetTaskName() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTaskName();
+ }
+
+
+ @Test
+ public void testGetTaskStatus() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTaskStatus();
+ }
+
+
+ @Test
+ public void testGetMessage() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMessage();
+ }
+
+
+ @Test
+ public void testGetExecutionTime() throws Exception {
+ MigrationTaskEntry testSubject;
+ double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExecutionTime();
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ MigrationTaskEntry testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java
new file mode 100644
index 0000000000..3c498e87f4
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java
@@ -0,0 +1,47 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+public class ServiceArtifactsDataCollectionTest {
+
+ private ServiceArtifactsDataCollection createTestSubject() {
+ return new ServiceArtifactsDataCollection();
+ }
+
+
+ @Test
+ public void testGetServiceArtifactDataMap() throws Exception {
+ ServiceArtifactsDataCollection testSubject;
+ Map<String, List<ESArtifactData>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceArtifactDataMap();
+ }
+
+
+ @Test
+ public void testSetServiceArtifactDataMap() throws Exception {
+ ServiceArtifactsDataCollection testSubject;
+ Map<String, List<ESArtifactData>> serviceArtifactDataMap = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceArtifactDataMap(serviceArtifactDataMap);
+ }
+
+
+ @Test
+ public void testGetNodeTemplateArtifacts() throws Exception {
+ ServiceArtifactsDataCollection testSubject;
+ String nodeTemplateName = "";
+ List<ESArtifactData> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNodeTemplateArtifacts(nodeTemplateName);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java
new file mode 100644
index 0000000000..5172fc31dc
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java
@@ -0,0 +1,119 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import org.junit.Test;
+
+public class AuditingGenericEventTest {
+
+ private AuditingGenericEvent createTestSubject() {
+ return new AuditingGenericEvent();
+ }
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+ @Test
+ public void testGetAction() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+ @Test
+ public void testSetAction() throws Exception {
+ AuditingGenericEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+ @Test
+ public void testGetStatus() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+ @Test
+ public void testSetStatus() throws Exception {
+ AuditingGenericEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+ @Test
+ public void testGetDesc() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+ @Test
+ public void testSetDesc() throws Exception {
+ AuditingGenericEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+ @Test
+ public void testFillFields() throws Exception {
+ AuditingGenericEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+} \ No newline at end of file