Package org.gradle.nativeplatform.test
Interface NativeTestSuiteBinarySpec
- All Superinterfaces:
Binary,BinarySpec,Buildable,BuildableComponentSpec,CheckableComponentSpec,ComponentSpec,ModelElement,Named,NativeBinarySpec,TestSuiteBinarySpec
- All Known Subinterfaces:
CUnitTestSuiteBinarySpec,GoogleTestTestSuiteBinarySpec
@Incubating
public interface NativeTestSuiteBinarySpec
extends TestSuiteBinarySpec, NativeBinarySpec
An executable which runs a suite of tests.
- Since:
- 4.2
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProvides access to key tasks used for building the binary.Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionThe component that this binary was built from.The executable file.getTasks()The set of tasks associated with this binary.The tested binary.Returns the test suite that this binary belongs to.Methods inherited from interface org.gradle.platform.base.Binary
getDisplayNameMethods inherited from interface org.gradle.platform.base.BinarySpec
getInputs, getSources, isBuildableMethods inherited from interface org.gradle.api.Buildable
getBuildDependenciesMethods inherited from interface org.gradle.api.BuildableComponentSpec
builtBy, getBuildTask, hasBuildDependencies, setBuildTaskMethods inherited from interface org.gradle.api.CheckableComponentSpec
checkedBy, getCheckTask, setCheckTaskMethods inherited from interface org.gradle.platform.base.ComponentSpec
getProjectPathMethods inherited from interface org.gradle.model.ModelElement
getDisplayName, getNameMethods inherited from interface org.gradle.nativeplatform.NativeBinarySpec
getAssembler, getBuildType, getcCompiler, getCppCompiler, getFlavor, getLibs, getLinker, getObjcCompiler, getObjcppCompiler, getRcCompiler, getStaticLibArchiver, getTargetPlatform, getToolChain, lib
-
Method Details
-
getTestSuite
NativeTestSuiteSpec getTestSuite()Returns the test suite that this binary belongs to.- Specified by:
getTestSuitein interfaceTestSuiteBinarySpec
-
getComponent
NativeTestSuiteSpec getComponent()Description copied from interface:NativeBinarySpecThe component that this binary was built from.- Specified by:
getComponentin interfaceNativeBinarySpec
-
getTestedBinary
NativeBinarySpec getTestedBinary()The tested binary.- Specified by:
getTestedBinaryin interfaceTestSuiteBinarySpec
-
getExecutableFile
File getExecutableFile()The executable file. -
getTasks
NativeTestSuiteBinarySpec.TasksCollection getTasks()The set of tasks associated with this binary.- Specified by:
getTasksin interfaceBinarySpec
-
getInstallation
NativeInstallationSpec getInstallation() -
getExecutable
NativeExecutableFileSpec getExecutable()
-