java.lang.Object | ||||
↳ | junit.framework.Assert | |||
↳ | junit.framework.TestCase | |||
↳ | android.test.InstrumentationTestCase | |||
↳ | android.support.test.uiautomator.UiAutomatorTestCase |
This class is deprecated.
It is no longer necessary to extend UiAutomatorTestCase. You can use
getInstance(Instrumentation)
from any test class as long as you have access to
an Instrumentation
instance.
UI Automator test case that is executed on the device.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
sendStatus(int, Bundle) instead
| |||||||||||
Get command line parameters.
| |||||||||||
Get current instance of
UiDevice .
| |||||||||||
This method is deprecated.
Use
sleep(long) instead.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.test.InstrumentationTestCase
| |||||||||||
From class
junit.framework.TestCase
| |||||||||||
From class
junit.framework.Assert
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
junit.framework.Test
|
This method is deprecated.
Use sendStatus(int, Bundle)
instead
Provides support for running tests to report interim status
Get command line parameters. On the command line when passing -e key value
pairs, the Bundle
will have the key value pairs conveniently available to the
tests.
Get current instance of UiDevice
. Works similar to calling the static
getInstance()
from anywhere in the test classes.
This method is deprecated.
Use sleep(long)
instead.
Calls sleep(long)
to sleep
ms | is in milliseconds. |
---|