From 6af285b400aaecff3bb35cb2df916ac021f29aea Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 9 May 2018 11:41:04 +0000 Subject: Fix intendation warning in main test Issue-ID: CLI-100 Change-Id: Id72d34b43ebf5b9a95244b89bb8e290d069d2b43 Signed-off-by: Kanagaraj Manickam k00365106 --- main/src/test/java/org/onap/cli/main/OnapCliMainTest.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java b/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java index 6d7dbdd2..634a8d7a 100644 --- a/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java +++ b/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java @@ -16,22 +16,21 @@ package org.onap.cli.main; +import static org.junit.Assert.fail; + +import java.io.IOException; + + import jline.console.ConsoleReader; import mockit.Invocation; import mockit.Mock; import mockit.MockUp; import org.junit.Test; -import org.onap.cli.fw.cmd.OnapCommand; import org.onap.cli.fw.error.OnapCommandException; import org.onap.cli.fw.error.OnapCommandHelpFailed; import org.onap.cli.fw.registrar.OnapCommandRegistrar; -import org.onap.cli.fw.schema.OnapCommandSchemaLoader; -import java.io.IOException; -import java.util.List; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; public class OnapCliMainTest { @@ -87,7 +86,7 @@ public class OnapCliMainTest { } @Test - public void testHandleSampleCommandFailure() throws OnapCommandException{ + public void testHandleSampleCommandFailure() throws OnapCommandException { this.handle(new String[] { "sample-test", "--string-param"}); } @@ -211,7 +210,7 @@ public class OnapCliMainTest { try { OnapCli.getDirectiveHelp(); } catch (OnapCommandHelpFailed e) { - fail("Directive help failed to run"); + fail("Directive help failed to run"); } } } -- cgit 1.2.3-korg