summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-05-27 15:11:12 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-05-27 15:11:18 +0530
commita19d05b4c780b5fbedf9724a60fa82786924901a (patch)
tree4fb07f4be4ce6dc30250ad40151a7ee01c79c888 /aai-service/provider/src
parent664753e6041a39c6ff76ae8ffac3d850e7fe2a69 (diff)
added assert statements in 7 test files
Issue-ID: CCSDK-2232 Change-Id: I07e3806cac9a317130ad1d5fe4c9af4fb1a17a5d Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'aai-service/provider/src')
-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 0e81e5b52..eb8dbc4a8 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)
{