DefaultRemoteAndroidTestRunner

public class DefaultRemoteAndroidTestRunner
extends RemoteAndroidTestRunner

java.lang.Object
   ↳ com.android.tradefed.result.ddmlib.RemoteAndroidTestRunner
     ↳ com.android.tradefed.result.ddmlib.DefaultRemoteAndroidTestRunner


Extension of the ddmlib RemoteAndroidTestRunner to set some default for Tradefed use cases.

Summary

Public constructors

DefaultRemoteAndroidTestRunner(String packageName, String runnerName, IShellEnabledDevice remoteDevice)

Public methods

IInstrumentationResultParser createParser(String runName, listeners)

Create the InstrumentationResultParser that will be used to parse the instrumentation output.

Public constructors

DefaultRemoteAndroidTestRunner

public DefaultRemoteAndroidTestRunner (String packageName, 
                String runnerName, 
                IShellEnabledDevice remoteDevice)

Parameters
packageName String

runnerName String

remoteDevice IShellEnabledDevice

Public methods

createParser

public IInstrumentationResultParser createParser (String runName, 
                 listeners)

Create the InstrumentationResultParser that will be used to parse the instrumentation output.

Parameters
runName String: The name of the run to use.

listeners : The listeners where to report the results.

Returns
IInstrumentationResultParser An instance of InstrumentationResultParser.