From 5b47cbd64e726393858f833443097303f1746d7b Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 11 Oct 2017 10:52:16 +0530 Subject: Fix registrar test command registration UT CLI-2 Change-Id: Idf2aa6f8cc4f8c0110cc4293e3dde584edc4eca8 Signed-off-by: Kanagaraj Manickam k00365106 --- .../src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java b/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java index 16c3f2f3..4f5c95e2 100644 --- a/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java +++ b/framework/src/test/java/org/onap/cli/fw/OnapCommandRegistrarTest.java @@ -60,19 +60,18 @@ public class OnapCommandRegistrarTest { public void registerTest() throws OnapCommandException { OnapCommand test = new OnapCommandTest(); Class cmd = (Class) test.getClass(); - registerar.register("Test", "cli-1.0", cmd); - OnapCommand cc = registerar.get("Test"); + registerar.register("test", "cli-1.0", cmd); + OnapCommand cc = registerar.get("test"); assertTrue(cmd == cc.getClass()); } @Test - // For Coverage public void cmdTestSchema() throws OnapCommandException { OnapCommand test = new OnapCommandTest(); Class cmd = (Class) test.getClass(); - registerar.register("Test", "cli-1.0", cmd); - OnapCommand cc = registerar.get("Test"); + registerar.register("test", "cli-1.0", cmd); + OnapCommand cc = registerar.get("test"); } @Test -- cgit 1.2.3-korg