summaryrefslogtreecommitdiffstats
path: root/validate/validation/src
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-31 16:31:48 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-31 16:31:48 +0530
commitcb950867e0fa7da66a44295720efa2bfa030f1ac (patch)
tree2f45544baa0c4f41cc63ae6e492c3c0ec49cefe9 /validate/validation/src
parentd619f9e7837f8ee0cfc53854b74b1ff45a99619b (diff)
Fix onap doc generation to logs serial no
CLI-57 Change-Id: Ie56edf2c52778341a680e499587898a35623ac6f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'validate/validation/src')
-rw-r--r--validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java b/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java
index 779978f9..cfccef62 100644
--- a/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java
+++ b/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java
@@ -63,9 +63,10 @@ public class OnapCliMainTest {
OnapCommandRegistrar.getRegistrar().setEnabledProductVersion(version);
System.out.println(version);
System.out.println("==========================\n\n");
+ int i = 1;
for (ExternalSchema sch : OnapCommandRegistrar.getRegistrar().listCommandInfo()) {
if (sch.getCmdVersion().equals(version)) {
- System.out.println(sch.getCmdName());
+ System.out.println("[" + i++ + "] " + sch.getCmdName());
System.out.println("-----------------------------------------------\n\n");
this.handle(new String[] { sch.getCmdName(), "-h"});
System.out.println("\n");