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.ExitInformationBir ç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)
      
 | 
| 
        
        default
        
        
        
        void | 
      notifyInvocationStopped(String message)
      
 | 
| 
        
        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çinIInvocationContext. | 
| config | IConfiguration: Bu test çalıştırmasınınIConfiguration. | 
| rescheduler | IRescheduler: Çağırmanın başka kaynaklarda yürütülecek şekilde yeniden planlanması içinIRescheduler | 
| extraListeners | ITestInvocationListener: config'dekilere ek olarak bildirim gönderilecekITestInvocationListener'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 | 
