Class XCTestConventionPlugin

java.lang.Object
org.gradle.nativeplatform.test.xctest.plugins.XCTestConventionPlugin
All Implemented Interfaces:
Plugin<org.gradle.api.internal.project.ProjectInternal>

@Incubating public class XCTestConventionPlugin extends Object implements Plugin<org.gradle.api.internal.project.ProjectInternal>
A plugin that sets up the infrastructure for testing native binaries with XCTest test framework. It also adds conventions on top of it.
Since:
4.2
  • Constructor Summary

    Constructors
    Constructor
    Description
    XCTestConventionPlugin(org.gradle.nativeplatform.test.xctest.internal.MacOSSdkPlatformPathLocator sdkPlatformPathLocator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(org.gradle.api.internal.project.ProjectInternal project)
    Apply this plugin to the given target object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XCTestConventionPlugin

      @Inject public XCTestConventionPlugin(org.gradle.nativeplatform.test.xctest.internal.MacOSSdkPlatformPathLocator sdkPlatformPathLocator)
  • Method Details

    • apply

      public void apply(org.gradle.api.internal.project.ProjectInternal project)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<org.gradle.api.internal.project.ProjectInternal>
      Parameters:
      project - The target object