Interface CppTestExecutable
- All Superinterfaces:
BuildableComponent,ComponentWithDependencies,ComponentWithExecutable,ComponentWithInstallation,ComponentWithNativeRuntime,ComponentWithObjectFiles,CppBinary,Named,SoftwareComponent,TestComponent
public interface CppTestExecutable
extends CppBinary, ComponentWithExecutable, ComponentWithInstallation, TestComponent
A test executable with tests implemented in C++.
- Since:
- 4.5
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer -
Field Summary
Fields inherited from interface org.gradle.language.cpp.CppBinary
DEBUGGABLE_ATTRIBUTE, LINKAGE_ATTRIBUTE, OPTIMIZED_ATTRIBUTE -
Method Summary
Modifier and TypeMethodDescriptionProvider<? extends RunTestExecutable> Returns the task that runs the tests for this component.Methods inherited from interface org.gradle.language.ComponentWithDependencies
getDependenciesMethods inherited from interface org.gradle.language.nativeplatform.ComponentWithExecutable
getExecutableFile, getExecutableFileProducer, getLinkLibraries, getLinkTaskMethods inherited from interface org.gradle.language.nativeplatform.ComponentWithInstallation
getInstallDirectory, getInstallTask, getRuntimeLibrariesMethods inherited from interface org.gradle.language.nativeplatform.ComponentWithNativeRuntime
getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimizedMethods inherited from interface org.gradle.language.nativeplatform.ComponentWithObjectFiles
getObjectsMethods inherited from interface org.gradle.language.cpp.CppBinary
getCompileIncludePath, getCompileTask, getCppSource, getLinkLibraries, getRuntimeLibraries, getTargetPlatform
-
Method Details
-
getRunTask
Provider<? extends RunTestExecutable> getRunTask()Returns the task that runs the tests for this component.- Specified by:
getRunTaskin interfaceTestComponent
-