git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270946 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -60,6 +60,8 @@ import java.util.Properties; | |||||
| import junit.framework.TestCase; | import junit.framework.TestCase; | ||||
| import org.apache.tools.ant.BuildException; | |||||
| /** | /** | ||||
| * Not exactly rocket science test.. dooh ! | * Not exactly rocket science test.. dooh ! | ||||
| * | * | ||||
| @@ -117,19 +119,13 @@ public class FilterStackFormatterTest extends TestCase | |||||
| // --- formatter implementation | // --- formatter implementation | ||||
| protected String filteredTrace; | protected String filteredTrace; | ||||
| public void setOutput(OutputStream out) { | |||||
| } | |||||
| public void onTestStarted(String testname) { | public void onTestStarted(String testname) { | ||||
| } | } | ||||
| public void setSystemOutput(String out) { | |||||
| } | |||||
| public void onTestEnded(String testname) { | public void onTestEnded(String testname) { | ||||
| } | } | ||||
| public void setSystemError(String err) { | |||||
| public void init(Properties props) throws BuildException { | |||||
| } | } | ||||
| public void onTestFailed(int status, String testname, String trace) { | public void onTestFailed(int status, String testname, String trace) { | ||||
| @@ -54,8 +54,10 @@ | |||||
| package org.apache.tools.ant.taskdefs.optional.junit.formatter; | package org.apache.tools.ant.taskdefs.optional.junit.formatter; | ||||
| import java.io.OutputStream; | import java.io.OutputStream; | ||||
| import java.util.Properties; | |||||
| import org.apache.tools.ant.taskdefs.optional.junit.TestRunRecorder; | import org.apache.tools.ant.taskdefs.optional.junit.TestRunRecorder; | ||||
| import org.apache.tools.ant.BuildException; | |||||
| /** | /** | ||||
| * A formatter recorder that serves the same purpose as | * A formatter recorder that serves the same purpose as | ||||
| @@ -67,13 +69,6 @@ import org.apache.tools.ant.taskdefs.optional.junit.TestRunRecorder; | |||||
| */ | */ | ||||
| public class FormatterRecorder extends TestRunRecorder | public class FormatterRecorder extends TestRunRecorder | ||||
| implements Formatter { | implements Formatter { | ||||
| public void setOutput(OutputStream out) { | |||||
| } | |||||
| public void setSystemOutput(String out) { | |||||
| } | |||||
| public void setSystemError(String err) { | |||||
| public void init(Properties props) throws BuildException { | |||||
| } | } | ||||
| } | } | ||||