1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# Description: org.junit.internal.runners.TextListener is dropped in current
# JUnit version
--- a/src/net/sourceforge/segment/ui/console/Segment.java
+++ b/src/net/sourceforge/segment/ui/console/Segment.java
@@ -38,8 +38,6 @@
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.PosixParser;
-import org.junit.internal.runners.TextListener;
-import org.junit.runner.JUnitCore;
/**
@@ -114,9 +112,6 @@
}
private void test() {
- JUnitCore core = new JUnitCore();
- core.addListener(new TextListener());
- core.run(SegmentTestSuite.class);
}
private void segment(CommandLine commandLine) throws IOException {
|