Sonuç İletici

public class ResultForwarder
extends Object implements ITestInvocationListener

java.lang.Object
com.android.tradefed.result.ResultForwarder


Çağırma sonuçlarını diğer dinleyicilerin listesine ileten bir ITestInvocationListener .

Özet

Kamu inşaatçıları

ResultForwarder ( listeners) ResultForwarder ( listeners)

Bir ResultForwarder oluşturun.

ResultForwarder (ITestInvocationListener... listeners)

ResultForwarder için alternatif değişken arg yapıcısı.

Korumalı kurucular

ResultForwarder ()

Ertelenmiş dinleyici ayarıyla bir ResultForwarder oluşturun.

Genel yöntemler

TestSummary getSummary ()

void invocationEnded (long elapsedTime)

void invocationFailed (FailureDescription failure)

void invocationFailed (Throwable cause)

void invocationStarted (IInvocationContext context)

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 testEnded (TestDescription test, testMetrics) testEnded (TestDescription test, 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 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 runName, int testCount, int attemptNumber)

void testRunStarted (String runName, int testCount)

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

void testRunStopped (long elapsedTime)

void testStarted (TestDescription test, long startTime)

void testStarted (TestDescription test)

Korumalı yöntemler

getListeners ()

Dinleyicilerin listesini alın.

void setListeners ( listeners) setListeners ( listeners)

Dinleyicileri inşaattan sonra ayarlayın.

void setListeners (ITestInvocationListener... listeners)

Dinleyicileri inşaattan sonra ayarlayın.

Kamu inşaatçıları

Sonuç İletici

public ResultForwarder ( listeners)

Bir ResultForwarder oluşturun.

Parametreler
listeners : sonuçların iletileceği gerçek ITestInvocationListener

Sonuç İletici

public ResultForwarder (ITestInvocationListener... listeners)

ResultForwarder için alternatif değişken arg yapıcısı.

Parametreler
listeners ITestInvocationListener : sonuçların iletileceği gerçek ITestInvocationListener

Korumalı kurucular

Sonuç İletici

protected ResultForwarder ()

Ertelenmiş dinleyici ayarıyla bir ResultForwarder oluşturun. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.

Genel yöntemler

getÖzet

public TestSummary getSummary ()

İadeler
TestSummary

çağırma sona erdi

public void invocationEnded (long elapsedTime)

Parametreler
elapsedTime long

çağrı başarısız oldu

public void invocationFailed (FailureDescription failure)

Parametreler
failure FailureDescription

çağrı başarısız oldu

public void invocationFailed (Throwable cause)

Parametreler
cause Throwable

çağrı başlatıldı

public void invocationStarted (IInvocationContext context)

Parametreler
context IInvocationContext

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

testSonlandı

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

Parametreler
test TestDescription

endTime long

testMetrics

testSonlandı

public void testEnded (TestDescription test, 
                 testMetrics)

Parametreler
test TestDescription

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

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parametreler
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

Parametreler
elapsedTime long

runMetrics

testRun Başarısız

public void testRunFailed (FailureDescription failure)

Parametreler
failure FailureDescription

testRun Başarısız

public void testRunFailed (String errorMessage)

Parametreler
errorMessage String

testRunBaşlatıldı

public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber)

Parametreler
runName String

testCount int

attemptNumber int

testRunBaşlatıldı

public void testRunStarted (String runName, 
                int testCount)

Parametreler
runName String

testCount int

testRunBaşlatıldı

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

Parametreler
runName String

testCount int

attemptNumber int

startTime long

testRunDurduruldu

public void testRunStopped (long elapsedTime)

Parametreler
elapsedTime long

testBaşladı

public void testStarted (TestDescription test, 
                long startTime)

Parametreler
test TestDescription

startTime long

testBaşladı

public void testStarted (TestDescription test)

Parametreler
test TestDescription

Korumalı yöntemler

getListeners

protected  getListeners ()

Dinleyicilerin listesini alın. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.

İadeler
ITestInvocationListener listesi.

setDinleyiciler

protected void setListeners ( listeners)

Dinleyicileri inşaattan sonra ayarlayın. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.

Parametreler
listeners : sonuçların iletileceği gerçek ITestInvocationListener

setDinleyiciler

protected void setListeners (ITestInvocationListener... listeners)

Dinleyicileri inşaattan sonra ayarlayın. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.

Parametreler
listeners ITestInvocationListener : sonuçların iletileceği gerçek ITestInvocationListener