aboutsummaryrefslogtreecommitdiffstats
path: root/validate/validation
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
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')
-rw-r--r--validate/validation/pom.xml2
-rw-r--r--validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/validate/validation/pom.xml b/validate/validation/pom.xml
index 618074f6..1232ab1f 100644
--- a/validate/validation/pom.xml
+++ b/validate/validation/pom.xml
@@ -28,7 +28,7 @@
</parent>
<artifactId>cli-validation</artifactId>
- <name>cli/validation</name>
+ <name>cli/validate/validation</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
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");