public class

AndroidTestRunner

extends BaseTestRunner
java.lang.Object
   ↳ junit.runner.BaseTestRunner
     ↳ android.test.AndroidTestRunner

Summary

[Expand]
Inherited Constants
From class junit.runner.BaseTestRunner
Public Constructors
AndroidTestRunner()
Public Methods
void addTestListener(TestListener testListener)
void clearTestListeners()
List<TestCase> getTestCases()
String getTestClassName()
TestResult getTestResult()
void runTest(TestResult testResult)
void runTest()
void setContext(Context context)
void setInstrumentaiton(Instrumentation instrumentation)
void setTest(Test test)
void setTestClassName(String testClassName, String testMethodName)
void testEnded(String testName)
void testFailed(int status, Test test, Throwable t)
void testStarted(String testName)
Protected Methods
TestResult createTestResult()
Class loadSuiteClass(String suiteClassName)
Returns the loaded Class for a suite name.
void runFailed(String message)
Override to define how to handle a failed loading of a test suite.
[Expand]
Inherited Methods
From class junit.runner.BaseTestRunner
From class java.lang.Object
From interface junit.framework.TestListener

Public Constructors

public AndroidTestRunner ()

Public Methods

public void addTestListener (TestListener testListener)

public void clearTestListeners ()

public List<TestCase> getTestCases ()

public String getTestClassName ()

public TestResult getTestResult ()

public void runTest (TestResult testResult)

public void runTest ()

public void setContext (Context context)

public void setInstrumentaiton (Instrumentation instrumentation)

public void setTest (Test test)

public void setTestClassName (String testClassName, String testMethodName)

public void testEnded (String testName)

public void testFailed (int status, Test test, Throwable t)

public void testStarted (String testName)

Protected Methods

protected TestResult createTestResult ()

protected Class loadSuiteClass (String suiteClassName)

Returns the loaded Class for a suite name.

protected void runFailed (String message)

Override to define how to handle a failed loading of a test suite.