XCTestConventionPluginTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix CI failure regarding working directory on Linux

Fix CI failure

Fix CI failure

Split out create bundle and install task

    • -2
    • +14
    ./XCTestConventionPluginTest.groovy
  1. … 5 more files in changeset.
Split out create bundle and install task

    • -2
    • +14
    ./XCTestConventionPluginTest.groovy
  1. … 5 more files in changeset.
Add support for XCTest report generation on Linux

  1. … 8 more files in changeset.
Add support for XCTest report generation on Linux

  1. … 8 more files in changeset.
Address code review comments

    • -6
    • +48
    ./XCTestConventionPluginTest.groovy
  1. … 11 more files in changeset.
Cleanup, javadoc and test fixing

  1. … 11 more files in changeset.
Fix CI failures

  1. … 3 more files in changeset.
Implement XCTest support for Linux

    • -4
    • +48
    ./XCTestConventionPluginTest.groovy
  1. … 74 more files in changeset.
Fix task naming test failure

  1. … 6 more files in changeset.
Rename classes to be more precis in the intent

  1. … 7 more files in changeset.
Merged `AbstractNativeCompileTask.objectFileDirectory` property into `objectFileDir`, changing its type to `DirectoryVar`. This is a breaking change.

  1. … 18 more files in changeset.
Changed the XCTest plugin to use the project directory as the working directory for test execution, for consistency with the JVM tests.

Also wired in the `test` task as a dependency of `check` (and `build`).

  1. … 2 more files in changeset.
Changed the XCTest plugin to honour changes to the build directory when generating reports.

    • -0
    • +29
    ./XCTestConventionPluginTest.groovy
  1. … 1 more file in changeset.
Added `debuggable` flag to `AbstractLinkTask` and changed the C++ and Swift plugins to set this to `true` for the debug variants of each library, executable and test suite.

Changed the Visual C++ toolchain to understand this flag and add the appropriate linker arguments.

  1. … 11 more files in changeset.
Changed the C++ and Swift plugins so that by default debuggable binaries are built for the debug variant, and non-debuggable optimized binaries are built for the release variant.

Added `debuggable` and `optimized` flags to `AbstractNativeCompileTask` and changed the tool chain implementation to generate the relevant compiler options. The C++ and Swift plugins set these flags on the compile tasks.

Also changed `AbstractNativeCompileTask` and `AbstractLinkTask` task types to provide default values for compiler args and macros (both empty) rather than forcing build logic to always set these.

  1. … 17 more files in changeset.
Regroup bundle creation code in `SwiftBasePlugin`

  1. … 26 more files in changeset.
Add test coverage for `xctest` component

  1. … 12 more files in changeset.
Changed the XCTest plugin so that it registers a component that represents the test suite.

  1. … 5 more files in changeset.
Changed the Swift library and executable plugins to produce debug and release variants of the library or executable.

Currently, both variants share the same dependencies, which means that the debug variant of a library is always selected regardless of which variant of the consuming component is being built.

Also added some modelling of XCTest suites.

  1. … 22 more files in changeset.
Moved creation of Swift compile task up to `SwiftBasePlugin`, triggered when a `SwiftComponent` is added to the project's components. Removes some duplication from the Swift executable and library and XCTest plugins.

    • -0
    • +27
    ./XCTestConventionPluginTest.groovy
  1. … 5 more files in changeset.
Changed each of the C++ and Swift plugins to register a component in the project's components container to represent the application/library/test suite that the plugin adds to the project.

    • -0
    • +52
    ./XCTestConventionPluginTest.groovy
  1. … 17 more files in changeset.