Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Add test coverage around XCTest filtering

  1. … 2 more files in changeset.
Fix XCTest filtering

* Don't translate `ModuleName.*` to `All` filter. `ModuleName` could

be something else then the compiled module name which would result in

wrongly assuming all test were selected.

* Fix the duplication case where filter `ModuleName.testSuite` and

`ModuleName.testSuite.testCase` were used at the same time.

  1. … 1 more file in changeset.
Merge remote-tracking branch 'origin/lacasseio/native/rename-swift-executable'

* origin/lacasseio/native/rename-swift-executable:

Address code review and fix CI failure

Fix CI failures

Rename `swift-executable` to `swift-application`

    • -5
    • +5
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 3 more files in changeset.
Address code review and fix CI failure

    • -1
    • +1
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 1 more file in changeset.
Make sure we use a consistent naming convention for XCTest

    • -3
    • +3
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 9 more files in changeset.
Use vaarg in `XCTestSelection`

Use better exception message

  1. … 1 more file in changeset.
Rename `swift-executable` to `swift-application`

This commit also rename everything that implies Swift executable as in

an application.

    • -4
    • +4
    ./xctest/plugins/XCTestConventionPluginTest.groovy
  1. … 32 more files in changeset.
Polish XCTest filtering

    • -0
    • +81
    ./xctest/internal/XCTestSelectionTest.groovy
  1. … 11 more files in changeset.