@Incubating public class XcTest extends Test
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
XcTest(ObjectFactory objectFactory) |
Modifier and Type | Method and Description |
---|---|
File |
getTestBundleDir() |
File |
getWorkingDir()
Returns the working directory for the process.
|
void |
setTestBundleDir(File testBundleDir) |
void |
setTestBundleDir(Provider<? extends Directory> testBundleDir) |
void |
setWorkingDir(File workingDir)
Sets the working directory for the process.
|
void |
setWorkingDir(Provider<? extends Directory> workingDir) |
addTestListener, addTestOutputListener, afterSuite, afterTest, beforeSuite, beforeTest, bootstrapClasspath, copyTo, copyTo, environment, environment, exclude, exclude, exclude, exclude, executable, executeTests, filter, getActorFactory, getAllJvmArgs, getBinResultsDir, getBootstrapClasspath, getBuildOperationExecutor, getCandidateClassFiles, getClassLoaderCache, getClasspath, getDebug, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getExcludes, getExecutable, getFileResolver, getFilter, getForkEvery, getIgnoreFailures, getIncludes, getInetAddressFactory, getInstantiator, getJavaVersion, getJvmArgs, getListenerManager, getMaxHeapSize, getMaxParallelForks, getMinHeapSize, getModuleRegistry, getOptions, getProcessBuilderFactory, getProgressLoggerFactory, getReports, getSystemProperties, getTestClassesDir, getTestClassesDirs, getTestFramework, getTestLogging, getTextOutputFactory, include, include, include, include, isScanForTestClasses, jvmArgs, jvmArgs, onOutput, options, options, removeTestListener, removeTestOutputListener, reports, reports, setAllJvmArgs, setAllJvmArgs, setBinResultsDir, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setExcludes, setExecutable, setExecutable, setForkEvery, setIgnoreFailures, setIncludes, setJvmArgs, setJvmArgs, setMaxHeapSize, setMaxParallelForks, setMinHeapSize, setScanForTestClasses, setSystemProperties, setTestClassesDir, setTestClassesDirs, setTestExecuter, setTestNameIncludePatterns, setWorkingDir, systemProperties, systemProperty, testFramework, testLogging, testLogging, useJUnit, useJUnit, useJUnit, useTestNG, useTestNG, useTestNG, workingDir
conventionMapping, conventionMapping, getConventionMapping
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, newInputFile, newOutputDirectory, newOutputFile, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@Inject public XcTest(ObjectFactory objectFactory)
@InputDirectory public File getTestBundleDir()
public void setTestBundleDir(File testBundleDir)
@Internal public File getWorkingDir()
Test
getWorkingDir
in interface ProcessForkOptions
getWorkingDir
in class Test
public void setWorkingDir(File workingDir)
Test
setWorkingDir
in interface ProcessForkOptions
setWorkingDir
in class Test
workingDir
- The working directory. Must not be null.