PythonUnitTestRunner

public class PythonUnitTestRunner
extends Object implements IRemoteTest, IBuildReceiver

java.lang.Object
   ↳ com.android.tradefed.testtype.PythonUnitTestRunner


Runs Python tests written with the unittest library.

Summary

Public constructors

PythonUnitTestRunner()

Public methods

void run(ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

void setBuild(IBuildInfo buildInfo)

Protected methods

void checkPythonVersion(CommandResult c)

Public constructors

PythonUnitTestRunner

PythonUnitTestRunner ()

Public methods

run

void run (ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
listener ITestInvocationListener: the ITestInvocationListener of test results
Throws
DeviceNotAvailableException

setBuild

void setBuild (IBuildInfo buildInfo)

Parameters
buildInfo IBuildInfo

Protected methods

checkPythonVersion

void checkPythonVersion (CommandResult c)

Parameters
c CommandResult