Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Reporting<TestTaskReports>, Task, VerificationTask, Configurable<Task>@DisableCachingByDefault(because="Not made cacheable, yet") public class XCTest extends AbstractTestTask
Task.NamerTASK_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, testLoggingconventionMapping, conventionMapping, getConventionMappingcompareTo, 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, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConventionprotected org.gradle.nativeplatform.test.xctest.internal.execution.XCTestTestExecutionSpec createTestExecutionSpec()
AbstractTestTaskcreateTestExecutionSpec 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()
AbstractTestTaskcreateTestExecuter in class AbstractTestTask@SkipWhenEmpty @Nullable @Optional @PathSensitive(ABSOLUTE) @InputFile protected File getRunScript()
public XCTest setTestNameIncludePatterns(List<String> testNamePattern)
TestFiltersetTestNameIncludePatterns in class AbstractTestTask