summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsg481n <sg481n@att.com>2017-10-05 02:21:08 +0000
committersg481n <sg481n@att.com>2017-10-05 02:21:17 +0000
commita060acf37d43574e05af3268a1becd967c537089 (patch)
tree9f0832f02f7265c741aec2a97e3c408889c1414f
parent4ccc6b830291f15b8006fdee37a8aae21c22f9df (diff)
Improve code coverage for aaf authz modules
Issue-ID: AAF-79 Change-Id: I44dd742374beb6a75ae5b042cd5a25628dfdc2ee Signed-off-by: sg481n <sg481n@att.com>
-rw-r--r--authz-cmd/src/test/java/org/onap/aaf/cmd/JU_BaseCmd.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/authz-cmd/src/test/java/org/onap/aaf/cmd/JU_BaseCmd.java b/authz-cmd/src/test/java/org/onap/aaf/cmd/JU_BaseCmd.java
index 77243e9c..2b946512 100644
--- a/authz-cmd/src/test/java/org/onap/aaf/cmd/JU_BaseCmd.java
+++ b/authz-cmd/src/test/java/org/onap/aaf/cmd/JU_BaseCmd.java
@@ -58,6 +58,12 @@ public class JU_BaseCmd {
@Test
public void exec() throws CadiException, APIException, LocatorException {
+ assertEquals(bCmd._exec(4, "add", "del", "reset", "extend"), 0);
+
+ }
+
+ @Test
+ public void exec1() throws CadiException, APIException, LocatorException {
assertEquals(bCmd._exec(0, "add", "del", "reset", "extend"), 0);
}