透過集合功能整理內容 你可以依據偏好儲存及分類內容。

過濾結果轉發器

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