use of com.carrotsearch.ant.tasks.junit4.events.SuiteStartedEvent in project randomizedtesting by randomizedtesting.
the class TextReport method onSuiteStart.
@Subscribe
public void onSuiteStart(AggregatedSuiteStartedEvent e) throws IOException {
final Charset charset = e.getSlave().getCharset();
outStream = new WriterOutputStream(outWriter, charset, DEFAULT_MAX_LINE_WIDTH, true);
errStream = new WriterOutputStream(errWriter, charset, DEFAULT_MAX_LINE_WIDTH, true);
if (showSuiteSummary && isPassthrough()) {
SuiteStartedEvent evt = e.getSuiteStartedEvent();
emitSuiteStart(evt.getDescription(), evt.getStartTimestamp());
}
}
Aggregations