Class NativeTestingBasePlugin
- java.lang.Object
-
- org.gradle.nativeplatform.test.plugins.NativeTestingBasePlugin
-
@Incubating public abstract class NativeTestingBasePlugin extends java.lang.Object implements Plugin<Project>
Common base plugin for all native testing plugins.Expects plugins to register the native test suites in the
Project.getComponents()
container, and defines a number of rules that act on these components to configure them.- Adds a
"test"
task. - Configures the
"test"
task to run the tests of thetest
component, if present. Expects the test component to be of typeTestSuiteComponent
.
- Since:
- 4.5
- Adds a
-
-
Constructor Summary
Constructors Constructor Description NativeTestingBasePlugin(TargetMachineFactory targetMachineFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Project project)
Apply this plugin to the given target object.
-
-
-
Constructor Detail
-
NativeTestingBasePlugin
@Inject public NativeTestingBasePlugin(TargetMachineFactory targetMachineFactory)
-
-