GTestListTestParser
  public
  
  
  
  class
  GTestListTestParser
  
  
  
  
    extends MultiLineReceiver
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | com.android.ddmlib.MultiLineReceiver | |
| ↳ | com.android.tradefed.testtype.GTestListTestParser | |
Parser wyników w trybie suchego uruchomienia gtest z parametrem „--gtest_list_tests”.
Podsumowanie
| Fieldsem | |
|---|---|
| 
    protected
    
    
     | mTests
 | 
| Konstruktory publiczne | |
|---|---|
| 
      GTestListTestParser(String testRunName, ITestInvocationListener listener)
      Tworzy obiekt GTestListTestParser dla pojedynczego odbiorcy. | |
| 
      GTestListTestParser(String testRunName, ITestInvocationListener listener, boolean shouldCollectDisabledTest)
      Tworzy obiekt GTestListTestParser dla pojedynczego odbiorcy. | |
| Metody publiczne | |
|---|---|
| 
        
        
        
        
        
        void | 
      done()
      
 | 
| 
        
        
        
        
        
        boolean | 
      getPrependFileName()
       | 
| 
        
        
        
        
        
        boolean | 
      isCancelled()
      
 | 
| 
        
        
        
        
        
        void | 
      processNewLines(String[] lines)
      
 | 
| 
        
        
        
        
        
        void | 
      setPrependFileName(boolean prepend)
       | 
Fieldsem
mTests
protectedmTests 
Konstruktory publiczne
GTestListTestParser
public GTestListTestParser (String testRunName, 
                ITestInvocationListener listener)Tworzy obiekt GTestListTestParser dla pojedynczego odbiorcy.
| Parametry | |
|---|---|
| testRunName | String: nazwa testu, który ma być przekazany doITestLifeCycleReceiver.testRunStarted(String, int) | 
| listener | ITestInvocationListener: informowanie o wynikach testów w trakcie ich wykonywania. | 
GTestListTestParser
public GTestListTestParser (String testRunName, 
                ITestInvocationListener listener, 
                boolean shouldCollectDisabledTest)Tworzy obiekt GTestListTestParser dla pojedynczego odbiorcy.
| Parametry | |
|---|---|
| testRunName | String: nazwa testu, który ma być przekazany doITestLifeCycleReceiver.testRunStarted(String, int) | 
| listener | ITestInvocationListener: informowanie o wynikach testów w trakcie ich wykonywania. | 
| shouldCollectDisabledTest | boolean: zbieranie wyłączonych testów | 
Metody publiczne
gotowe
public void done ()
getPrependFileName
public boolean getPrependFileName ()
| Zwroty | |
|---|---|
| boolean | |
isCancelled
public boolean isCancelled ()
| Zwroty | |
|---|---|
| boolean | |
processNewLines
public void processNewLines (String[] lines)
| Parametry | |
|---|---|
| lines | String | 
setPrependFileName
public void setPrependFileName (boolean prepend)
| Parametry | |
|---|---|
| prepend | boolean | 
