FilteredResultForwarder
public
class
FilteredResultForwarder
extends ResultForwarder
java.lang.Object | ||
↳ | com.android.tradefed.result.ResultForwarder | |
↳ | com.android.tradefed.result.FilteredResultForwarder |
Variant of ResultForwarder
that only allows an allowlist of TestDescription
to be
reported.
Summary
Public constructors | |
---|---|
FilteredResultForwarder(
|
Public methods | |
---|---|
void
|
testAssumptionFailure(TestDescription test, FailureDescription failure)
|
void
|
testAssumptionFailure(TestDescription test, String trace)
|
void
|
testEnded(TestDescription test,
|
void
|
testEnded(TestDescription test, long endTime,
|
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)
|
Public constructors
FilteredResultForwarder
public FilteredResultForwarder (allowedTests, ITestInvocationListener... listeners)
Parameters | |
---|---|
allowedTests |
|
listeners |
ITestInvocationListener |
Public methods
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, FailureDescription failure)
Parameters | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, String trace)
Parameters | |
---|---|
test |
TestDescription |
trace |
String |
testEnded
public void testEnded (TestDescription test,testMetrics)
Parameters | |
---|---|
test |
TestDescription |
testMetrics |
|
testEnded
public void testEnded (TestDescription test, long endTime,testMetrics)
Parameters | |
---|---|
test |
TestDescription |
endTime |
long |
testMetrics |
|
testFailed
public void testFailed (TestDescription test, FailureDescription failure)
Parameters | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testFailed
public void testFailed (TestDescription test, String trace)
Parameters | |
---|---|
test |
TestDescription |
trace |
String |
testIgnored
public void testIgnored (TestDescription test)
Parameters | |
---|---|
test |
TestDescription |
testStarted
public void testStarted (TestDescription test, long startTime)
Parameters | |
---|---|
test |
TestDescription |
startTime |
long |
testStarted
public void testStarted (TestDescription test)
Parameters | |
---|---|
test |
TestDescription |