AndroidTestRunner
open classAndroidTestRunner
kotlin.Any | |
↳ | android.test.AndroidTestRunner |
Summary
Public constructors | |
---|---|
Public methods | |
---|---|
open Unit |
addTestListener(testListener: TestListener!) |
open Unit | |
open MutableList<TestCase!>! | |
open String! | |
open TestResult! | |
open Unit |
runTest() |
open Unit |
runTest(testResult: TestResult!) |
open Unit |
setContext(context: Context!) |
open Unit |
setInstrumentaiton(instrumentation: Instrumentation!) |
open Unit |
setInstrumentation(instrumentation: Instrumentation!) |
open Unit |
setTest(test: Test!) |
open Unit |
setTestClassName(testClassName: String!, testMethodName: String!) |
open Unit | |
open Unit |
testFailed(status: Int, test: Test!, t: Throwable!) |
open Unit |
testStarted(testName: String!) |
Protected methods | |
---|---|
open TestResult! | |
open Class<Any!>! |
loadSuiteClass(suiteClassName: String!) |
open Unit |
Public constructors
AndroidTestRunner
AndroidTestRunner()
Public methods
addTestListener
open funaddTestListener(testListener: TestListener!): Unit
Deprecated: Deprecated in Java.
clearTestListeners
open funclearTestListeners(): Unit
Deprecated: Deprecated in Java.
getTestCases
open fungetTestCases(): MutableList<TestCase!>!
Deprecated: Deprecated in Java.
getTestClassName
open fungetTestClassName(): String!
Deprecated: Deprecated in Java.
getTestResult
open fungetTestResult(): TestResult!
Deprecated: Deprecated in Java.
runTest
open funrunTest(testResult: TestResult!): Unit
Deprecated: Deprecated in Java.
setContext
open funsetContext(context: Context!): Unit
Deprecated: Deprecated in Java.
setInstrumentaiton
open funsetInstrumentaiton(instrumentation: Instrumentation!): Unit
Deprecated: Incorrect spelling, use setInstrumentation(android.app.Instrumentation)
instead.
setInstrumentation
open funsetInstrumentation(instrumentation: Instrumentation!): Unit
Deprecated: Deprecated in Java.
setTestClassName
open funsetTestClassName(
testClassName: String!,
testMethodName: String!
): Unit
Deprecated: Deprecated in Java.
testEnded
open funtestEnded(testName: String!): Unit
Deprecated: Deprecated in Java.
testFailed
open funtestFailed(
status: Int,
test: Test!,
t: Throwable!
): Unit
Deprecated: Deprecated in Java.
testStarted
open funtestStarted(testName: String!): Unit
Deprecated: Deprecated in Java.
Protected methods
createTestResult
protected open funcreateTestResult(): TestResult!
Deprecated: Deprecated in Java.
loadSuiteClass
protected open funloadSuiteClass(suiteClassName: String!): Class<Any!>!
Deprecated: Deprecated in Java.
runFailed
protected open funrunFailed(message: String!): Unit
Deprecated: Deprecated in Java.