Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add architecture support for CppUnit tests

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

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

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

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

    • -2
    • +13
    ./xctest/internal/DefaultSwiftXCTestSuiteTest.groovy
  1. … 34 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. … 35 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. … 37 more files in changeset.
Fix tests and share code between C++ and Swift

    • -2
    • +10
    ./xctest/internal/DefaultSwiftXCTestSuiteTest.groovy
  1. … 15 more files in changeset.
Use native variant identity for name suffix

  1. … 8 more files in changeset.
Fix CppUnitTest plugins

  1. … 3 more files in changeset.
Fix test failures

    • -2
    • +2
    ./cpp/plugins/CppUnitTestPluginTest.groovy
    • -3
    • +3
    ./plugins/NativeBinariesTestPluginTest.groovy
    • -3
    • +3
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 21 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. … 15 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. … 31 more files in changeset.
Add support for configuring Swift language support of a component

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

    • -2
    • +10
    ./xctest/internal/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.

    • -4
    • +27
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 7 more files in changeset.
Detangled `CppTestExecutable` from `CppExecutable` as a C++ test executable and a production executable are not the same thing, they just happen to have some stuff in common.

    • -3
    • +4
    ./cpp/plugins/CppUnitTestPluginTest.groovy
  1. … 3 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.

    • -6
    • +6
    ./cpp/plugins/CppUnitTestPluginTest.groovy
  1. … 5 more files in changeset.
Moved some classes around to break package cycle.

    • -0
    • +101
    ./xctest/internal/execution/XCTestSelectionTest.groovy
  1. … 12 more files in changeset.
Changed the `cpp-unit-test` plugin to behave more like the `xctest` plugin, so that it will compile and run the test suite when there is no component under test present, and to use a similar naming scheme for tasks and directory names.

Re-added a type to represent an executable built for tests implemented in C++.

    • -39
    • +20
    ./cpp/plugins/CppUnitTestPluginTest.groovy
  1. … 12 more files in changeset.
Introduced a native testing base plugin, to take care of common aspects of native test support. Currently simply adds some lifecycle tasks.

Introduced an abstraction to represent a native test suite and renamed `testExecutable` to `testBinary` on each of the native test suite types.

    • -1
    • +1
    ./cpp/plugins/CppUnitTestPluginTest.groovy
    • -0
    • +39
    ./plugins/NativeTestingBasePluginTest.groovy
    • -1
    • +1
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 11 more files in changeset.
Introduced an abstraction for a native component that has a development binary, and use this for libraries and applications, but not test suites. Removed the `developmentBinary` property from the test suite types.

    • -1
    • +1
    ./cpp/plugins/CppUnitTestPluginTest.groovy
    • -1
    • +1
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 18 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
    ./xctest/internal/DefaultSwiftXCTestSuiteTest.groovy
  1. … 14 more files in changeset.
Add support for building static c++ libraries

    • -5
    • +25
    ./cpp/plugins/CppUnitTestPluginTest.groovy
  1. … 41 more files in changeset.
Fix CI failure for C++ unit test

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

    • -0
    • +2
    ./cpp/plugins/CppUnitTestPluginTest.groovy
Fixing tests

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

    • -0
    • +144
    ./cpp/plugins/CppUnitTestPluginTest.groovy
    • -1
    • +1
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 29 more files in changeset.
Introduce the binary container to XCTest plugin

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

    • -1
    • +10
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 10 more files in changeset.
Migrate `developmentBinary` to a `Provider`

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

    • -1
    • +1
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 17 more files in changeset.
Hack away XCTest failures

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

    • -0
    • +7
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 1 more file in changeset.
Fix test filter interpretation on Linux

XCTest on Linux interpret pattern such as `Module.TestSuite/` as

`Module.TestSuite` which differ from macOS. This commit pass through the

pattern when a tailing dot is detected.

  1. … 1 more file in changeset.