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 | notifyInvocationForceStopped (String message, ErrorIdentifier errorId) TradeFed'in durmasının talep edildiğini |
default void | notifyInvocationStopped (String message) |
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 : Testleri gerçekleştirmek için IInvocationContext . |
config | IConfiguration : Bu test çalıştırmasının IConfiguration . |
rescheduler | IRescheduler : Çağrının bölümlerini başka bir kaynakta/kaynaklarda yürütülmek üzere yeniden zamanlamak için IRescheduler |
extraListeners | ITestInvocationListener : ITestInvocationListener s, config ek olarak bildirilecek |
atar | |
---|---|
DeviceNotAvailableException | cihazla iletişim kesilirse |
Throwable |
notifyInvocationForceStopped
public void notifyInvocationForceStopped (String message, ErrorIdentifier errorId)
TradeFed'in durmasının talep edildiğini TestInvocation
bildirin.
parametreler | |
---|---|
message | String : Çağrıyı durdurmakla ilgili mesaj |
errorId | ErrorIdentifier : Zorla durdurmayla ilişkili tanımlayıcı |
notifyInvationStopped
public void notifyInvocationStopped (String message)
TestInvocation
TradeFed'in sonunda kapanacağını bildirin.
parametreler | |
---|---|
message | String : Çağrıyı durdurmakla ilgili mesaj |
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 2022-08-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"İhtiyacım olan bilgiler yok"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Çok karmaşık / çok fazla adım var"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Güncel değil"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Çeviri sorunu"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Örnek veya kod sorunu"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Diğer"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Anlaması kolay"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Sorunumu çözdü"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Diğer"
}]