aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-23 17:12:43 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-21 18:07:43 +0530
commit5afc1ab68f9eb20232d02f6b463758637cdda540 (patch)
tree3c49b4a50ea136c933335cc10cdb662d83596707 /main
parent8aa599260569b9f063fb85680c95116b00609c31 (diff)
Remove aspect based logging
Issue-Id: CLI-66 Change-Id: Ib0d9365af04710aac812e1413972354c132ebb47 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'main')
-rw-r--r--main/src/test/java/org/onap/cli/main/OnapCliMainTest.java16
1 files changed, 2 insertions, 14 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 d720ed95..9d3b036c 100644
--- a/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java
+++ b/main/src/test/java/org/onap/cli/main/OnapCliMainTest.java
@@ -16,6 +16,8 @@
package org.onap.cli.main;
+import static org.junit.Assert.fail;
+
import java.io.File;
import java.io.IOException;
import java.net.URL;
@@ -24,7 +26,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import org.aspectj.lang.annotation.After;
import org.junit.Ignore;
import org.junit.Test;
import org.onap.cli.fw.OnapCommand;
@@ -37,24 +38,11 @@ import jline.console.ConsoleReader;
import mockit.Invocation;
import mockit.Mock;
import mockit.MockUp;
-import static org.junit.Assert.fail;
public class OnapCliMainTest {
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();