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.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, getCallbackActionDecorator, getFilter, getIgnoreFailures, getInetAddressFactory, getInstantiator, getListenerManager, getNoMatchingTestErrorReasons, getProgressLoggerFactory, getReports, getTestLogging, getTextOutputFactory, onOutput, removeTestListener, removeTestOutputListener, reports, reports, setBinResultsDir, setIgnoreFailures, testLogging, testLoggingconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringprotected 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