ITestInvokasyon

public interface ITestInvocation

com.android.tradefed.invoker.ITestInvokasyon


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

Özet

İç içe geçmiş 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 notifyInvocationStopped (String message, ErrorIdentifier errorId)

TradeFed'in durdurulmasının talep edildiğini TestInvocation 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 kullanılan IInvocationContext .

config IConfiguration : Bu test çalışmasının IConfiguration .

rescheduler IRescheduler : çağrının bazı bölümlerini başka kaynaklarda yürütülmek üzere yeniden planlamak için IRescheduler

extraListeners ITestInvocationListener : config ek olarak bilgilendirilecek ITestInvocationListener s

Atar
DeviceNotAvailableException cihazla iletişim kesilirse
Throwable

notifyInvokasyonDurduruldu

public void notifyInvocationStopped (String message, 
                ErrorIdentifier errorId)

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

Parametreler
message String : Çağrının durdurulmasıyla ilişkili mesaj

errorId ErrorIdentifier