Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.IConventionAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Reporting<TestTaskReports>
, Task
, VerificationTask
, org.gradle.util.Configurable<Task>
@Incubating public class XcTest extends AbstractTestTask
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
XcTest() |
Modifier and Type | Method | Description |
---|---|---|
protected org.gradle.api.internal.tasks.testing.TestExecuter<org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpec> |
createTestExecuter() |
Creates test executer.
|
protected org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpec |
createTestExecutionSpec() |
Creates test execution specification.
|
protected File |
getRunScript() |
Workaround for when the task is given an input file that doesn't exist
|
RegularFileProperty |
getRunScriptFile() |
Returns test suite bundle or executable location
|
DirectoryProperty |
getTestInstallDirectory() |
Sets the test suite bundle or executable location
|
DirectoryProperty |
getWorkingDirectory() |
Returns the working directory property for this test.
|
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, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
addTestListener, addTestOutputListener, afterSuite, afterTest, beforeSuite, beforeTest, executeTests, getBinaryResultsDirectory, getBinResultsDir, getBuildOperationExecutor, getIgnoreFailures, getInetAddressFactory, getInstantiator, getListenerManager, getProgressLoggerFactory, getReports, getTestLogging, getTextOutputFactory, onOutput, removeTestListener, removeTestOutputListener, reports, reports, setBinResultsDir, setIgnoreFailures, testLogging, testLogging
conventionMapping, conventionMapping, getConventionMapping
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
protected org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpec createTestExecutionSpec()
createTestExecutionSpec
in class AbstractTestTask
@InputDirectory public DirectoryProperty getTestInstallDirectory()
@Internal("Covered by getRunScript") public RegularFileProperty getRunScriptFile()
@Internal public DirectoryProperty getWorkingDirectory()
protected org.gradle.api.internal.tasks.testing.TestExecuter<org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpec> createTestExecuter()
AbstractTestTask
createTestExecuter
in class AbstractTestTask
@SkipWhenEmpty @Optional @InputFile protected File getRunScript()