com.jcandksolutions.gradle.androidunittest
[Groovy] Class TaskManager
java.lang.Object
com.jcandksolutions.gradle.androidunittest.TaskManager
class TaskManager
Class that handles the creation of the Tasks needed for the tests to run. This includes a
TestReport task that generates the reports from the output of each test task; a TestClasses task
that simply triggers the creation of all the class files of all the tests; a TestCompileTask for each
variant that will compile only that variants tests sources; a ResourcesCopyTask for each variant
that will copy the merged resources to a test dir; and a a TestTask for each variant that will
actually run the tests for that variant.
|
Methods inherited from class java.lang.Object
|
| java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
TaskManager
TaskManager(Project project, java.lang.String bootClasspath, PackageExtractor packageExtractor, java.io.File reportDestinationDir, Logger logger)
- Instantiates a TaskManager.
- Parameters:
project - The Project.bootClasspath - The BootClasspath.packageExtractor - The PackageExtractor.reportDestinationDir - The Report Destination Directory.logger - The logger.
createTestTask
void createTestTask(VariantWrapper variant)
- Creates and configures the test task that runs the tests.
- Parameters:
variant - The wrapper of the variant we are creating the test tasks for.
Groovy Documentation