diff options
author | Ramya Balaji <rb111y@att.com> | 2017-10-17 12:24:06 -0400 |
---|---|---|
committer | Skip Wonnell <skip@att.com> | 2017-10-17 19:05:23 +0000 |
commit | 140355fd6ab11e3dec5106ef060b264857a4c775 (patch) | |
tree | 59e812fb44504f0e3ab7663cb97ea39242e55fad /appc-config/appc-data-services/provider/src/test/java | |
parent | 9df68e136e8be86f50115f7cf3e6a481561612e0 (diff) |
Changes for capability artifact check
Ignore capability check for non VM level
Start, Stop,Restart
Issue-ID: APPC-281
Change-Id: I0bc888a9fbfede5923ba8b130f8ab4850559abcb
Signed-off-by: Ramya Balaji <rb111y@att.com>
Diffstat (limited to 'appc-config/appc-data-services/provider/src/test/java')
-rw-r--r-- | appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java b/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java index edfc76f93..ee4db30b8 100644 --- a/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java +++ b/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java @@ -26,6 +26,7 @@ package org.openecomp.appc.data.services.db; import java.util.HashMap; import java.util.Map; +import static org.junit.Assert.assertFalse; import org.junit.Test; import org.openecomp.appc.data.services.AppcDataServiceConstant; import org.openecomp.appc.data.services.node.ConfigResourceNode; @@ -148,4 +149,13 @@ public class TestConfigResourceNode { node.saveConfigBlock(inParams, ctx); } + @Test + public void testcheckIfCapabilityCheckNeeded () throws Exception { + ConfigResourceNode node = new ConfigResourceNode(); + String findCapability="Start"; + String capLevel="vnf"; + boolean result=node.checkIfCapabilityCheckNeeded(capLevel,findCapability); + assertFalse(result); + } + } |