
fitnesse.reporting.BaseFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
package fitnesse.reporting;
import fitnesse.testsystems.Assertion;
import fitnesse.testsystems.ExceptionResult;
import fitnesse.testsystems.TestPage;
import fitnesse.testsystems.TestResult;
import fitnesse.testsystems.TestSummary;
import fitnesse.testsystems.TestSystem;
import fitnesse.wiki.WikiPage;
import java.io.IOException;
public abstract class BaseFormatter implements Formatter {
private final WikiPage page;
protected BaseFormatter() {
this.page = null;
}
protected BaseFormatter(final WikiPage page) {
this.page = page;
}
protected WikiPage getPage() {
return page;
}
@Override
public void testSystemStarted(TestSystem testSystem) throws IOException {
}
@Override
public void testStarted(TestPage testPage) throws IOException {
}
@Override
public void testOutputChunk(String output) throws IOException {
}
@Override
public void testComplete(TestPage test, TestSummary summary) throws IOException {
}
public int getErrorCount() {
return 0;
}
@Override
public void testAssertionVerified(Assertion assertion, TestResult testResult) {
}
@Override
public void testExceptionOccurred(Assertion assertion, ExceptionResult exceptionResult) {
}
@Override
public void testSystemStopped(TestSystem testSystem, Throwable cause) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy