From 8c79df8d4835e2cded87f60d78e5bf05e3cd6b16 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Mon, 25 Dec 2017 15:28:52 +0530 Subject: Merge default params files Issue-ID: CLI-66 Change-Id: I320e21ff3b25d0c38c196b49f2ed320174396e4a Signed-off-by: Kanagaraj Manickam k00365106 --- .../src/test/java/org/onap/cli/validation/OnapValidationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'validate/validation/src/test') 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"}); -- cgit 1.2.3-korg