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 | notifyInvocationStopped (String message, ErrorIdentifier errorId) Bildir |
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 : IInvocationContext testleri yapmak için. |
config | IConfiguration : IConfiguration bu test çalışmasının. |
rescheduler | IRescheduler : IRescheduler , başka bir kaynak ile yürütülmesi için çağırma kısımlarını yeniden programlanması için (lar) |
extraListeners | ITestInvocationListener : ITestInvocationListener olanlara ek olarak, bildirmek için s config |
atar | |
---|---|
DeviceNotAvailableException | cihazla iletişim kesilirse |
Throwable |
notifyInvocationStopped
public void notifyInvocationStopped (String message, ErrorIdentifier errorId)
Bildir TestInvocation
TradeFed durağına talep edildiğini.
parametreler | |
---|---|
message | String : çağırmayı durdurma ile ilişkili mesajı |
errorId | ErrorIdentifier |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 UTC.
[]
[]