Class CppUnitTestPlugin
java.lang.Object
org.gradle.nativeplatform.test.cpp.plugins.CppUnitTestPlugin
- All Implemented Interfaces:
Plugin<org.gradle.api.internal.project.ProjectInternal>
@Incubating
public class CppUnitTestPlugin
extends Object
implements Plugin<org.gradle.api.internal.project.ProjectInternal>
A plugin that sets up the infrastructure for testing C++ binaries using a simple test executable.
Gradle will create a
RunTestExecutable
task that relies on the exit code of the binary.- Since:
- 4.4
-
Constructor Summary
ConstructorDescriptionCppUnitTestPlugin
(org.gradle.api.internal.file.FileOperations fileOperations, ObjectFactory objectFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.gradle.api.internal.project.ProjectInternal project) Apply this plugin to the given target object.
-
Constructor Details
-
CppUnitTestPlugin
@Inject public CppUnitTestPlugin(org.gradle.api.internal.file.FileOperations fileOperations, ObjectFactory objectFactory)
-
-
Method Details