Modifier and Type | Method and Description |
---|---|
static int |
runTests(CommandRunnerParams params,
BuildRuleResolver ruleResolver,
Iterable<TestRule> tests,
ExecutionContext executionContext,
TestRunningOptions options,
com.google.common.util.concurrent.ListeningExecutorService service,
BuildEngine buildEngine,
BuildContext buildContext,
SourcePathRuleFinder ruleFinder) |
static void |
writeXmlOutput(List<TestResults> allResults,
Writer writer)
Writes the test results in XML format to the supplied writer.
|
public static int runTests(CommandRunnerParams params, BuildRuleResolver ruleResolver, Iterable<TestRule> tests, ExecutionContext executionContext, TestRunningOptions options, com.google.common.util.concurrent.ListeningExecutorService service, BuildEngine buildEngine, BuildContext buildContext, SourcePathRuleFinder ruleFinder) throws IOException, InterruptedException
IOException
InterruptedException
public static void writeXmlOutput(List<TestResults> allResults, Writer writer) throws IOException
This method does NOT close the writer object.
allResults
- The test results.writer
- The writer in which the XML data will be written to.IOException