Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make xctest fatal errors only fail the test and change execution failure test name

  1. … 6 more files in changeset.
Move failure diagnostics to test report

  1. … 8 more files in changeset.
Make xctest task fail when execution of the test suite fails

  1. … 3 more files in changeset.
Make xctest plugin lazy

except for a compile task

    • -16
    • +16
    ./cpp/plugins/CppUnitTestPlugin.java
    • -62
    • +102
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 4 more files in changeset.
Make most of C++ plugin tasks lazily created

    • -21
    • +36
    ./cpp/plugins/CppUnitTestPlugin.java
    • -9
    • +21
    ./plugins/NativeTestingBasePlugin.java
  1. … 5 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.

    • -2
    • +15
    ./cpp/plugins/CppUnitTestPlugin.java
  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
    • +15
    ./cpp/plugins/CppUnitTestPlugin.java
    • -12
    • +20
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 9 more files in changeset.
Use new OperatingSystemFamily query method

  1. … 6 more files in changeset.
Rename OperatingSystemFamily.MAC_OS to MACOS

  1. … 4 more files in changeset.
Add missing operatingSystems to SwiftComponent

    • -45
    • +74
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 4 more files in changeset.
Fix test failure due to missing API export from application

  1. … 1 more file in changeset.
Fix tests and share code between C++ and Swift

    • -14
    • +54
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 11 more files in changeset.
Wire operatingSystem into Swift binary types

  1. … 6 more files in changeset.
A minor simplification.

Use camel case consistently for variant names

  1. … 7 more files in changeset.
Add `@Nullable` to `@Optional` task inputs

where applicable.

    • -1
    • +3
    ./xctest/tasks/InstallXCTestBundle.java
  1. … 45 more files in changeset.
Changed the XCTest plugin so that it does not add `-g` to the compiler args. This is already taken care of by the plugin adding a debuggable binary.

Moved a couple of services from `testingNative` down to `platformNative`

    • -36
    • +0
    ./xctest/internal/MacOSSdkPlatformPathLocator.java
    • -1
    • +1
    ./xctest/tasks/InstallXCTestBundle.java
  1. … 8 more files in changeset.
Use native variant identity for name suffix

    • -1
    • +1
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 7 more files in changeset.
Generalize operating system configuration test to C++ unit test

    • -58
    • +74
    ./cpp/plugins/CppUnitTestPlugin.java
    • -3
    • +3
    ./plugins/NativeTestingBasePlugin.java
  1. … 13 more files in changeset.
Remove lightweight usage context

  1. … 9 more files in changeset.
Refactor to detangle NativeVariantIdentity and Cpp binaries

  1. … 8 more files in changeset.
Fix CppUnitTest plugins

    • -1
    • +1
    ./cpp/internal/DefaultCppTestSuite.java
    • -2
    • +50
    ./cpp/plugins/CppUnitTestPlugin.java
  1. … 1 more file in changeset.
Use identity for debuggable and optimized properties

    • -2
    • +3
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 9 more files in changeset.
Stop test execution after first failure (#4190)

* Rough pass at stopNow() on test failure

* Updated worker TestClassProcessor.stopNow() to throw UnsupportedOperationException

* Updated MaxNParallelTestClassProcessor to keep "raw" processors for stopNow().

Updated other daemon-side TestClassProcessors to keep track if stopNow() is called.

* Added AbstractTestTask.getFailFast()

* Added some unit tests for to TestClassProcessors

* Added unit tests for stopNow()

* Rough pass at JUnitFailFastIntegrationTest

* Refactor fail fast JVM integration test.

Moved common logic/tests from JUnitFailFastIntegrationTest into AbstractJvmFailFastIntegrationSpec.

Added TestNGFailFastIntegrationTest (which extends TestNGFailFastIntegrationTest)

* Working on forkEvery fail fast test

* Converted FailFastTestListener to FailFastTestListenerInternal

* Added BlockingHttpServer.expectMaybeAndBlock()

* TestNG parallel & fail-fast integration test

* Remove unused import

* Remove unused import

* Marked test.failFast as @Input

* Added `failFast` to java_plugin in userguide

* Javadoc & formatting changes

* Updated userguide docs based on review comments

* Moved `failFast` configuration from `AbstractTestTask` to `Test` to avoid `XCTest`

* Updates from review comments

* More updates from review comments

* Reduced Mock() usage in FailFastTestListenerInternalTest

* Backed out changes to XCTestExecuter for fail fast behavior

* Fixed typo in javadoc

* Remove --no-fail-fast `@Option` from `Test`

* Reduce mocking expectations in ForkingTestClassProcessorTest

* Moved @Internal from Test.getFailFast() to AbstractTestTask

* Formatting updates

* Updated ForkingTestClassProcessor to track state more precisely to avoid stop() & stopNow() problem

* Fixed tests (again)

* Better handling of mutual exclusion between ForkingTestClassProcessor stop() and stopNow() sections

* Improved resiliency to indeterminate generated test class execution in fail fast tests

* Optimized imports

* Updated DefaultWorkerProcess.cleanup() to stop the Stoppables before aborting the execHandle

* Changed CyclicBarrierAnyOfRequestHandler.expected back to `private`

* ForkingTestClassProcessor.stoppedNow does not need to be `volatile` as it is now protected by a lock

* Added JUnitPlatformTestClassProcessor.stopNow()

* Removed mention of --no-fail-fast from user guide

* Added info on --fail-fast to release notes

* Fixed use of `testOmitted` in AbstractJvmFailFastIntegrationSpec

* Make MaxNParallelTestClassProcessor drop any processTestClass() invocations after stopNow()

* Protected critical region in ForkingTestClassProcessor.processTestClass() causing race condition with stopNow() in tests

* Debugging cleanup

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

    • -1
    • +1
    ./plugins/NativeBinariesTestPlugin.java
  1. … 22 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.

    • -0
    • +7
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 15 more files in changeset.
Retain boolean getters for Property<Boolean> properties for now

  1. … 4 more files in changeset.
Migrate all link task properties to Provider API

  1. … 17 more files in changeset.
Propagate source compatibility from tested component to test component

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

  1. … 5 more files in changeset.