ITestInvocation

public interface ITestInvocation

com.android.tradefed.invoker.ITestInvocation


Bir TradeFederation test çağrısını işler.

Özet

İç içe yerleştirilmiş sınıflar

class ITestInvocation.ExitInformation

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

Herkese açık yöntemler

default ITestInvocation.ExitInformation getExitInfo()

Belirtilen ç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)

TestInvocation'e TradeFed'in durdurulması istendiğini bildirin.

default void notifyInvocationStopped(String message)

TestInvocation'e TradeFed'in kullanımdan kaldırılacağını bildirin.

default void setClearcutClient(ClearcutClient client)

Metrikleri raporlamak için net istemciyi iletin.

Herkese açık yöntemler

getExitInfo

public ITestInvocation.ExitInformation getExitInfo ()

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

İlerlemeler
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ğırmanın başka kaynaklarda yürütülecek şekilde yeniden planlanması için IRescheduler

extraListeners ITestInvocationListener: config'dekilere ek olarak bildirim gönderilecek ITestInvocationListener'ler

Atışlar
DeviceNotAvailableException Cihazla iletişim kesildiyse
Atılabil.

notifyInvocationForceStopped

public void notifyInvocationForceStopped (String message, 
                ErrorIdentifier errorId)

TestInvocation'e TradeFed'in durdurulması istendiğini bildirin.

Parametreler
message String: Çağrıyı durdurmayla ilişkili mesaj

errorId ErrorIdentifier: Zorunlu durdurma ile ilişkili tanımlayıcı

notifyInvocationStopped

public void notifyInvocationStopped (String message)

TestInvocation'e TradeFed'in kullanımdan kaldırılacağını bildirin.

Parametreler
message String: Çağrıyı durdurmayla ilişkili mesaj

setClearcutClient

public void setClearcutClient (ClearcutClient client)

Metrikleri raporlamak için net istemciyi iletin.

Parametreler
client ClearcutClient