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>
public class XCTest extends AbstractTestTask
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, 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.execution.XCTestTestExecutionSpec> |
createTestExecuter() |
Creates test executer.
|
protected org.gradle.nativeplatform.test.xctest.internal.execution.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.
|
XCTest |
setTestNameIncludePatterns(List<String> testNamePattern) |
Sets the test name patterns to be included in execution.
|
addTestListener, addTestOutputListener, afterSuite, afterTest, beforeSuite, beforeTest, executeTests, getBinaryResultsDirectory, getBinResultsDir, getBuildOperationExecutor, getFileSystemOperations, getFilter, getHostnameLookup, getIgnoreFailures, getInstantiator, getListenerManager, getNoMatchingTestErrorReasons, getProgressLoggerFactory, getReports, getTestLogging, getTextOutputFactory, onOutput, removeTestListener, removeTestOutputListener, reports, reports, setBinResultsDir, setIgnoreFailures, testLogging, testLogging
conventionMapping, conventionMapping, getConventionMapping
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConvention
protected org.gradle.nativeplatform.test.xctest.internal.execution.XCTestTestExecutionSpec createTestExecutionSpec()
AbstractTestTask
createTestExecutionSpec
in class AbstractTestTask
@PathSensitive(RELATIVE) @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.execution.XCTestTestExecutionSpec> createTestExecuter()
AbstractTestTask
createTestExecuter
in class AbstractTestTask
@SkipWhenEmpty @Nullable @Optional @PathSensitive(ABSOLUTE) @InputFile protected File getRunScript()
public XCTest setTestNameIncludePatterns(List<String> testNamePattern)
TestFilter
setTestNameIncludePatterns
in class AbstractTestTask