Class XcTest
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.testing.AbstractTestTask
org.gradle.nativeplatform.test.xctest.tasks.XcTest
- All Implemented Interfaces:
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>
Executes XCTest tests. Test are always run in a single execution.
- Since:
- 4.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface Task
Task.Namer -
Field Summary
Fields inherited from interface Task
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.gradle.api.internal.tasks.testing.TestExecuter<org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpec> Creates test executer.protected org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpecCreates test execution specification.protected FileWorkaround for when the task is given an input file that doesn't existReturns test suite bundle or executable locationSets the test suite bundle or executable locationReturns the working directory property for this test.Methods inherited from class AbstractTestTask
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, testLoggingMethods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMappingMethods inherited from class DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileMethods inherited from class org.gradle.api.internal.AbstractTask
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
-
Constructor Details
-
XcTest
public XcTest()
-
-
Method Details
-
createTestExecutionSpec
protected org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpec createTestExecutionSpec()Creates test execution specification. For internal use only.- Specified by:
createTestExecutionSpecin classAbstractTestTask- Since:
- 4.4
-
getTestInstallDirectory
Sets the test suite bundle or executable location- Since:
- 4.4
-
getRunScriptFile
Returns test suite bundle or executable location- Since:
- 4.4
-
getWorkingDirectory
Returns the working directory property for this test.- Since:
- 4.4
-
createTestExecuter
protected org.gradle.api.internal.tasks.testing.TestExecuter<org.gradle.nativeplatform.test.xctest.internal.XCTestTestExecutionSpec> createTestExecuter()Description copied from class:AbstractTestTaskCreates test executer. For internal use only.- Specified by:
createTestExecuterin classAbstractTestTask
-
getRunScript
Workaround for when the task is given an input file that doesn't exist- Since:
- 4.4
-