Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -2
    • +2
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :testingNative

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

    • -0
    • +3
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 8 more files in changeset.
Annotate integ tests failing with instant execution in :testingNative

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

    • -0
    • +3
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 8 more files in changeset.
Enable CppUnitTestWithApplicationIntegrationTest for Windows

For gradle-native issue https://github.com/gradle/gradle-native/issues/277

Signed-off-by: Richard Newton <richard_newton@waters.com>

    • -5
    • +0
    ./CppUnitTestWithApplicationIntegrationTest.groovy
Fix issue with relocate task

    • -0
    • +5
    ./AbstractCppUnitTestIntegrationTest.groovy
    • -0
    • +5
    ./CppUnitTestWithApplicationIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix other tests that require 32-bit support

    • -5
    • +0
    ./CppUnitTestWithApplicationIntegrationTest.groovy
  1. … 17 more files in changeset.
Allow multiple versions of xcode for testing

    • -0
    • +5
    ./CppUnitTestWithApplicationIntegrationTest.groovy
  1. … 9 more files in changeset.
Add architecture support for CppUnit tests

    • -0
    • +52
    ./AbstractCppUnitTestIntegrationTest.groovy
    • -8
    • +14
    ./CppUnitTestWithApplicationIntegrationTest.groovy
    • -9
    • +9
    ./CppUnitTestWithLibraryIntegrationTest.groovy
    • -5
    • +3
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 13 more files in changeset.
Add support for C++ applications to the `cpp-unit-test` plugin, by relocating the `main` symbol from the object files of the application under test. Change the `UnexportMainSymbol` to be more idiomatic and the `runTest` task to be incremental.

Move some test coverage so that it is applied to both the XCtest and C++ unit test plugins.

    • -0
    • +85
    ./CppUnitTestWithApplicationIntegrationTest.groovy
    • -19
    • +40
    ./CppUnitTestWithLibraryIntegrationTest.groovy
    • -13
    • +26
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 15 more files in changeset.
Fix the `cpp-unit-test` plugin so that it makes implementation dependencies of the main component visible to the test suite. Reworked the dependency between the test binary and the binary under test for the `cpp-unit-test` and the `xctest` plugins, so that it is implemented consistently (for later extraction into a base plugin) and is wired in via the various configurations.

    • -5
    • +12
    ./CppUnitTestDependenciesIntegrationTest.groovy
    • -0
    • +79
    ./CppUnitTestWithLibraryDependenciesIntegrationTest.groovy
  1. … 9 more files in changeset.
Added methods to `SwiftBinary` to allow implementation dependencies to be declared for the binary.

    • -0
    • +13
    ./CppUnitTestDependenciesIntegrationTest.groovy
  1. … 9 more files in changeset.
Added methods to `CppBinary` to allow implementation dependencies to be declared for the specific binary.

    • -0
    • +52
    ./CppUnitTestDependenciesIntegrationTest.groovy
  1. … 10 more files in changeset.
Changed toolchain selection for the native plugins to attempt to find the x86 tools when building for Windows x64 and none of the x64 tools are available.

This means that when building C++ on a Windows x64 and only cygwin32 or an older Visual studio is installed, the 32 bit binaries will be built and tested, rather than complaining that no tools are available. This fallback could possibly happen on other platforms, but is either pointless (macOS) or is likely to fail (Linux).

The fallback would not happen when the target architecture is explicitly specified, but that isn't possible yet.

    • -11
    • +0
    ./CppUnitTestWithLibraryIntegrationTest.groovy
    • -11
    • +0
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 20 more files in changeset.
Moved responsibility for creating the 'assemble' task for each variant of the main component into the `NativeBasePlugin`.

Added an abstraction to represent a component with output files.

    • -6
    • +12
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 26 more files in changeset.
Added some int test coverage for the native testing plugins.

    • -122
    • +0
    ./CppUnitTestIntegrationTest.groovy
    • -0
    • +73
    ./CppUnitTestWithLibraryIntegrationTest.groovy
    • -0
    • +87
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 8 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++.

    • -8
    • +42
    ./CppUnitTestIntegrationTest.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.

    • -4
    • +12
    ./CppUnitTestIntegrationTest.groovy
  1. … 13 more files in changeset.
Remove cycle dependency between `platform-native` and `language-native`

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

    • -5
    • +0
    ./CppUnitTestWithLibraryIntegrationTest.groovy
    • -17
    • +6
    ./CppUnitTestWithoutComponentIntegrationTest.groovy
  1. … 15 more files in changeset.
Refactored native component tests to remove an abstract method that is not longer required as each component now has a `binaries` container that can be used by the test instead.

  1. … 4 more files in changeset.
Add support for building static c++ libraries

  1. … 41 more files in changeset.
Fixing tests

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

    • -0
    • +79
    ./CppUnitTestIntegrationTest.groovy
    • -59
    • +2
    ./CppUnitTestPluginIntegrationTest.groovy
  1. … 29 more files in changeset.
Add test coverage for XCTest and C++ unit test

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

    • -2
    • +25
    ./CppUnitTestPluginIntegrationTest.groovy
  1. … 10 more files in changeset.
Fixed int tests for changes to C/C++ header discovery.

    • -2
    • +2
    ./CppUnitTestPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Rename cpp-executable to cpp-application

This is a breaking change.

    • -1
    • +1
    ./CppUnitTestPluginIntegrationTest.groovy
  1. … 24 more files in changeset.
Add new cpp-unit-test plugin and base types

    • -0
    • +56
    ./CppUnitTestPluginIntegrationTest.groovy
    • -0
    • +22
    ./CppUnitTestPluginTest.groovy
  1. … 12 more files in changeset.
Add basic google-unit-test integration test

    • -62
    • +0
    ./CppTestPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Create GoogleUnitTest plugin

- Rename CppTestConventionPlugin to CppUnitTestBase

    • -25
    • +1
    ./CppTestPluginIntegrationTest.groovy
  1. … 6 more files in changeset.
Derive test components include path from component under test

  1. … 8 more files in changeset.
Rename C++ test component to unitTest

  1. … 2 more files in changeset.
Assert that all tests have run when executing google test tests