Google 致力于为黑人社区推动种族平等。查看具体举措

过滤结果转发器

public class FilteredResultForwarder
extends ResultForwarder

对象
com.android.tradefed.result.ResultForwarder
com.android.tradefed.result.FilteredResultForwarder


的变异ResultForwarder ,只允许一个允许列表TestDescription予以报道。

概括

公共构造函数

FilteredResultForwarder ( allowedTests, ITestInvocationListener... listeners) FilteredResultForwarder ( allowedTests, ITestInvocationListener... listeners)

公共方法

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)

公共构造函数

过滤结果转发器

public FilteredResultForwarder ( allowedTests, 
                ITestInvocationListener... listeners)

参数
allowedTests

listeners ITestInvocationListener

公共方法

测试假设失败

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

参数
test TestDescription

failure FailureDescription

测试假设失败

public void testAssumptionFailure (TestDescription test, 
                String trace)

参数
test TestDescription

trace String

测试结束

public void testEnded (TestDescription test, 
                 testMetrics)

参数
test TestDescription

testMetrics

测试结束

public void testEnded (TestDescription test, 
                long endTime, 
                 testMetrics)

参数
test TestDescription

endTime long

testMetrics

测试失败

public void testFailed (TestDescription test, 
                FailureDescription failure)

参数
test TestDescription

failure FailureDescription

测试失败

public void testFailed (TestDescription test, 
                String trace)

参数
test TestDescription

trace String

测试忽略

public void testIgnored (TestDescription test)

参数
test TestDescription

测试开始

public void testStarted (TestDescription test, 
                long startTime)

参数
test TestDescription

startTime long

测试开始

public void testStarted (TestDescription test)

参数
test TestDescription