Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix bad merge of test class change

Try to execute unparseable test class files

Instead of failing the build when a test class file cannot be parsed,

e.g. if it's compiled for a JVM that is not yet supported by the

version of ASM that we use, we now assume it's a test class and pass

it to the testing framework which usually ignores classes that are not

tests.

Related issue: #7059

    • -12
    • +19
    ./DefaultTestClassScannerTest.groovy
  1. … 6 more files in changeset.
Try to execute unparseable test class files

Instead of failing the build when a test class file cannot be parsed,

e.g. if it's compiled for a JVM that is not yet supported by the

version of ASM that we use, we now assume it's a test class and pass

it to the testing framework which usually ignores classes that are not

tests.

Related issue: #7059

    • -14
    • +17
    ./DefaultTestClassScannerTest.groovy
  1. … 6 more files in changeset.
Fix mock call verification order

Spock 1.2 fixed a bug wrt. mock invocation order of nested invocations.

The order that's tested now is the one in which the mocks are actually

called.

  1. … 1 more file in changeset.
Exclude anonymous class in JUnit Platform (#4774) (#4815)

This fixes https://github.com/gradle/gradle/issues/4544 https://github.com/gradle/gradle/issues/4618

Previously we send anonymous class to JUnit Platform test worker, which caused some issues.

Now they're excluded by name pattern .*\$\d+

    • -2
    • +22
    ./DefaultTestClassScannerTest.groovy
  1. … 1 more file in changeset.
Revert "Exclude anonymous class in JUnit Platform (#4774)"

This reverts commit abeb7ebb9e3cb17c826ad40caac6a54480beccad.

    • -22
    • +2
    ./DefaultTestClassScannerTest.groovy
  1. … 3 more files in changeset.
Exclude anonymous class in JUnit Platform (#4774)

This fixes https://github.com/gradle/gradle/issues/4544 https://github.com/gradle/gradle/issues/4618

Previously we send anonymous class to JUnit Platform test worker, which caused some issues.

Now they're excluded by name pattern .*\$\d+

    • -2
    • +22
    ./DefaultTestClassScannerTest.groovy
  1. … 3 more files in changeset.
Improves --tests pattern matching (#4597)

We improve test pattern matching in this PR. From this PR, the test pattern matching

rule are adjusted:

- If a pattern starts with an upper-case letter, it will be used to match simple class name

e.g 'TestClass.testMethod' can match 'TestClass.testMethod' under any package.

- Otherwise, it will be used to match full qualified name.

In both cases, wildcards are supported.

  1. … 12 more files in changeset.
Resolve test runtime prior to starting threads to detect tests and fork test processes. This ensures that the resolution is associated with the `test` task build operation.

  1. … 3 more files in changeset.
Use the correct parent operation for task TAPI progress events when running tasks in parallel.

  1. … 8 more files in changeset.
Changed `DefaultTaskGraphExecuter` to run tasks via `BuildOperationExecutor` as other operations are run, rather than generating its own operation execution events.

  1. … 8 more files in changeset.
Convert DefaultTestClassScanner from JMock to Spock

    • -58
    • +55
    ./DefaultTestClassScannerTest.groovy
Apply max-workers setting to test workers, so that no more than `max-workers` test workers may run concurrently.

This cap applies to all test workers regardless of which test task they are started by and so applies across test workers for test tasks that are running concurrently. The cap applies regardless of the `maxParallelForks` setting of each particular test task.

Note that the cap is currently separate from the caps applied to tasks and other build operations. This will later be changed so that a single cap applies to all such work.

  1. … 9 more files in changeset.
Moved `o.g.messaging.*` to `o.g.internal.*`.

  1. … 295 more files in changeset.
Merge branch 'release' into 'master'

  1. … 8 more files in changeset.
Limiting test worker classpath to only necessary jars

+review REVIEW-5898

  1. … 8 more files in changeset.
Moved worker process classes into their own package.

  1. … 92 more files in changeset.
Changed the API for creating worker processes, so that the worker action must always be supplied.

Also introduced a couple of interfaces to present the API.

  1. … 31 more files in changeset.
Start migrating test classes to the most appropriate subproject

Story: gradle/langos#103

Item: refactor-plugins

    • -0
    • +58
    ./DefaultTestClassScannerTest.groovy
    • -0
    • +72
    ./DefaultTestExecuterTest.groovy
  1. … 123 more files in changeset.