public class InstrumentationTestRunner extends Object
Constructor and Description |
---|
InstrumentationTestRunner(String adbExecutablePath,
String deviceSerial,
String packageName,
String targetPackageName,
String testRunner,
File outputDirectory,
String instrumentationApkPath,
String apkUnderTestPath,
String exopackageLocalPath,
String apkUnderTestExopackageLocalPath,
boolean attemptUninstallApkUnderTest,
boolean attemptUninstallInstrumentationApk,
boolean debug,
boolean codeCoverage,
String codeCoverageOutputFile,
Map<String,String> extraInstrumentationArguments) |
Modifier and Type | Method and Description |
---|---|
static InstrumentationTestRunner |
fromArgs(String... args) |
void |
run() |
protected static void |
syncExopackageDir(Path localBase,
com.android.ddmlib.IDevice device)
Copy all local files to the remote device location
|
public InstrumentationTestRunner(String adbExecutablePath, String deviceSerial, String packageName, String targetPackageName, String testRunner, File outputDirectory, String instrumentationApkPath, String apkUnderTestPath, String exopackageLocalPath, String apkUnderTestExopackageLocalPath, boolean attemptUninstallApkUnderTest, boolean attemptUninstallInstrumentationApk, boolean debug, boolean codeCoverage, String codeCoverageOutputFile, Map<String,String> extraInstrumentationArguments)
public static InstrumentationTestRunner fromArgs(String... args)