Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix the native unit test plugins so that they generate the relocated object files for the component under test into a separate directory for each variant of the component under test. Previously the object files for all variants were mixed together and Gradle would try to link them into each test binary.

Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

    • -3
    • +2
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 30 more files in changeset.
Use public services in native plugins to construct `FileCollection` instances, rather than using internal `FileOperations`.

    • -3
    • +2
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 30 more files in changeset.
Deprecate `ProjectLayout.configurableFiles()` as it is replaced by `ObjectFactory.fileCollection()`. Also replace usages of internal `FileOperations.configurableFiles()` method with the public API.

  1. … 26 more files in changeset.
Deprecate `ProjectLayout.configurableFiles()` as it is replaced by `ObjectFactory.fileCollection()`. Also replace usages of internal `FileOperations.configurableFiles()` method with the public API.

  1. … 26 more files in changeset.
Remove unnecessary constructor argument

  1. … 6 more files in changeset.
Revert "spelling: executor"

This reverts commit 5d977f07205c0fc02fa25c32812b761cd4d0f9db.

Signed-off-by: Bo Zhang <bo@gradle.com>

Convert cpp headers zip handling to artifact transform

  1. … 6 more files in changeset.
Ensure development binary selection is deterministic

    • -3
    • +15
    ./cpp/plugins/CppUnitTestPlugin.java
Fail configuration if target machine is unsupported

    • -7
    • +16
    ./cpp/plugins/CppUnitTestPlugin.java
  1. … 27 more files in changeset.
Address code review comment

    • -3
    • +2
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 50 more files in changeset.
Revert `SwiftTargetMachine` to `SwiftPlatform`

  1. … 18 more files in changeset.
Revert `CppTargetMachine` to `CppPlatform`

    • -2
    • +2
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 20 more files in changeset.
Make warning message more informative

    • -1
    • +1
    ./plugins/NativeTestingBasePlugin.java
  1. … 5 more files in changeset.
Only warn if the current operating system isn't targetted by a component

    • -2
    • +3
    ./plugins/NativeTestingBasePlugin.java
  1. … 1 more file in changeset.
Fail specifically when target machines do not target current machine

    • -7
    • +23
    ./plugins/NativeTestingBasePlugin.java
  1. … 4 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. … 23 more files in changeset.
Break association between current and software model type

Move `NativePlatform` getter to internal type.

    • -3
    • +4
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 61 more files in changeset.
spelling: executor

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -0
    • +202
    ./xctest/internal/execution/XCTestExecutor.java
Perform validation check when task dependencies are calculated

    • -6
    • +4
    ./plugins/NativeTestingBasePlugin.java
  1. … 3 more files in changeset.
Test task fails when current operating system is not targeted

    • -2
    • +18
    ./plugins/NativeTestingBasePlugin.java
  1. … 7 more files in changeset.
Restore old way of finding the "tested binary" from a tested component

    • -1
    • +20
    ./cpp/plugins/CppUnitTestPlugin.java
Make the native testing plugins more similar

    • -96
    • +66
    ./cpp/plugins/CppUnitTestPlugin.java
    • -24
    • +9
    ./plugins/NativeTestingBasePlugin.java
    • -87
    • +55
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 2 more files in changeset.
Rename some methods for clarity

  1. … 5 more files in changeset.
Reduce the use of ProjectInternal and introduce more lambdas

    • -113
    • +82
    ./cpp/plugins/CppUnitTestPlugin.java
    • -143
    • +75
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 8 more files in changeset.
Reduce type specific information from variant dimension calculations

  1. … 5 more files in changeset.
Use convention method for target machines property

    • -31
    • +25
    ./cpp/plugins/CppUnitTestPlugin.java
    • -30
    • +24
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 7 more files in changeset.
Fix issue with setting test binary when main component has not been set

    • -9
    • +23
    ./cpp/plugins/CppUnitTestPlugin.java
  1. … 1 more file in changeset.
Fix issues with unit testing libraries

    • -4
    • +15
    ./cpp/plugins/CppUnitTestPlugin.java
  1. … 6 more files in changeset.
Target machine support for xctest