Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Deincubate the new C++ and Swift plugins

  1. … 99 more files in changeset.
Replace usages of internal FileOperations by public FileSystemOperations

where applicable

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +3
    ./xctest/tasks/InstallXCTestBundle.java
  1. … 2 more files in changeset.
Move UnexportMainSymbol task to nativeplatform

This task is now shared between C++ and Swift, the package should

reflect that.

  1. … 2 more files in changeset.
Specialize getBinaries from XCTest components

  1. … 5 more files in changeset.
Support LinuxMain XCTest pattern on Linux

  1. … 24 more files in changeset.
Add missing @Override to public api types

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 341 more files in changeset.
Add C++ Unit Test Plugin reference chapter

  1. … 14 more files in changeset.
Handle cases when we have both 'is'-getters and 'get'-getters

Groovy generates both an 'is' and a 'get'-getter for boolean properties, and we shouldn't warn in this case. However, if the user defines both getter methods, we should require at least one of them to be explicitly ignored.

We need to figure out which method we need to call to get the value of the property. In the Groovy-generated case we can safely pick the 'get'-getter, because they both do exactly the same. In the user-specified case we need to be told which (if any) to use, as we have no means to make this decision on our own.

  1. … 3 more files in changeset.
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.
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.