RetryResultForwarder
  public
  
  
  
  class
  RetryResultForwarder
  
  
  
  
    extends ResultForwarder
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | com.android.tradefed.result.ResultForwarder | |
| ↳ | com.android.tradefed.result.RetryResultForwarder | |
Rozszerzenie ResultForwarder, które zawsze przesyła dane do określonej próby.
Podsumowanie
| Konstruktory publiczne | |
|---|---|
| 
      RetryResultForwarder(int attemptNumber, ITestInvocationListener... listeners)
       | |
| Metody publiczne | |
|---|---|
| 
        
        
        
        
        
        void | 
      testRunStarted(String runName, int testCount)
      Raportuje rozpoczęcie testu. | 
| 
        
        
        
        
        
        void | 
      testRunStarted(String runName, int testCount, int attemptNumber)
      Raportuje rozpoczęcie testu. | 
Konstruktory publiczne
RetryResultForwarder
public RetryResultForwarder (int attemptNumber, 
                ITestInvocationListener... listeners)| Parametry | |
|---|---|
| attemptNumber | int | 
| listeners | ITestInvocationListener | 
Metody publiczne
testRunStarted
public void testRunStarted (String runName, 
                int testCount)Raportuje rozpoczęcie testu.
| Parametry | |
|---|---|
| runName | String: nazwa testu; | 
| testCount | int: łączna liczba testów w sesji testowej | 
testRunStarted
public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber)Raportuje rozpoczęcie testu.
| Parametry | |
|---|---|
| runName | String: nazwa testu; | 
| testCount | int: łączna liczba testów w sesji testowej | 
| attemptNumber | int: numer zamówienia, który identyfikuje różne próby tego samego runName, które są wykonywane wielokrotnie. attemptNumber jest indeksowany od 0 i powinien zwiększać się za każdym razem, gdy następuje nowe wykonanie. Przykład: test jest szczegółowo powtarzany 3 razy, więc powinien mieć łącznie 4 wykonania pod tym samym runName, a attemptNumber będzie miał wartość od 0 do 3. | 
