@Deprecated public class UiAutomatorTestCase extends TestCase
UiDevice
instance
Bundle
for command line parameters.Constructor and Description |
---|
UiAutomatorTestCase()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IAutomationSupport |
getAutomationSupport()
Deprecated.
Provides support for running tests to report interim status
|
Bundle |
getParams()
Deprecated.
Get command line parameters.
|
UiDevice |
getUiDevice()
Deprecated.
Get current instance of
UiDevice . |
protected void |
setUp()
Deprecated.
|
void |
sleep(long ms)
Deprecated.
Calls
SystemClock.sleep(long) to sleep |
protected void |
tearDown()
Deprecated.
|
public UiDevice getUiDevice()
UiDevice
. Works similar to calling the static
UiDevice.getInstance()
from anywhere in the test classes.public Bundle getParams()
-e key value
pairs, the Bundle
will have the key value pairs conveniently available to the
tests.public IAutomationSupport getAutomationSupport()
public void sleep(long ms)
SystemClock.sleep(long)
to sleepms
- is in milliseconds.