Modifier and Type | Class and Description |
---|---|
static interface |
IdbRunTestsStep.StdoutReadingCallback
Interface for reading the stdout of idb
|
Constructor and Description |
---|
IdbRunTestsStep(Path idbPath,
ProjectFilesystem filesystem,
String sdkName,
Path outputPath,
Optional<? extends IdbRunTestsStep.StdoutReadingCallback> stdoutReadingCallback,
TestSelectorList testSelectorList,
Optional<Long> idbStutterTimeout,
Optional<Long> timeoutInMs,
com.facebook.buck.apple.IdbRunTestsStep.TestTypeEnum type,
String testBundleId,
Path testBundlePath,
Optional<Path> appTestBundlePath,
Optional<Path> testHostAppBundlePath,
Optional<String> deviceUdid) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<IdbRunTestsStep> |
createCommands(Path idbPath,
ProjectFilesystem filesystem,
String sdkName,
AppleBundle testBundle,
Path outputPath,
Optional<? extends IdbRunTestsStep.StdoutReadingCallback> stdoutReadingCallback,
TestSelectorList testSelectorList,
Optional<Long> idbStutterTimeout,
Optional<Long> timeoutInMs,
Collection<Path> logicTestBundlePaths,
Map<Path,Path> appTestBundleToHostAppPaths,
Map<Path,Map<Path,Path>> appTestPathsToTestHostAppPathsToTestTargetAppPaths,
Optional<String> deviceUdid)
Function that created one idb step for each different test
|
StepExecutionResult |
execute(ExecutionContext context) |
com.google.common.collect.ImmutableList<String> |
getCommand() |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
public IdbRunTestsStep(Path idbPath, ProjectFilesystem filesystem, String sdkName, Path outputPath, Optional<? extends IdbRunTestsStep.StdoutReadingCallback> stdoutReadingCallback, TestSelectorList testSelectorList, Optional<Long> idbStutterTimeout, Optional<Long> timeoutInMs, com.facebook.buck.apple.IdbRunTestsStep.TestTypeEnum type, String testBundleId, Path testBundlePath, Optional<Path> appTestBundlePath, Optional<Path> testHostAppBundlePath, Optional<String> deviceUdid)
public static com.google.common.collect.ImmutableList<IdbRunTestsStep> createCommands(Path idbPath, ProjectFilesystem filesystem, String sdkName, AppleBundle testBundle, Path outputPath, Optional<? extends IdbRunTestsStep.StdoutReadingCallback> stdoutReadingCallback, TestSelectorList testSelectorList, Optional<Long> idbStutterTimeout, Optional<Long> timeoutInMs, Collection<Path> logicTestBundlePaths, Map<Path,Path> appTestBundleToHostAppPaths, Map<Path,Map<Path,Path>> appTestPathsToTestHostAppPathsToTestTargetAppPaths, Optional<String> deviceUdid)
public StepExecutionResult execute(ExecutionContext context) throws IOException, InterruptedException
execute
in interface Step
IOException
InterruptedException
public com.google.common.collect.ImmutableList<String> getCommand()
public String getShortName()
getShortName
in interface Step
public String getDescription(ExecutionContext context)
getDescription
in interface Step