Google is committed to advancing racial equity for Black communities. See how.

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( allowedTests, ITestInvocationListener... listeners)

Public methods

void testAssumptionFailure(TestDescription test, String trace)
void testEnded(TestDescription test, testMetrics)

void testEnded(TestDescription test, long endTime, testMetrics)

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, 
                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

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