diff options
Diffstat (limited to 'validate/validation')
-rw-r--r-- | validate/validation/src/test/java/org/onap/cli/validation/OnapValidationTest.java | 15 |
1 files changed, 1 insertions, 14 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 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)) { |