Sonuç Toplayıcı

public class ResultAggregator
extends CollectingTestListener

java.lang.Nesne
com.android.tradefed.result.CollectingTestListener
com.android.tradefed.retry.ResultAggregator


Alınan yeniden deneme stratejisine göre gerektiğinde sonuçları toplayan özel iletici.

Özet

Kamu inşaatçıları

ResultAggregator ( listeners, RetryStrategy strategy) ResultAggregator ( listeners, RetryStrategy strategy)

Genel yöntemler

void cleanEventsFiles ()
final void forwardAggregatedInvocationLogs ()

Tüm çağırma düzeyi günlüklerini, ayrıntılı sonuçları desteklemeyen sonuç raporlayıcılarına iletin.

void invocationEnded (long elapsedTime)

void invocationFailed (FailureDescription failure)

void invocationFailed (Throwable cause)

void invocationStarted (IInvocationContext context)

void logAssociation (String dataName, LogFile logFile)

void setLogSaver (ILogSaver logSaver)

void setUpdatedReporting (boolean updatedReporting)

Yeni raporlamayı ayarlar.

void testAssumptionFailure (TestDescription test, String trace)
void testAssumptionFailure (TestDescription test, FailureDescription failure)
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 testLog (String dataName, LogDataType dataType, InputStreamSource dataStream)

void testLogSaved (String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
void testModuleEnded ()
void testModuleStarted (IInvocationContext moduleContext)

void testRunEnded (long elapsedTime, runMetrics) testRunEnded (long elapsedTime, runMetrics)

void testRunFailed (FailureDescription failure)

void testRunFailed (String errorMessage)

void testRunStarted (String name, int testCount, int attemptNumber, long startTime)

void testStarted (TestDescription test, long startTime)

Korumalı yöntemler

File[] getEventsLogs ()

Kamu inşaatçıları

Sonuç Toplayıcı

public ResultAggregator ( listeners, 
                RetryStrategy strategy)

parametreler
listeners

strategy RetryStrategy

Genel yöntemler

cleanEventsDosyalar

public void cleanEventsFiles ()

ileriToplu Çağrı Günlükleri

public final void forwardAggregatedInvocationLogs ()

Tüm çağırma düzeyi günlüklerini, ayrıntılı sonuçları desteklemeyen sonuç raporlayıcılarına iletin.

çağrı Bitirildi

public void invocationEnded (long elapsedTime)

parametreler
elapsedTime long

çağırmaBaşarısız

public void invocationFailed (FailureDescription failure)

parametreler
failure FailureDescription

çağırmaBaşarısız

public void invocationFailed (Throwable cause)

parametreler
cause Throwable

çağrıBaşlatıldı

public void invocationStarted (IInvocationContext context)

parametreler
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

parametreler
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

parametreler
logSaver ILogSaver

setGüncel Raporlama

public void setUpdatedReporting (boolean updatedReporting)

Yeni raporlamayı ayarlar.

parametreler
updatedReporting boolean

testVarsayımBaşarısızlık

public void testAssumptionFailure (TestDescription test, 
                String trace)

parametreler
test TestDescription

trace String

testVarsayımBaşarısızlık

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

parametreler
test TestDescription

failure FailureDescription

testBitti

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

parametreler
test TestDescription

endTime long

testMetrics

test başarısız

public void testFailed (TestDescription test, 
                FailureDescription failure)

parametreler
test TestDescription

failure FailureDescription

test başarısız

public void testFailed (TestDescription test, 
                String trace)

parametreler
test TestDescription

trace String

testYoksayıldı

public void testIgnored (TestDescription test)

parametreler
test TestDescription

test günlüğü

public void testLog (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream)

parametreler
dataName String

dataType LogDataType

dataStream InputStreamSource

testGünlüğüKaydedildi

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

parametreler
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuleBitti

public void testModuleEnded ()

testModuleBaşladı

public void testModuleStarted (IInvocationContext moduleContext)

parametreler
moduleContext IInvocationContext

testRunBitti

public void testRunEnded (long elapsedTime, 
                 runMetrics)

parametreler
elapsedTime long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

parametreler
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

parametreler
errorMessage String

testÇalıştırıldı

public void testRunStarted (String name, 
                int testCount, 
                int attemptNumber, 
                long startTime)

parametreler
name String

testCount int

attemptNumber int

startTime long

testBaşladı

public void testStarted (TestDescription test, 
                long startTime)

parametreler
test TestDescription

startTime long

Korumalı yöntemler

getEventsLogs

protected File[] getEventsLogs ()

İadeler
File[]