PENDING_DEFAULT_MSG
Constructor and Description |
---|
DefaultReporter()
Creates a reporter with output to STDOUT and full stacktraces.
|
DefaultReporter(PrintStream printStream)
Creates a reporter with full stacktraces.
|
DefaultReporter(PrintStream printStream,
boolean showStacktrace)
Creates a reporter.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<Section> |
findSameOrInParent(Section s1,
Section s2) |
protected void |
reportSectionUntilParent(String suiteName,
Section section,
Section parent) |
void |
suiteStart(String suiteName,
List<? extends LambdaTestCase> tests) |
void |
suiteWarning(String suiteName,
String warning) |
void |
testFailed(LambdaTestCase test,
Throwable error) |
void |
testSkipped(LambdaTestCase test,
String message) |
void |
testStart(LambdaTestCase test) |
void |
testSucceeded(LambdaTestCase test) |
public DefaultReporter()
Creates a reporter with output to STDOUT and full stacktraces.
public DefaultReporter(PrintStream printStream)
Creates a reporter with full stacktraces.
printStream
- The PrintStream
used to output.public DefaultReporter(PrintStream printStream, boolean showStacktrace)
Creates a reporter.
printStream
- The PrintStream
used to output.showStacktrace
- If true
, full stacktraces are included in the output.public void testStart(LambdaTestCase test)
protected void reportSectionUntilParent(String suiteName, Section section, Section parent)
public void testSkipped(LambdaTestCase test, String message)
testSkipped
in interface Reporter
public void testFailed(LambdaTestCase test, Throwable error)
testFailed
in interface Reporter
public void testSucceeded(LambdaTestCase test)
testSucceeded
in interface Reporter
public void suiteStart(String suiteName, List<? extends LambdaTestCase> tests)
suiteStart
in interface Reporter
public void suiteWarning(String suiteName, String warning)
suiteWarning
in interface Reporter
Copyright © 2019. All rights reserved.