aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java80
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java154
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java55
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java55
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java38
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java24
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java9
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java8
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java8
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java9
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java204
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java300
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java34
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java34
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java45
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/model/FacetedSearchFacetTest.java57
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java82
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java446
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java195
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java215
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java60
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java124
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java53
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java43
24 files changed, 2298 insertions, 34 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java
new file mode 100644
index 0000000000..81a2b41946
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java
@@ -0,0 +1,80 @@
+package org.openecomp.sdc.be.dao;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class AccountTest {
+
+ private Account createTestSubject() {
+ return new Account();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ Account testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ Account testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetEmail() throws Exception {
+ Account testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEmail();
+ }
+
+
+ @Test
+ public void testSetEmail() throws Exception {
+ Account testSubject;
+ String email = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEmail(email);
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ Account testSubject;
+ Object other = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(other);
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ Account testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java
new file mode 100644
index 0000000000..6936f4e5be
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java
@@ -0,0 +1,154 @@
+package org.openecomp.sdc.be.dao.cassandra;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.apache.tinkerpop.gremlin.structure.T;
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.api.ActionStatus;
+import org.openecomp.sdc.be.resources.data.auditing.AuditingGenericEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionDeployEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionNotificationEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionStatusEvent;
+import org.openecomp.sdc.be.resources.data.auditing.ResourceAdminEvent;
+
+import fj.data.Either;
+
+
+public class AuditCassandraDaoTest {
+
+ private AuditCassandraDao createTestSubject() {
+ return new AuditCassandraDao();
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testGetListOfDistributionStatuses() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ Either<List<DistributionStatusEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getListOfDistributionStatuses(did);
+ }
+
+
+ @Test
+ public void testGetDistributionDeployByStatus() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ String action = "";
+ String status = "";
+ Either<List<DistributionDeployEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionDeployByStatus(did, action, status);
+ }
+
+
+ @Test
+ public void testGetDistributionRequest() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ String action = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionRequest(did, action);
+ }
+
+
+ @Test
+ public void testGetDistributionNotify() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ String action = "";
+ Either<List<DistributionNotificationEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionNotify(did, action);
+ }
+
+
+ @Test
+ public void testGetByServiceInstanceId() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetServiceDistributionStatusesList() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ Either<List<? extends AuditingGenericEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceDistributionStatusesList(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAuditByServiceIdAndPrevVersion() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ String prevVersion = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAuditByServiceIdAndPrevVersion(serviceInstanceId, prevVersion);
+ }
+
+
+ @Test
+ public void testGetAuditByServiceIdAndCurrVersion() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ String currVersion = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAuditByServiceIdAndCurrVersion(serviceInstanceId, currVersion);
+ }
+
+
+ @Test
+ public void testIsTableEmpty() throws Exception {
+ AuditCassandraDao testSubject;
+ String tableName = "";
+ Either<Boolean, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isTableEmpty(tableName);
+ }
+
+
+ @Test
+ public void testDeleteAllAudit() throws Exception {
+ AuditCassandraDao testSubject;
+ CassandraOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.deleteAllAudit();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java
new file mode 100644
index 0000000000..f4f9fd5fc2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java
@@ -0,0 +1,55 @@
+package org.openecomp.sdc.be.dao.cassandra;
+
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.api.ActionStatus;
+import org.openecomp.sdc.be.resources.data.ComponentCacheData;
+
+import fj.data.Either;
+
+
+public class ComponentCassandraDaoTest {
+
+ private ComponentCassandraDao createTestSubject() {
+ return new ComponentCassandraDao();
+ }
+
+ @Test
+ public void testGetAllComponentIdTimeAndType() throws Exception {
+ ComponentCassandraDao testSubject;
+ Either<List<ComponentCacheData>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAllComponentIdTimeAndType();
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testIsTableEmpty() throws Exception {
+ ComponentCassandraDao testSubject;
+ String tableName = "";
+ Either<Boolean, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isTableEmpty(tableName);
+ }
+
+
+
+
+
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java
new file mode 100644
index 0000000000..141aeebc5d
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java
@@ -0,0 +1,55 @@
+package org.openecomp.sdc.be.dao.cassandra;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.resources.data.SdcSchemaFilesData;
+
+import fj.data.Either;
+
+
+public class SdcSchemaFilesCassandraDaoTest {
+
+ private SdcSchemaFilesCassandraDao createTestSubject() {
+ return new SdcSchemaFilesCassandraDao();
+ }
+
+
+
+ @Test
+ public void testGetSpecificSchemaFiles() throws Exception {
+ SdcSchemaFilesCassandraDao testSubject;
+ String sdcreleasenum = "";
+ String conformancelevel = "";
+ Either<List<SdcSchemaFilesData>, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSpecificSchemaFiles(sdcreleasenum, conformancelevel);
+ }
+
+
+ @Test
+ public void testDeleteAllArtifacts() throws Exception {
+ SdcSchemaFilesCassandraDao testSubject;
+ CassandraOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.deleteAllArtifacts();
+ }
+
+
+ @Test
+ public void testIsTableEmpty() throws Exception {
+ SdcSchemaFilesCassandraDao testSubject;
+ String tableName = "";
+ Either<Boolean, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isTableEmpty(tableName);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java
new file mode 100644
index 0000000000..f4844a9800
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java
@@ -0,0 +1,38 @@
+package org.openecomp.sdc.be.dao.cassandra.schema;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+import com.datastax.driver.core.Cluster;
+
+
+public class SdcSchemaUtilsTest {
+
+ private SdcSchemaUtils createTestSubject() {
+ return new SdcSchemaUtils();
+ }
+
+
+
+
+
+ @Test
+ public void testExecuteStatement() throws Exception {
+ String statement = "";
+ boolean result;
+
+ // default test
+ result = SdcSchemaUtils.executeStatement(statement);
+ }
+
+
+ @Test
+ public void testExecuteStatements() throws Exception {
+ String[] statements = new String[] { "" };
+ boolean result;
+
+ // default test
+ result = SdcSchemaUtils.executeStatements(statements);
+ }
+} \ No newline at end of file
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..3c891c97f3
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.be.dao.cassandra.schema;
+
+import javax.annotation.Generated;
+
+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/CategoryEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java
index c83595d591..4f12640b1f 100644
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java
@@ -40,15 +40,6 @@ public class CategoryEventTableDescriptionTest {
}
- @Test
- public void testGetColumnDescription() throws Exception {
- CategoryEventTableDescription testSubject;
- Map<String, ImmutablePair<DataType, Boolean>> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getColumnDescription();
- }
@Test
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java
index 23b7301a68..e4defc068c 100644
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java
@@ -40,15 +40,7 @@ public class DistribStatusEventTableDescTest {
}
- @Test
- public void testGetColumnDescription() throws Exception {
- DistribStatusEventTableDesc testSubject;
- Map<String, ImmutablePair<DataType, Boolean>> result;
- // default test
- testSubject = createTestSubject();
- result = testSubject.getColumnDescription();
- }
@Test
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java
index 68b06e1b66..6e6afb7424 100644
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java
@@ -40,15 +40,7 @@ public class ResAdminEventTableDescriptionTest {
}
- @Test
- public void testGetColumnDescription() throws Exception {
- ResAdminEventTableDescription testSubject;
- Map<String, ImmutablePair<DataType, Boolean>> result;
- // default test
- testSubject = createTestSubject();
- result = testSubject.getColumnDescription();
- }
@Test
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java
index 1efb68c1a9..66f6861f83 100644
--- a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java
@@ -40,15 +40,6 @@ public class UserAdminEventTableDescriptionTest {
}
- @Test
- public void testGetColumnDescription() throws Exception {
- UserAdminEventTableDescription testSubject;
- Map<String, ImmutablePair<DataType, Boolean>> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getColumnDescription();
- }
@Test
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java
new file mode 100644
index 0000000000..9a8b67dbd0
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java
@@ -0,0 +1,204 @@
+package org.openecomp.sdc.be.dao.jsongraph;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.types.VertexTypeEnum;
+import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
+import org.openecomp.sdc.be.datatypes.enums.GraphPropertyEnum;
+import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields;
+import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
+
+import com.thinkaurelius.titan.core.TitanVertex;
+
+
+public class GraphVertexTest {
+
+ private GraphVertex createTestSubject() {
+ return new GraphVertex();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GraphVertex testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ GraphVertex testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, ? extends ToscaDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJson();
+ }
+
+
+ @Test
+ public void testSetJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, ? extends ToscaDataDefinition> json = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJson(json);
+ }
+
+
+ @Test
+ public void testGetVertex() throws Exception {
+ GraphVertex testSubject;
+ TitanVertex result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertex();
+ }
+
+
+ @Test
+ public void testSetVertex() throws Exception {
+ GraphVertex testSubject;
+ TitanVertex vertex = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVertex(vertex);
+ }
+
+
+ @Test
+ public void testGetLabel() throws Exception {
+ GraphVertex testSubject;
+ VertexTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLabel();
+ }
+
+
+ @Test
+ public void testSetLabel() throws Exception {
+ GraphVertex testSubject;
+ VertexTypeEnum label = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLabel(label);
+ }
+
+
+
+ @Test
+ public void testAddMetadataProperty() throws Exception {
+ GraphVertex testSubject;
+ GraphPropertyEnum propName = null;
+ Object propValue = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ propValue = null;
+ testSubject.addMetadataProperty(propName, propValue);
+ }
+
+
+ @Test
+ public void testGetMetadataProperty() throws Exception {
+ GraphVertex testSubject;
+ GraphPropertyEnum metadataProperty = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataProperty(metadataProperty);
+ }
+
+
+ @Test
+ public void testGetMetadataProperties() throws Exception {
+ GraphVertex testSubject;
+ Map<GraphPropertyEnum, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataProperties();
+ }
+
+
+ @Test
+ public void testSetMetadataProperties() throws Exception {
+ GraphVertex testSubject;
+ Map<GraphPropertyEnum, Object> metadataProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadataProperties(metadataProperties);
+ }
+
+
+ @Test
+ public void testGetMetadataJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataJson();
+ }
+
+
+ @Test
+ public void testSetMetadataJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, Object> metadataJson = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadataJson(metadataJson);
+ }
+
+
+
+
+ @Test
+ public void testGetJsonMetadataField() throws Exception {
+ GraphVertex testSubject;
+ JsonPresentationFields field = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJsonMetadataField(field);
+ }
+
+
+ @Test
+ public void testUpdateMetadataJsonWithCurrentMetadataProperties() throws Exception {
+ GraphVertex testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.updateMetadataJsonWithCurrentMetadataProperties();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java
new file mode 100644
index 0000000000..bf059219c2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java
@@ -0,0 +1,300 @@
+package org.openecomp.sdc.be.dao.jsongraph;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+import javax.lang.model.element.Element;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.apache.tinkerpop.gremlin.structure.Edge;
+import org.apache.tinkerpop.gremlin.structure.Vertex;
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.types.EdgeLabelEnum;
+import org.openecomp.sdc.be.dao.jsongraph.types.EdgePropertyEnum;
+import org.openecomp.sdc.be.dao.jsongraph.types.JsonParseFlagEnum;
+import org.openecomp.sdc.be.dao.jsongraph.types.VertexTypeEnum;
+import org.openecomp.sdc.be.dao.titan.TitanGraphClient;
+import org.openecomp.sdc.be.dao.titan.TitanOperationStatus;
+import org.openecomp.sdc.be.datatypes.enums.GraphPropertyEnum;
+
+import com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction;
+import com.google.common.collect.Multiset.Entry;
+import com.thinkaurelius.titan.core.TitanGraph;
+import com.thinkaurelius.titan.core.TitanGraphQuery;
+import com.thinkaurelius.titan.core.TitanVertex;
+
+import fj.data.Either;
+
+
+public class TitanDaoTest {
+
+ private TitanDao createTestSubject() {
+ return new TitanDao(new TitanGraphClient());
+ }
+
+
+ @Test
+ public void testCommit() throws Exception {
+ TitanDao testSubject;
+ TitanOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.commit();
+ }
+
+
+ @Test
+ public void testRollback() throws Exception {
+ TitanDao testSubject;
+ TitanOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.rollback();
+ }
+
+
+ @Test
+ public void testGetGraph() throws Exception {
+ TitanDao testSubject;
+ Either<TitanGraph, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGraph();
+ }
+
+
+
+
+
+ @Test
+ public void testGetVertexByPropertyAndLabel() throws Exception {
+ TitanDao testSubject;
+ GraphPropertyEnum name = null;
+ Object value = null;
+ VertexTypeEnum label = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertexByPropertyAndLabel(name, value, label);
+ }
+
+
+ @Test
+ public void testGetVertexByPropertyAndLabel_1() throws Exception {
+ TitanDao testSubject;
+ GraphPropertyEnum name = null;
+ Object value = null;
+ VertexTypeEnum label = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertexByPropertyAndLabel(name, value, label, parseFlag);
+ }
+
+
+ @Test
+ public void testGetVertexById() throws Exception {
+ TitanDao testSubject;
+ String id = "";
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertexById(id);
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @Test
+ public void testGetByCriteria() throws Exception {
+ TitanDao testSubject;
+ VertexTypeEnum type = null;
+ Map<GraphPropertyEnum, Object> props = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByCriteria(type, props);
+ }
+
+
+ @Test
+ public void testGetByCriteria_1() throws Exception {
+ TitanDao testSubject;
+ VertexTypeEnum type = null;
+ Map<GraphPropertyEnum, Object> props = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByCriteria(type, props, parseFlag);
+ }
+
+
+ @Test
+ public void testGetByCriteria_2() throws Exception {
+ TitanDao testSubject;
+ VertexTypeEnum type = null;
+ Map<GraphPropertyEnum, Object> props = null;
+ Map<GraphPropertyEnum, Object> hasNotProps = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByCriteria(type, props, hasNotProps, parseFlag);
+ }
+
+
+
+
+
+ @Test
+ public void testGetChildVertex() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getChildVertex(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+ @Test
+ public void testGetParentVertex() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentVertex(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+ @Test
+ public void testGetChildrenVertecies() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getChildrenVertecies(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+ @Test
+ public void testGetParentVertecies() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentVertecies(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @Test
+ public void testUpdateVertexMetadataPropertiesWithJson() throws Exception {
+ TitanDao testSubject;
+ Vertex vertex = null;
+ Map<GraphPropertyEnum, Object> properties = null;
+ TitanOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.updateVertexMetadataPropertiesWithJson(vertex, properties);
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testGetProperty_1() throws Exception {
+ TitanDao testSubject;
+ Edge edge = null;
+ EdgePropertyEnum key = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperty(edge, key);
+ }
+
+
+
+
+ @Test
+ public void testGetBelongingEdgeByCriteria_1() throws Exception {
+ TitanDao testSubject;
+ String parentId = "";
+ EdgeLabelEnum label = null;
+ Map<GraphPropertyEnum, Object> properties = null;
+ Either<Edge, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBelongingEdgeByCriteria(parentId, label, properties);
+ }
+} \ 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..6b50f6e806
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java
@@ -0,0 +1,34 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import javax.annotation.Generated;
+
+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..544a9ce38b
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java
@@ -0,0 +1,34 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import javax.annotation.Generated;
+
+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..ed924bda04
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java
@@ -0,0 +1,45 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import javax.annotation.Generated;
+
+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/dao/model/FacetedSearchFacetTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/model/FacetedSearchFacetTest.java
new file mode 100644
index 0000000000..18dffacfe2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/model/FacetedSearchFacetTest.java
@@ -0,0 +1,57 @@
+package org.openecomp.sdc.be.dao.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class FacetedSearchFacetTest {
+
+ private FacetedSearchFacet createTestSubject() {
+ return new FacetedSearchFacet("", 0);
+ }
+
+
+ @Test
+ public void testGetFacetValue() throws Exception {
+ FacetedSearchFacet testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFacetValue();
+ }
+
+
+ @Test
+ public void testSetFacetValue() throws Exception {
+ FacetedSearchFacet testSubject;
+ String facetValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFacetValue(facetValue);
+ }
+
+
+ @Test
+ public void testGetCount() throws Exception {
+ FacetedSearchFacet testSubject;
+ long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCount();
+ }
+
+
+ @Test
+ public void testSetCount() throws Exception {
+ FacetedSearchFacet testSubject;
+ long count = 555;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCount(count);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java
new file mode 100644
index 0000000000..b57342f637
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java
@@ -0,0 +1,82 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.category.CategoryDefinition;
+
+
+public class UiCategoriesTest {
+
+ private UiCategories createTestSubject() {
+ return new UiCategories();
+ }
+
+
+ @Test
+ public void testGetResourceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceCategories();
+ }
+
+
+ @Test
+ public void testSetResourceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> resourceCategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceCategories(resourceCategories);
+ }
+
+
+ @Test
+ public void testGetServiceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceCategories();
+ }
+
+
+ @Test
+ public void testSetServiceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> serviceCategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceCategories(serviceCategories);
+ }
+
+
+ @Test
+ public void testGetProductCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProductCategories();
+ }
+
+
+ @Test
+ public void testSetProductCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> productCategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProductCategories(productCategories);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java
new file mode 100644
index 0000000000..52767a2934
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java
@@ -0,0 +1,446 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
+import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+import org.openecomp.sdc.be.model.CapabilityDefinition;
+import org.openecomp.sdc.be.model.ComponentInstance;
+import org.openecomp.sdc.be.model.ComponentInstanceInput;
+import org.openecomp.sdc.be.model.ComponentInstanceProperty;
+import org.openecomp.sdc.be.model.GroupDefinition;
+import org.openecomp.sdc.be.model.InputDefinition;
+import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
+import org.openecomp.sdc.be.model.RequirementDefinition;
+import org.openecomp.sdc.be.model.category.CategoryDefinition;
+
+
+public class UiComponentDataTransferTest {
+
+ private UiComponentDataTransfer createTestSubject() {
+ return new UiComponentDataTransfer();
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+
+
+ @Test
+ public void testGetDeploymentArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testSetDeploymentArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> deploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeploymentArtifacts(deploymentArtifacts);
+ }
+
+
+ @Test
+ public void testGetToscaArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaArtifacts();
+ }
+
+
+ @Test
+ public void testSetToscaArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> toscaArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaArtifacts(toscaArtifacts);
+ }
+
+
+ @Test
+ public void testGetCategories() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategories();
+ }
+
+
+ @Test
+ public void testSetCategories() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<CategoryDefinition> categories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategories(categories);
+ }
+
+
+ @Test
+ public void testGetCreatorUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreatorUserId();
+ }
+
+
+ @Test
+ public void testSetCreatorUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String creatorUserId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreatorUserId(creatorUserId);
+ }
+
+
+ @Test
+ public void testGetCreatorFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreatorFullName();
+ }
+
+
+ @Test
+ public void testSetCreatorFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String creatorFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreatorFullName(creatorFullName);
+ }
+
+
+ @Test
+ public void testGetLastUpdaterUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterUserId();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String lastUpdaterUserId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterUserId(lastUpdaterUserId);
+ }
+
+
+ @Test
+ public void testGetLastUpdaterFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterFullName();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String lastUpdaterFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterFullName(lastUpdaterFullName);
+ }
+
+
+ @Test
+ public void testGetComponentType() throws Exception {
+ UiComponentDataTransfer testSubject;
+ ComponentTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentType();
+ }
+
+
+ @Test
+ public void testSetComponentType() throws Exception {
+ UiComponentDataTransfer testSubject;
+ ComponentTypeEnum componentType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentType(componentType);
+ }
+
+
+ @Test
+ public void testGetComponentInstances() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<ComponentInstance> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstances();
+ }
+
+
+ @Test
+ public void testSetComponentInstances() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<ComponentInstance> componentInstances = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstances(componentInstances);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesRelations() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<RequirementCapabilityRelDef> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesRelations();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesRelations() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<RequirementCapabilityRelDef> componentInstancesRelations = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesRelations(componentInstancesRelations);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceInput>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesInputs();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceInput>> componentInstancesInputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesInputs(componentInstancesInputs);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesProperties() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesProperties();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesProperties() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> componentInstancesProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesProperties(componentInstancesProperties);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesAttributes() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesAttributes();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesAttributes() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> componentInstancesAttributes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesAttributes(componentInstancesAttributes);
+ }
+
+
+ @Test
+ public void testGetCapabilities() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<CapabilityDefinition>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilities();
+ }
+
+
+ @Test
+ public void testSetCapabilities() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<CapabilityDefinition>> capabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilities(capabilities);
+ }
+
+
+ @Test
+ public void testGetRequirements() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<RequirementDefinition>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirements();
+ }
+
+
+ @Test
+ public void testSetRequirements() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<RequirementDefinition>> requirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirements(requirements);
+ }
+
+
+ @Test
+ public void testGetInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<InputDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputs();
+ }
+
+
+ @Test
+ public void testSetInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<InputDefinition> inputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputs(inputs);
+ }
+
+
+ @Test
+ public void testGetGroups() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<GroupDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroups();
+ }
+
+
+ @Test
+ public void testSetGroups() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<GroupDefinition> groups = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroups(groups);
+ }
+
+
+ @Test
+ public void testGetAdditionalInformation() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<AdditionalInformationDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformation();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformation() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<AdditionalInformationDefinition> additionalInformation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformation(additionalInformation);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java
new file mode 100644
index 0000000000..040b94520f
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java
@@ -0,0 +1,195 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
+import org.openecomp.sdc.be.model.InterfaceDefinition;
+import org.openecomp.sdc.be.model.PropertyDefinition;
+
+
+public class UiResourceDataTransferTest {
+
+ private UiResourceDataTransfer createTestSubject() {
+ return new UiResourceDataTransfer();
+ }
+
+
+ @Test
+ public void testGetAdditionalInformation() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<AdditionalInformationDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformation();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformation() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<AdditionalInformationDefinition> additionalInformation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformation(additionalInformation);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ UiResourceDataTransfer testSubject;
+ UiResourceMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ UiResourceDataTransfer testSubject;
+ UiResourceMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetDerivedList() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedList();
+ }
+
+
+ @Test
+ public void testSetDerivedList() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> derivedList = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedList(derivedList);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testGetAttributes() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAttributes();
+ }
+
+
+ @Test
+ public void testSetAttributes() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> attributes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAttributes(attributes);
+ }
+
+
+ @Test
+ public void testGetInterfaces() throws Exception {
+ UiResourceDataTransfer testSubject;
+ Map<String, InterfaceDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaces();
+ }
+
+
+ @Test
+ public void testSetInterfaces() throws Exception {
+ UiResourceDataTransfer testSubject;
+ Map<String, InterfaceDefinition> interfaces = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaces(interfaces);
+ }
+
+
+ @Test
+ public void testGetDefaultCapabilities() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultCapabilities();
+ }
+
+
+ @Test
+ public void testSetDefaultCapabilities() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> defaultCapabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultCapabilities(defaultCapabilities);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java
new file mode 100644
index 0000000000..9248b4d176
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java
@@ -0,0 +1,215 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.components.ResourceMetadataDataDefinition;
+import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
+
+
+public class UiResourceMetadataTest {
+
+ private UiResourceMetadata createTestSubject() {
+ return new UiResourceMetadata(null, null, new ResourceMetadataDataDefinition());
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ UiResourceMetadata testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ UiResourceMetadata testSubject;
+ List<String> derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetVendorName() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorName();
+ }
+
+
+ @Test
+ public void testSetVendorName() throws Exception {
+ UiResourceMetadata testSubject;
+ String vendorName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorName(vendorName);
+ }
+
+
+ @Test
+ public void testGetVendorRelease() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorRelease();
+ }
+
+
+ @Test
+ public void testSetVendorRelease() throws Exception {
+ UiResourceMetadata testSubject;
+ String vendorRelease = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorRelease(vendorRelease);
+ }
+
+
+ @Test
+ public void testGetResourceVendorModelNumber() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceVendorModelNumber();
+ }
+
+
+ @Test
+ public void testSetResourceVendorModelNumber() throws Exception {
+ UiResourceMetadata testSubject;
+ String resourceVendorModelNumber = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceVendorModelNumber(resourceVendorModelNumber);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ UiResourceMetadata testSubject;
+ ResourceTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ UiResourceMetadata testSubject;
+ ResourceTypeEnum resourceType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testGetIsAbstract() throws Exception {
+ UiResourceMetadata testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsAbstract();
+ }
+
+
+ @Test
+ public void testSetIsAbstract() throws Exception {
+ UiResourceMetadata testSubject;
+ Boolean isAbstract = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsAbstract(isAbstract);
+ }
+
+
+ @Test
+ public void testGetCost() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCost();
+ }
+
+
+ @Test
+ public void testSetCost() throws Exception {
+ UiResourceMetadata testSubject;
+ String cost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCost(cost);
+ }
+
+
+ @Test
+ public void testGetLicenseType() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLicenseType();
+ }
+
+
+ @Test
+ public void testSetLicenseType() throws Exception {
+ UiResourceMetadata testSubject;
+ String licenseType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLicenseType(licenseType);
+ }
+
+
+ @Test
+ public void testGetToscaResourceName() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaResourceName();
+ }
+
+
+ @Test
+ public void testSetToscaResourceName() throws Exception {
+ UiResourceMetadata testSubject;
+ String toscaResourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaResourceName(toscaResourceName);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java
new file mode 100644
index 0000000000..83a1281172
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+
+
+public class UiServiceDataTransferTest {
+
+ private UiServiceDataTransfer createTestSubject() {
+ return new UiServiceDataTransfer();
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ UiServiceDataTransfer testSubject;
+ UiServiceMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ UiServiceDataTransfer testSubject;
+ UiServiceMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetServiceApiArtifacts() throws Exception {
+ UiServiceDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceApiArtifacts();
+ }
+
+
+ @Test
+ public void testSetServiceApiArtifacts() throws Exception {
+ UiServiceDataTransfer testSubject;
+ Map<String, ArtifactDefinition> serviceApiArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceApiArtifacts(serviceApiArtifacts);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java
new file mode 100644
index 0000000000..1d203b1ce3
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java
@@ -0,0 +1,124 @@
+package org.openecomp.sdc.be.ui.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.components.ServiceMetadataDataDefinition;
+
+
+public class UiServiceMetadataTest {
+
+ private UiServiceMetadata createTestSubject() {
+ return new UiServiceMetadata(null, new ServiceMetadataDataDefinition());
+ }
+
+
+ @Test
+ public void testGetDistributionStatus() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatus();
+ }
+
+
+ @Test
+ public void testSetDistributionStatus() throws Exception {
+ UiServiceMetadata testSubject;
+ String distributionStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatus(distributionStatus);
+ }
+
+
+ @Test
+ public void testGetEcompGeneratedNaming() throws Exception {
+ UiServiceMetadata testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEcompGeneratedNaming();
+ }
+
+
+ @Test
+ public void testSetEcompGeneratedNaming() throws Exception {
+ UiServiceMetadata testSubject;
+ Boolean ecompGeneratedNaming = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcompGeneratedNaming(ecompGeneratedNaming);
+ }
+
+
+ @Test
+ public void testGetNamingPolicy() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNamingPolicy();
+ }
+
+
+ @Test
+ public void testSetNamingPolicy() throws Exception {
+ UiServiceMetadata testSubject;
+ String namingPolicy = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNamingPolicy(namingPolicy);
+ }
+
+
+ @Test
+ public void testGetServiceType() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceType();
+ }
+
+
+ @Test
+ public void testSetServiceType() throws Exception {
+ UiServiceMetadata testSubject;
+ String serviceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceType(serviceType);
+ }
+
+
+ @Test
+ public void testGetServiceRole() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceRole();
+ }
+
+
+ @Test
+ public void testSetServiceRole() throws Exception {
+ UiServiceMetadata testSubject;
+ String serviceRole = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceRole(serviceRole);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java
new file mode 100644
index 0000000000..fa86708eb2
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java
@@ -0,0 +1,53 @@
+package org.openecomp.sdc.common.kpi.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ASDCKpiApiTest {
+
+ private ASDCKpiApi createTestSubject() {
+ return new ASDCKpiApi();
+ }
+
+
+ @Test
+ public void testCountImportResourcesKPI() throws Exception {
+
+ // default test
+ ASDCKpiApi.countImportResourcesKPI();
+ }
+
+
+ @Test
+ public void testCountCreatedResourcesKPI() throws Exception {
+
+ // default test
+ ASDCKpiApi.countCreatedResourcesKPI();
+ }
+
+
+ @Test
+ public void testCountCreatedServicesKPI() throws Exception {
+
+ // default test
+ ASDCKpiApi.countCreatedServicesKPI();
+ }
+
+
+ @Test
+ public void testCountUsersAuthorizations() throws Exception {
+
+ // default test
+ ASDCKpiApi.countUsersAuthorizations();
+ }
+
+
+ @Test
+ public void testCountActivatedDistribution() throws Exception {
+
+ // default test
+ ASDCKpiApi.countActivatedDistribution();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java
new file mode 100644
index 0000000000..a9936adae5
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java
@@ -0,0 +1,43 @@
+package org.openecomp.sdc.common.listener;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletContextEvent;
+
+import org.junit.Test;
+
+
+public class AppContextListenerTest {
+
+ private AppContextListener createTestSubject() {
+ return new AppContextListener();
+ }
+
+
+
+
+
+ @Test
+ public void testContextDestroyed() throws Exception {
+ AppContextListener testSubject;
+ ServletContextEvent context = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.contextDestroyed(context);
+ }
+
+
+
+
+// @Test
+ public void testGetManifestInfo() throws Exception {
+ ServletContext application = null;
+ Map<String, String> result;
+
+ // default test
+ result = AppContextListener.getManifestInfo(application);
+ }
+} \ No newline at end of file