ITestInvokasyon

public interface ITestInvocation

com.android.tradefed.invoker.ITestInvokasyon


Bir TradeFederation test çağrısını yönetir.

Özet

iç içe sınıflar

class ITestInvocation.ExitInformation

Bir çağrı için bazı çıkış bilgilerini temsil eder.

Genel yöntemler

default ITestInvocation.ExitInformation getExitInfo ()

Verilen çağrının çıkış bilgileri.

abstract void invoke ( IInvocationContext metadata, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener... extraListeners)

Test çağrısını gerçekleştirin.

default void notifyInvocationForceStopped (String message, ErrorIdentifier errorId)

TradeFed'in durmasının talep edildiğini TestInvocation bildirin.

default void notifyInvocationStopped (String message)

TestInvocation TradeFed'in sonunda kapanacağını bildirin.

Genel yöntemler

getExitInfo

public ITestInvocation.ExitInformation getExitInfo ()

Verilen çağrının çıkış bilgileri.

İadeler
ITestInvocation.ExitInformation

çağırmak

public abstract void invoke (IInvocationContext metadata, 
                IConfiguration config, 
                IRescheduler rescheduler, 
                ITestInvocationListener... extraListeners)

Test çağrısını gerçekleştirin.

parametreler
metadata IInvocationContext : Testleri gerçekleştirmek için IInvocationContext .

config IConfiguration : Bu test çalıştırmasının IConfiguration .

rescheduler IRescheduler : Çağrının bölümlerini başka bir kaynakta/kaynaklarda yürütülmek üzere yeniden zamanlamak için IRescheduler

extraListeners ITestInvocationListener : ITestInvocationListener s, config ek olarak bildirilecek

atar
DeviceNotAvailableException cihazla iletişim kesilirse
Throwable

notifyInvocationForceStopped

public void notifyInvocationForceStopped (String message, 
                ErrorIdentifier errorId)

TradeFed'in durmasının talep edildiğini TestInvocation bildirin.

parametreler
message String : Çağrıyı durdurmakla ilgili mesaj

errorId ErrorIdentifier : Zorla durdurmayla ilişkili tanımlayıcı

notifyInvationStopped

public void notifyInvocationStopped (String message)

TestInvocation TradeFed'in sonunda kapanacağını bildirin.

parametreler
message String : Çağrıyı durdurmakla ilgili mesaj