Interface SwiftXCTestBinary
- All Superinterfaces:
ComponentWithDependencies, ComponentWithNativeRuntime, ComponentWithObjectFiles, Named, SoftwareComponent, SwiftBinary, TestComponent
- All Known Subinterfaces:
SwiftXCTestBundle, SwiftXCTestExecutable
An test binary built from Swift source.
- Since:
- 4.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionReturns the executable test file for this binary.Returns the installation directory for this binary.Provider<? extends AbstractLinkTask> Returns the link task for this binary.Returns the script for running this binary.Returns the task that runs the tests for this component.Methods inherited from interface ComponentWithDependencies
getDependenciesMethods inherited from interface ComponentWithNativeRuntime
getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimizedMethods inherited from interface ComponentWithObjectFiles
getObjectsMethods inherited from interface SwiftBinary
getCompileModules, getCompileTask, getLinkLibraries, getModule, getModuleFile, getRuntimeLibraries, getSwiftSource, getTargetPlatform, isTestable
-
Method Details
-
getExecutableFile
Provider<RegularFile> getExecutableFile()Returns the executable test file for this binary.- Since:
- 4.5
-
getInstallDirectory
-
getRunScriptFile
-
getLinkTask
Provider<? extends AbstractLinkTask> getLinkTask()Returns the link task for this binary.- Since:
- 4.5
-
getRunTask
Returns the task that runs the tests for this component.- Specified by:
getRunTaskin interfaceTestComponent
-