BTest Çağrısı

public interface ITestInvocation

com.android.tradefed.invoker.ITestInvocation


Bir TradeFederation test başlatma işlemini gerçekleştirir.

Özet

İç 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ış bilgisi.

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)

TestInvocation TradeFed'den durdurmasının istendiğini 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ış bilgisi.

İ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ışmasının IConfiguration .

rescheduler IRescheduler : IRescheduler , çağrının bölümlerini başka kaynaklarda yürütme için yeniden planlamak için

extraListeners ITestInvocationListener : ITestInvocationListener , config ek olarak bildirilecek

Atar
DeviceNotAvailableException cihazla iletişim kesilirse
fırlatılabilir

NotifyInvocationForceStopped

public void notifyInvocationForceStopped (String message, 
                ErrorIdentifier errorId)

TestInvocation TradeFed'den durdurmasının istendiğini bildirin.

parametreler
message String : Çağırmayı durdurmakla ilişkili mesaj

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

bildirim Çağırma Durduruldu

public void notifyInvocationStopped (String message)

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

parametreler
message String : Çağırmayı durdurmakla ilişkili mesaj