public class UIAutomatorRemoteAndroidTestRunner extends Object
Constructor and Description |
---|
UIAutomatorRemoteAndroidTestRunner(String jarFile,
com.android.ddmlib.IDevice remoteDevice) |
Modifier and Type | Method and Description |
---|---|
void |
addBooleanArg(String name,
boolean value) |
void |
addInstrumentationArg(String name,
String value) |
void |
cancel() |
void |
run(Collection<com.android.ddmlib.testrunner.ITestRunListener> listeners) |
void |
run(com.android.ddmlib.testrunner.ITestRunListener... listeners) |
void |
setDebug(boolean debug) |
void |
setDumpFilePath(String dumpFilePath) |
void |
setMaxtimeToOutputResponse(int maxTimeToOutputResponse) |
void |
setNoHup(boolean noHup) |
void |
setRunName(String runName) |
void |
setTestClassOrMethods(String[] testClassOrMethods) |
void |
setUserProperties(Properties userProperties,
String propertiesKeyPrefix)
Adds instrumentation arguments from userProperties from keys with the propertiesKeyPrefix prefix.
|
public UIAutomatorRemoteAndroidTestRunner(String jarFile, com.android.ddmlib.IDevice remoteDevice)
public void setTestClassOrMethods(String[] testClassOrMethods)
public void addBooleanArg(String name, boolean value)
public void setDebug(boolean debug)
public void setNoHup(boolean noHup)
public void setDumpFilePath(String dumpFilePath)
public void setMaxtimeToOutputResponse(int maxTimeToOutputResponse)
public void setRunName(String runName)
public void run(com.android.ddmlib.testrunner.ITestRunListener... listeners) throws com.android.ddmlib.TimeoutException, com.android.ddmlib.AdbCommandRejectedException, com.android.ddmlib.ShellCommandUnresponsiveException, IOException
com.android.ddmlib.TimeoutException
com.android.ddmlib.AdbCommandRejectedException
com.android.ddmlib.ShellCommandUnresponsiveException
IOException
public void run(Collection<com.android.ddmlib.testrunner.ITestRunListener> listeners) throws com.android.ddmlib.TimeoutException, com.android.ddmlib.AdbCommandRejectedException, com.android.ddmlib.ShellCommandUnresponsiveException, IOException
com.android.ddmlib.TimeoutException
com.android.ddmlib.AdbCommandRejectedException
com.android.ddmlib.ShellCommandUnresponsiveException
IOException
public void cancel()
public void setUserProperties(Properties userProperties, String propertiesKeyPrefix)
userProperties
- propertiesKeyPrefix
- Copyright © 2008–2019 simpligility technologies inc.. All rights reserved.