From 5afc1ab68f9eb20232d02f6b463758637cdda540 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Mon, 23 Oct 2017 17:12:43 +0530 Subject: Remove aspect based logging Issue-Id: CLI-66 Change-Id: Ib0d9365af04710aac812e1413972354c132ebb47 Signed-off-by: Kanagaraj Manickam k00365106 --- .../java/org/onap/cli/validation/OnapValidationTest.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'validate/validation/src') 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 de55f996..fffec3f5 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 @@ -25,7 +25,6 @@ import java.util.List; import java.util.Map; import org.apache.commons.io.FileUtils; -import org.aspectj.lang.annotation.After; import org.junit.Ignore; import org.junit.Test; import org.onap.cli.fw.OnapCommandRegistrar; @@ -39,18 +38,6 @@ public class OnapValidationTest { OnapCli cli = null; - /** - * Clean up. - */ - @After(value = "") - public void cleanup() { - if (this.cli != null) { - if (cli.getExitCode() != 0) { - // Fail test case - } - } - } - private void handle(String[] args) { cli = new OnapCli(args); cli.handle(); @@ -84,7 +71,7 @@ public class OnapValidationTest { System.out.println("==========================\n\n"); int i = 1; for (SchemaInfo sch : OnapCommandRegistrar.getRegistrar().listCommandInfo()) { - if (sch.isIgnore()) { + if (sch.isIgnore()) { continue; } if (sch.getProduct().equals(version)) { -- cgit 1.2.3-korg