ResultForwarder
public
class
ResultForwarder
extends Object
implements
ITestInvocationListener
java.lang.Object | |
↳ | com.android.tradefed.result.ResultForwarder |
Çağırma sonuçlarını diğer dinleyicilerin listesine yönlendiren bir ITestInvocationListener
.
Özet
Herkese açık kurucular | |
---|---|
ResultForwarder(
Bir |
|
ResultForwarder(ITestInvocationListener... listeners)
|
Korunan kurucular | |
---|---|
ResultForwarder()
Ertelenen dinleyici ayarıyla bir |
Herkese açık 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,
|
void
|
testEnded(TestDescription test,
|
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,
|
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)
|
Korunan yöntemler | |
---|---|
|
getListeners()
Dinleyicilerin listesini alın. |
void
|
setListeners(
Dinleyicileri oluşturduktan sonra ayarlayın. |
void
|
setListeners(ITestInvocationListener... listeners)
Dinleyicileri oluşturduktan sonra ayarlayın. |
Herkese açık kurucular
ResultForwarder
public ResultForwarder (listeners)
Bir ResultForwarder
oluşturun.
Parametreler | |
---|---|
listeners |
: Sonuçları yönlendirilecek gerçek ITestInvocationListener 'ler
|
ResultForwarder
public ResultForwarder (ITestInvocationListener... listeners)
ResultForwarder
için alternatif değişken bağımsız değişkeni oluşturucu.
Parametreler | |
---|---|
listeners |
ITestInvocationListener : Sonuçları yönlendirilecek gerçek ITestInvocationListener 'ler
|
Korunan kurucular
ResultForwarder
protected ResultForwarder ()
Ertelenen dinleyici ayarıyla bir ResultForwarder
oluşturun. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.
Herkese açık yöntemler
getSummary
public TestSummary getSummary ()
İlerlemeler | |
---|---|
TestSummary |
invocationEnded
public void invocationEnded (long elapsedTime)
Parametreler | |
---|---|
elapsedTime |
long |
invocationFailed
public void invocationFailed (FailureDescription failure)
Parametreler | |
---|---|
failure |
FailureDescription |
invocationFailed
public void invocationFailed (Throwable cause)
Parametreler | |
---|---|
cause |
Throwable |
invocationStarted
public void invocationStarted (IInvocationContext context)
Parametreler | |
---|---|
context |
IInvocationContext |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, String trace)
Parametreler | |
---|---|
test |
TestDescription |
trace |
String |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, FailureDescription failure)
Parametreler | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testEnded
public void testEnded (TestDescription test, long endTime,testMetrics)
Parametreler | |
---|---|
test |
TestDescription |
endTime |
long |
testMetrics |
|
testEnded
public void testEnded (TestDescription test,testMetrics)
Parametreler | |
---|---|
test |
TestDescription |
testMetrics |
|
testFailed
public void testFailed (TestDescription test, FailureDescription failure)
Parametreler | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testFailed
public void testFailed (TestDescription test, String trace)
Parametreler | |
---|---|
test |
TestDescription |
trace |
String |
testIgnored
public void testIgnored (TestDescription test)
Parametreler | |
---|---|
test |
TestDescription |
testLog
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 |
|
testRunFailed
public void testRunFailed (FailureDescription failure)
Parametreler | |
---|---|
failure |
FailureDescription |
testRunFailed
public void testRunFailed (String errorMessage)
Parametreler | |
---|---|
errorMessage |
String |
testRunStarted
public void testRunStarted (String runName, int testCount, int attemptNumber)
Parametreler | |
---|---|
runName |
String |
testCount |
int |
attemptNumber |
int |
testRunStarted
public void testRunStarted (String runName, int testCount)
Parametreler | |
---|---|
runName |
String |
testCount |
int |
testRunStarted
public void testRunStarted (String runName, int testCount, int attemptNumber, long startTime)
Parametreler | |
---|---|
runName |
String |
testCount |
int |
attemptNumber |
int |
startTime |
long |
testRunStopped
public void testRunStopped (long elapsedTime)
Parametreler | |
---|---|
elapsedTime |
long |
testStarted
public void testStarted (TestDescription test, long startTime)
Parametreler | |
---|---|
test |
TestDescription |
startTime |
long |
testStarted
public void testStarted (TestDescription test)
Parametreler | |
---|---|
test |
TestDescription |
Korunan yöntemler
getListeners
protectedgetListeners ()
Dinleyicilerin listesini alın. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.
İlerlemeler | |
---|---|
|
ITestInvocationListener değerlerinin listesi.
|
setListeners
protected void setListeners (listeners)
Dinleyicileri oluşturduktan sonra ayarlayın. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.
Parametreler | |
---|---|
listeners |
: Sonuçları yönlendirilecek gerçek ITestInvocationListener 'ler
|
setListeners
protected void setListeners (ITestInvocationListener... listeners)
Dinleyicileri oluşturduktan sonra ayarlayın. Yalnızca alt sınıflar tarafından kullanılmak üzere tasarlanmıştır.
Parametreler | |
---|---|
listeners |
ITestInvocationListener : Sonuçları yönlendirilecek gerçek ITestInvocationListener 'ler
|