FilteredResultForwarder
public class FilteredResultForwarder
extends ResultForwarder
Varian dari ResultForwarder
yang hanya memungkinkan allowlist dari TestDescription
untuk dilaporkan.
Ringkasan
Metode publik |
---|
void | testAssumptionFailure (TestDescription test, FailureDescription failure) |
void | testAssumptionFailure (TestDescription test, String trace) |
void | testEnded (TestDescription test, testMetrics) testEnded (TestDescription test, testMetrics) |
void | testEnded (TestDescription test, long endTime, testMetrics) testEnded (TestDescription test, long endTime, testMetrics) |
void | testFailed (TestDescription test, FailureDescription failure) |
void | testFailed (TestDescription test, String trace) |
void | testIgnored (TestDescription test) |
void | testStarted (TestDescription test, long startTime) |
void | testStarted (TestDescription test) |
Konstruktor publik
FilteredResultForwarder
public FilteredResultForwarder ( allowedTests,
ITestInvocationListener... listeners)
Parameter |
---|
allowedTests | |
listeners | ITestInvocationListener |
Metode publik
tesAsumsiKegagalan
public void testAssumptionFailure (TestDescription test,
FailureDescription failure)
Parameter |
---|
test | TestDescription |
failure | FailureDescription |
tesAsumsiKegagalan
public void testAssumptionFailure (TestDescription test,
String trace)
Parameter |
---|
test | TestDescription |
trace | String |
tesBerakhir
public void testEnded (TestDescription test,
testMetrics)
Parameter |
---|
test | TestDescription |
testMetrics | |
tesBerakhir
public void testEnded (TestDescription test,
long endTime,
testMetrics)
Parameter |
---|
test | TestDescription |
endTime | long |
testMetrics | |
tesGagal
public void testFailed (TestDescription test,
FailureDescription failure)
Parameter |
---|
test | TestDescription |
failure | FailureDescription |
tesGagal
public void testFailed (TestDescription test,
String trace)
Parameter |
---|
test | TestDescription |
trace | String |
tesDiabaikan
public void testIgnored (TestDescription test)
Parameter |
---|
test | TestDescription |
tesMulai
public void testStarted (TestDescription test,
long startTime)
Parameter |
---|
test | TestDescription |
startTime | long |
tesMulai
public void testStarted (TestDescription test)
Parameter |
---|
test | TestDescription |