Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove test precondition: FIX_TO_WORK_ON_JAVA9 (#12940)

Gradle clearly works with Java 9 (and later) by now. There should

be nothing left to be fixed. The remaining usages of this annotation

where wrong:

- The test is not testing a feature of Gradle, but of Java or another

tool that only works with java versions < 9

Replaced precondition with: JDK8_OR_EARLIER

(or JDK9_OR_LATER depending on how it is used)

- Test is running older Gradle versions that do not support Java9+

Replaced precondition with: JDK8_OR_EARLIER

- Test itself was using features of Java not available anymore in Java9+

Removed precondition and fixed test to do the test setup differently.

  1. … 11 more files in changeset.
Standardize testKit samples

  1. … 119 more files in changeset.
Add @LeaksFileHandles to GradleRunnerDaemonIntegrationTest

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

Fix GradleRunnerDaemonIntegrationTest

--warning-mode is available starting with Gradle 4.5

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

Fix GradleRunner(Conventional)PluginClasspathInjectionIntegrationTest

Plugin not found resolution error message changed starting with

Gradle 4.4

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

Fix GradleRunnerResultIntegrationTest

script under test was changed to use an api not available in minimum

supported gradle version

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

Fix GradleRunnerMechanicalFailureIntegrationTest

spurious blank line

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

Fix TestKit compatibility tests target version selection

to use the minimum target Gradle version supported by the tests

according to the used features captured as annotations

This change makes more tests run with minimum supported versions.

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

Fix GradleRunnerBuildFailureIntegrationTest

Grouped task output is available in TestKit output starting with Gradle 5.0

--warning-mode is available starting with Gradle 4.5

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

Fix GradleRunnerMechanicalFailureIntegrationTest

to account for console output changes in Gradle 4.0

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

Fix GradleRunnerEnvironmentVariablesIntegrationTest

supported with Gradle >= 3.5

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

Refine BaseGradleRunnerIntegrationTest

by specifying function parameter types

by adding @Nullable to clarify some functions

by favouring Groovy operators over .compareTo() invocations

by removing unnecessary fully qualified references

by simplifying boolean expressions

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

Merge several `ProviderInternal` methods together into a single method that returns details about the "producer" of the provider's value (which might be some tasks, some external source, nothing or an unknown producer).

  1. … 39 more files in changeset.
Remove always-true KOTLIN_SCRIPT test precondition

  1. … 43 more files in changeset.
Annotate tests to account for new reported problems

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

  1. … 48 more files in changeset.
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. … 406 more files in changeset.
Remove FIX_TO_WORK_ON_JAVA9 constraints from tests that pass with Java9+

  1. … 4 more files in changeset.
Fix Unrolled tests with partial success with instant execution

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

  1. … 18 more files in changeset.
make inner classes static where possible

Signed-off-by: Steven Crockett <crockett.j.steven@gmail.com>

  1. … 42 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

  1. … 871 more files in changeset.
Annotate integ tests failing with instant execution in various projects

removing most of @IgnoreWithInstantExecution annotations

after fixing the @FailsWithInstantExecution rule

and more ci feedback

also make @IgnoreWithInstantExecution require a reason from a fixed set

and add it to the remaining ignores

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

  1. … 126 more files in changeset.
Annotate integ tests failing with instant execution in various projects

after third round of CI feedback

much better, no more OOMEs, no more hung builds, no more console

replacement weirdness

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

  1. … 36 more files in changeset.
Bump to groovy-all 1.2

  1. … 3 more files in changeset.
Bump to groovy-all 1.2

  1. … 3 more files in changeset.
Add full stack option to failing test

Add full stack option to failing test

Deprecate specifying the type of the local cache

  1. … 10 more files in changeset.
Let test-kit tests not use deprecated configurations

  1. … 1 more file in changeset.
Let tests use 'implementation' and 'testImplementation' configurations

As replacement for 'compile' and 'testCompile'.

  1. … 22 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

  1. … 162 more files in changeset.