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
|
notifyInvocationStopped(String message, ErrorIdentifier errorId)
|
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 |
Throwable |
notifyInvocationStopped
public void notifyInvocationStopped (String message, ErrorIdentifier errorId)
TestInvocation
'e TradeFed'in durdurulması istendiğini bildirin.
Parametreler | |
---|---|
message |
String : Çağrıyı durdurmayla ilişkili mesaj
|
errorId |
ErrorIdentifier |