Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move convention into Java/JavaBase plugins

  1. … 10 more files in changeset.
Move convention into Java/JavaBase plugins

  1. … 9 more files in changeset.
Move convention into Java/JavaBase plugins

  1. … 10 more files in changeset.
Extract anonymous classes to static inner classes

  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

  1. … 145 more files in changeset.
Extract anonymous classes to static inner classes

  1. … 146 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +2
    ./TestNGTestResultProcessorAdapter.java
  1. … 900 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +2
    ./TestNGTestResultProcessorAdapter.java
  1. … 900 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +2
    ./TestNGTestResultProcessorAdapter.java
  1. … 888 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +2
    ./TestNGTestResultProcessorAdapter.java
  1. … 895 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +2
    ./TestNGTestResultProcessorAdapter.java
  1. … 900 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -2
    • +2
    ./TestNGTestResultProcessorAdapter.java
  1. … 900 more files in changeset.
Add missing @Override to all modules

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

  1. … 1005 more files in changeset.
Add missing @Override to all modules

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

  1. … 999 more files in changeset.
Rename factory methods on JavaMethod

  1. … 19 more files in changeset.
Move JavaMethod factory methods to JavaMethod

  1. … 21 more files in changeset.
Move some internal types back to their original package.

  1. … 75 more files in changeset.
Moved a bunch of dynamic object related types from core to live in modelCore.

  1. … 104 more files in changeset.
Support multiple concurrent executions of same TestNG class

When the same test class is executed concurrently, we now only report

the first start and the last completion of the test class. Previously,

the test class was reported as started multiple times but only reported

as completed once.

Fixes #7878.

    • -14
    • +49
    ./TestNGTestResultProcessorAdapter.java
  1. … 1 more file in changeset.
Add support for excluding tests via --excludeTests

Signed-off-by: Felipe Lima <felipe.lima@gmail.com>

  1. … 12 more files in changeset.
Report TestNG test methods below test classes

Prior to this commit, test methods were reported as siblings of their

test classes for recent versions of TestNG:

gradle test executor test descriptor

└── test Ng suite test descriptor

├── class level suite test descriptor

└── test method test descriptor

Now, test methods are reported as children of their test classes:

gradle test executor test descriptor

└── test Ng suite test descriptor

└── class level suite test descriptor

└── test method test descriptor

Resolves #6679.

    • -3
    • +7
    ./TestNGTestResultProcessorAdapter.java
  1. … 5 more files in changeset.
Remove deprecated Class.newInstance() (#6496)

`Class.newInstance()` was deprecated in Java 9.

  1. … 34 more files in changeset.
Update to ASM7 mode for Java 11 compatibility

  1. … 16 more files in changeset.
Add up-to-date checks for options specific to TestNG

Issue: #4924

  1. … 2 more files in changeset.
Fix 4457. Don't set parallel mode and threadCount for testng if not explicitly defined (#4794)

Previously, Gradle default `threadCount` and `parallel` configuration

will overwrite those defined in xml. This PR fixes this by detecting if

the configuration is default value.

  1. … 4 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.
Normalize output when test case name contains parentheses

  1. … 14 more files in changeset.
Add filtering and tagging support

  1. … 23 more files in changeset.