api / org.gradle.nativeplatform.test.cpp.plugins / CppUnitTestPlugin

CppUnitTestPlugin

@Incubating open class CppUnitTestPlugin : Plugin<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

Constructors

<init>

CppUnitTestPlugin(componentFactory: NativeComponentFactory, toolChainSelector: ToolChainSelector, objectFactory: ObjectFactory, attributesFactory: ImmutableAttributesFactory)

Functions

apply

open fun apply(project: ProjectInternal): Unit