GTestListTestParser

public class GTestListTestParser
extends MultiLineReceiver

java.lang.Object
com.android.ddmlib.MultiLineReceiver
com.android.tradefed.testtype.GTestListTestParser


Un parser dei risultati per la modalità di esecuzione di prova gtest con il parametro "--gtest_list_tests".

Riepilogo

Campi

protected mTests

Costruttori pubblici

GTestListTestParser (String testRunName, ITestInvocationListener listener)

Crea GTestListTestParser per un singolo ascoltatore.

Metodi pubblici

void done ()

boolean getPrependFileName ()
boolean isCancelled ()

void processNewLines (String[] lines)

void setPrependFileName (boolean prepend)

Campi

mTest

protected  mTests

Costruttori pubblici

GTestListTestParser

public GTestListTestParser (String testRunName, 
                ITestInvocationListener listener)

Crea GTestListTestParser per un singolo ascoltatore.

Parametri
testRunName String : il nome dell'esecuzione del test da fornire a ITestLifeCycleReceiver.testRunStarted(String, int)

listener ITestInvocationListener : informato sui risultati dei test durante l'esecuzione dei test

Metodi pubblici

Fatto

public void done ()

getPrependFileName

public boolean getPrependFileName ()

ritorna
boolean

èAnnullato

public boolean isCancelled ()

ritorna
boolean

processNewLines

public void processNewLines (String[] lines)

Parametri
lines String

setPrependFileName

public void setPrependFileName (boolean prepend)

Parametri
prepend boolean