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 interface
Provides 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
getDisplayName
Methods inherited from interface org.gradle.platform.base.BinarySpec
getInputs, getSources, isBuildable
Methods inherited from interface org.gradle.api.Buildable
getBuildDependencies
Methods inherited from interface org.gradle.api.BuildableComponentSpec
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
Methods inherited from interface org.gradle.api.CheckableComponentSpec
checkedBy, getCheckTask, setCheckTask
Methods inherited from interface org.gradle.platform.base.ComponentSpec
getProjectPath
Methods inherited from interface org.gradle.model.ModelElement
getDisplayName, getName
Methods 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:
getTestSuite
in interfaceTestSuiteBinarySpec
-
getComponent
NativeTestSuiteSpec getComponent()Description copied from interface:NativeBinarySpec
The component that this binary was built from.- Specified by:
getComponent
in interfaceNativeBinarySpec
-
getTestedBinary
NativeBinarySpec getTestedBinary()The tested binary.- Specified by:
getTestedBinary
in interfaceTestSuiteBinarySpec
-
getExecutableFile
File getExecutableFile()The executable file. -
getTasks
NativeTestSuiteBinarySpec.TasksCollection getTasks()The set of tasks associated with this binary.- Specified by:
getTasks
in interfaceBinarySpec
-
getInstallation
NativeInstallationSpec getInstallation() -
getExecutable
NativeExecutableFileSpec getExecutable()
-