diff options
author | Rupinder <rupinsi1@in.ibm.com> | 2020-05-20 12:50:14 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2020-05-20 13:39:14 +0000 |
commit | 82f2af54dbe7a9f9dcc0a10c714ddfc863b078bc (patch) | |
tree | d58200ce990daae6ed6cfe5d452f356c7b16e6b5 /appc-inbound/appc-artifact-handler/provider/src/test/java/org | |
parent | 0c8f94750cd5d60683444fe79bfc2c137b9266bc (diff) |
fixed jUnit in 3 files
Issue-ID: APPC-1859
Change-Id: I911bb2dc4fa46a73cc7ffc60712b66e1902403fe
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'appc-inbound/appc-artifact-handler/provider/src/test/java/org')
-rw-r--r-- | appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNodeTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNodeTest.java b/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNodeTest.java index 98df4d299..1645336c3 100644 --- a/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNodeTest.java +++ b/appc-inbound/appc-artifact-handler/provider/src/test/java/org/onap/appc/artifact/handler/node/ArtifactHandlerNodeTest.java @@ -115,6 +115,7 @@ public class ArtifactHandlerNodeTest { JSONObject content = new JSONObject(contentStr); MockDBService dbService = MockDBService.initialise(); Whitebox.invokeMethod(ah, "populateProtocolReference", dbService, content); + assertNotNull(ah); } @Test @@ -177,6 +178,7 @@ public class ArtifactHandlerNodeTest { MockDBService dbService = MockDBService.initialise(); SvcLogicContext context = new SvcLogicContext(); artifactHandlerNode.processVmList(content, context, dbService); + assertNotNull(contentStr); } @Test @@ -187,6 +189,7 @@ public class ArtifactHandlerNodeTest { SvcLogicContext context = new SvcLogicContext(); context.setAttribute(SdcArtifactHandlerConstants.DEVICE_PROTOCOL, "Test"); artifactHandlerNode.processConfigTypeActions(content, dbService, context); + assertNotNull(contentStr); } @Test @@ -204,6 +207,7 @@ public class ArtifactHandlerNodeTest { artifactHandlerNode.processActionLists(content, actionLevel, vnfcActionList, vfModuleActionList, vnfActionList, vmActionVnfcFunctionCodesList); } + assertNotNull(contentStr); } @Test @@ -251,6 +255,7 @@ public class ArtifactHandlerNodeTest { context.setAttribute("vnf-type", "someVnf"); context.setAttribute("action", "ConfigScaleOut"); artifactHandlerNode.processArtifactList(content, dbService, context, null); + assertNotNull(content); } @Test @@ -495,6 +500,7 @@ public class ArtifactHandlerNodeTest { documentInfo.put(SdcArtifactHandlerConstants.ARTIFACT_DESRIPTION, "testArtifactDesc"); Whitebox.invokeMethod(ah, "processAndStoreCapabilitiesArtifact", dbService, documentInfo, capabilities, "artifactName", "someVnf"); + assertNotNull(ah); } |