@Deprecated public class AndroidTestRunner extends BaseTestRunner
Constructor and Description |
---|
AndroidTestRunner()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addTestListener(TestListener testListener)
Deprecated.
|
void |
clearTestListeners()
Deprecated.
|
protected TestResult |
createTestResult()
Deprecated.
|
List<TestCase> |
getTestCases()
Deprecated.
|
String |
getTestClassName()
Deprecated.
|
TestResult |
getTestResult()
Deprecated.
|
protected Class |
loadSuiteClass(String suiteClassName)
Deprecated.
|
protected void |
runFailed(String message)
Deprecated.
|
void |
runTest()
Deprecated.
|
void |
runTest(TestResult testResult)
Deprecated.
|
void |
setContext(Context context)
Deprecated.
|
void |
setInstrumentaiton(Instrumentation instrumentation)
Deprecated.
Incorrect spelling,
use
setInstrumentation(android.app.Instrumentation) instead. |
void |
setInstrumentation(Instrumentation instrumentation)
Deprecated.
|
void |
setPerformanceResultsWriter(PerformanceCollector.PerformanceResultsWriter writer)
Deprecated.
Pending approval for public API.
|
void |
setTest(Test test)
Deprecated.
|
void |
setTestClassName(String testClassName,
String testMethodName)
Deprecated.
|
void |
testEnded(String testName)
Deprecated.
|
void |
testFailed(int status,
Test test,
Throwable t)
Deprecated.
|
void |
testStarted(String testName)
Deprecated.
|
public void setTestClassName(String testClassName, String testMethodName)
public void setTest(Test test)
public void clearTestListeners()
public void addTestListener(TestListener testListener)
protected TestResult createTestResult()
public String getTestClassName()
public TestResult getTestResult()
public void runTest()
public void runTest(TestResult testResult)
public void setContext(Context context)
public void setInstrumentation(Instrumentation instrumentation)
@Deprecated public void setInstrumentaiton(Instrumentation instrumentation)
setInstrumentation(android.app.Instrumentation)
instead.public void setPerformanceResultsWriter(PerformanceCollector.PerformanceResultsWriter writer)
protected Class loadSuiteClass(String suiteClassName) throws ClassNotFoundException
ClassNotFoundException
public void testStarted(String testName)
public void testEnded(String testName)
public void testFailed(int status, Test test, Throwable t)
protected void runFailed(String message)