diff options
author | gabe.maurer <gabe.maurer@att.com> | 2018-04-30 15:49:33 -0500 |
---|---|---|
committer | gabe.maurer <gabe.maurer@att.com> | 2018-04-30 16:02:20 -0500 |
commit | 56957c94262fa6d5580669c7c1cdbfcfeaf09a0c (patch) | |
tree | d17cd40e3732ec99c1a43ec948ca651d654e6be6 /auth/auth-cmd | |
parent | c662d585d8f830eb214408c01749516d447c76c8 (diff) |
Increase code coverage auth fs
Issue-ID: AAF-240
Change-Id: I64292fab20dab4693ab2dc92aa2d91c63dee5f47
Signed-off-by: gabe.maurer <gabe.maurer@att.com>
Diffstat (limited to 'auth/auth-cmd')
-rw-r--r-- | auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java index 9eb4b75b..a5b58ef0 100644 --- a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java +++ b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/role/JU_List.java @@ -150,12 +150,13 @@ public class JU_List { pkey.setAction("test"); pkey.setInstance("test"); pkey.setType("test"); - - list.report(roles, perms , urs , "test"); + role.addPerms(pkey); list.report(roles, perms , null , "test"); - cli.eval("DETAILS @[ 123"); + list.report(roles, perms , urs , "test"); + + aafcli.eval("DETAILS @[ 123"); role.setName("test"); - role.addPerms(pkey); + list.report(roles, perms , urs , "test"); } |