DefaultSwiftXCTestSuiteTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

  1. … 32 more files in changeset.
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

  1. … 32 more files in changeset.
Address code review comment

  1. … 57 more files in changeset.
Revert `SwiftTargetMachine` to `SwiftPlatform`

  1. … 22 more files in changeset.
Move Swift source compatibility to `SwiftTargetMachine` on `SwiftBinary`

This commit still doesn't consider the source compatibility when

selecting the tool chain.

  1. … 24 more files in changeset.
Break association between current and software model type

Move `NativePlatform` getter to internal type.

  1. … 68 more files in changeset.
Remove unused references to TargetMachineFactory

  1. … 15 more files in changeset.
Isolate native service and class within `platformNative` project

  1. … 55 more files in changeset.
Change x64() to x86_64()

  1. … 10 more files in changeset.
Move TargetMachineFactory up to a project service

  1. … 52 more files in changeset.
Add support for declaring target machines

    • -2
    • +13
    ./DefaultSwiftXCTestSuiteTest.groovy
  1. … 35 more files in changeset.
Expose the variant name and header directories for each C++ binary in the C++ tooling model.

Rework construction of the native binary models so that the binary names are not formatted and parsed a bunch of times during construction and so do not lose information.

  1. … 36 more files in changeset.
Use immutable file collections whenever possible (#5797)

- Stop DefaultProject implementing FileOperations/ProcessOperations

- Stop BasicScript implementing FileOperations/ProcessOperations

- FileResovler.resolveUri() is not nullable

  1. … 38 more files in changeset.
Fix tests and share code between C++ and Swift

    • -2
    • +10
    ./DefaultSwiftXCTestSuiteTest.groovy
  1. … 15 more files in changeset.
Added a display name for each native component implementation.

Added a convenience to `Describables` to format a display name for an object with a type and a name.

  1. … 16 more files in changeset.
Rename source compatibility property and fix CI failures

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

  1. … 19 more files in changeset.
Added methods to the various native component types to allow implementation and API dependencies to be declared on the component instance instead of on the project's `dependencies` block, for consistency with the binaries.

  1. … 32 more files in changeset.
Add support for configuring Swift language support of a component

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

    • -2
    • +10
    ./DefaultSwiftXCTestSuiteTest.groovy
  1. … 32 more files in changeset.
Added 'bundle' and 'executable' subtypes of `SwiftXCTestBinary` to allow specialization based on which kind of test suite is being built.

  1. … 8 more files in changeset.
Include the project name in the default base name of the C++ unit test executable.

Changed construction of test binaries to use a similar pattern as production binaries.

  1. … 7 more files in changeset.
Changed construction of the binaries of a native component to avoid leaking the services used by the binary implementations into the components.

    • -10
    • +14
    ./DefaultSwiftXCTestSuiteTest.groovy
  1. … 14 more files in changeset.
Introduce the binary container to XCTest plugin

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

  1. … 11 more files in changeset.
Migrate `developmentBinary` to a `Provider`

Signed-off-by: Daniel Lacasse <daniel@gradle.com>

  1. … 18 more files in changeset.
Rename SwiftTestExecutable to SwiftXCTestBinary

    • -0
    • +37
    ./DefaultSwiftXCTestSuiteTest.groovy
  1. … 7 more files in changeset.
Added `ObjectFactory.property(Class)` as a replacement for `ProviderFactory.property(Class)`. Changed all usages to use the new method.

  1. … 40 more files in changeset.
Implement XCTest support for Linux

    • -55
    • +0
    ./DefaultSwiftXCTestSuiteTest.groovy
  1. … 74 more files in changeset.
Regroup bundle creation code in `SwiftBasePlugin`

  1. … 26 more files in changeset.
Add test coverage for `DefaultSwiftBundle`

  1. … 1 more file in changeset.
Changed the Swift plugins so that `Configuration` instances are created and wired up as the convention plugins register components and binaries, rather than assuming that exactly one variant of exactly one component is produced by a project and that the project has exactly one variant of exactly one test suite.

This change doesn't add any public mechanism for registering components or binaries, it simply removes some assumptions from the various plugins.

  1. … 19 more files in changeset.
Add test coverage for `xctest` component

    • -4
    • +27
    ./DefaultSwiftXCTestSuiteTest.groovy
  1. … 12 more files in changeset.