Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Increased auth cmd to 53 percent
[aaf/authz.git]
/
auth
/
auth-cmd
/
src
/
test
/
java
/
org
/
onap
/
aaf
/
auth
/
cmd
/
test
/
JU_AAFCli.java
diff --git
a/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/JU_AAFCli.java
b/auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/JU_AAFCli.java
index
36c5676
..
4acd5a8
100644
(file)
--- a/
auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/JU_AAFCli.java
+++ b/
auth/auth-cmd/src/test/java/org/onap/aaf/auth/cmd/test/JU_AAFCli.java
@@
-146,6
+146,16
@@
public class JU_AAFCli {
public void eval10() throws Exception {
assertTrue(cli.eval("set @[ 123"));
}
public void eval10() throws Exception {
assertTrue(cli.eval("set @[ 123"));
}
+
+ @Test
+ public void eval11() throws Exception {
+ assertTrue(cli.eval("DETAILS @[ 123"));
+ }
+
+ @Test
+ public void eval12() throws Exception {
+ assertTrue(cli.eval(". |/, .\"0 \" "));
+ }
@Test
public void keyboardHelp() throws Exception {
@Test
public void keyboardHelp() throws Exception {
@@
-209,12
+219,6
@@
public class JU_AAFCli {
Assert.assertNotNull(cli.timeout());
}
Assert.assertNotNull(cli.timeout());
}
- @Test
- public void testMain() {
- String[] str = {"test"};
- //cli.main(str);
- }
-
@Test
public void testTest() {
Assert.assertNotNull(cli.isTest());
@Test
public void testTest() {
Assert.assertNotNull(cli.isTest());
@@
-247,4
+251,10
@@
public class JU_AAFCli {
cli.gui(false);
}
cli.gui(false);
}
+ @Test
+ public void testMain() {
+ String[] strArr = {"\\*","test1"};
+ //cli.main(strArr);
+ }
+
}
}