CppUnitTestPluginTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix tests

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

  1. … 23 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.

  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.

  1. … 7 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++.

  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. … 13 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. … 19 more files in changeset.
Add support for building static c++ libraries

  1. … 41 more files in changeset.
Fix CI failure for C++ unit test

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

Fixing tests

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

    • -0
    • +144
    ./CppUnitTestPluginTest.groovy
  1. … 31 more files in changeset.