summaryrefslogtreecommitdiffstats
path: root/aai-service
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-06-01 14:41:50 +0000
committerGerrit Code Review <gerrit@onap.org>2020-06-01 14:41:50 +0000
commit4f524b5ed094abfa6bf8fec81254601c71706a17 (patch)
tree2a9c642655faed7d260688bb4f2bd498dfca67da /aai-service
parent319ef7c25ee522d27396707ac6a9f5168ecd8820 (diff)
parenta19d05b4c780b5fbedf9724a60fa82786924901a (diff)
Merge "added assert statements in 7 test files"
Diffstat (limited to 'aai-service')
-rwxr-xr-xaai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/RegressionTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/RegressionTest.java b/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/RegressionTest.java
index 0e81e5b5..eb8dbc4a 100755
--- a/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/RegressionTest.java
+++ b/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/RegressionTest.java
@@ -121,6 +121,7 @@ public class RegressionTest {
QueryStatus resp = client.save("connector", false, false, "resource-instance-id = '12345'", data, "aaidata", ctx);
LOG.info("AAIResponse: " + resp.toString());
+ assertNotNull(ctx);
}
catch (Exception e)
{
@@ -158,6 +159,7 @@ public class RegressionTest {
QueryStatus resp = client.save("connector", false, false, "resource-instance-id = '11012345'", data, "aaidata", ctx);
LOG.info("AAIResponse: " + resp.toString());
+ assertNotNull(ctx);
}
catch (Exception e)
{
@@ -210,6 +212,7 @@ public class RegressionTest {
QueryStatus resp = client.save("logical-link", false, false, "link-name = '1252541'", data, "aaidata", ctx);
LOG.info("AAIResponse: " + resp.toString());
+ assertNotNull(data);
}
catch (Exception e)
{
@@ -241,6 +244,7 @@ public class RegressionTest {
QueryStatus resp = client.save("virtual-data-center", false, false, "vdc-id = '1252541'", data, "aaidata", ctx);
LOG.info("AAIResponse: " + resp.toString());
+ assertNotNull(data);
}
catch (Exception e)
{
@@ -408,6 +412,7 @@ public class RegressionTest {
// assertTrue(response == QueryStatus.SUCCESS);
LOG.info("AAIResponse: " + datum.toString());
+ assertNotNull(nameValues);
}
catch (Exception e)
{