diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-25 15:28:52 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-26 10:21:55 +0530 |
commit | 8c79df8d4835e2cded87f60d78e5bf05e3cd6b16 (patch) | |
tree | 7bd5eb01731762f3717a03f280477f4268b5ee73 /validate/validation/src/test/java/org | |
parent | 82b9e1fb1673b2ea2cf16c074ce0c76c200fff8a (diff) |
Merge default params files
Issue-ID: CLI-66
Change-Id: I320e21ff3b25d0c38c196b49f2ed320174396e4a
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'validate/validation/src/test/java/org')
-rw-r--r-- | validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java index d8e26329..6f84c953 100644 --- a/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java +++ b/validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java @@ -53,7 +53,7 @@ public class OnapValidationTest { if (sch.isIgnore()) { continue; } - if (sch.getProduct().equals(version)) { + if (sch.getProduct() != null && sch.getProduct().equals(version)) { System.out.println( "************************* validate '" + sch.getCmdName() + "' *******************************"); OnapCommandRegistrar.getRegistrar().setEnabledProductVersion("open-cli"); @@ -74,7 +74,7 @@ public class OnapValidationTest { if (sch.isIgnore()) { continue; } - if (sch.getProduct().equals(version)) { + if (sch.getProduct() != null && sch.getProduct().equals(version)) { System.out.println("[" + i++ + "] " + sch.getCmdName()); System.out.println("-----------------------------------------------\n\n"); this.handle(new String[] { sch.getCmdName(), "-h"}); |