Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

  1. … 81 more files in changeset.
Upgrade JUnit version (#12924)

Upgrade JUnit to 4.13, JUnit platform to 5.6.2

    • -7
    • +7
    ./eclipse/EclipseSourceSetIntegrationSpec.groovy
    • -2
    • +2
    ./eclipse/EclipseTestSourcesIntegrationTest.groovy
    • -2
    • +2
    ./eclipse/EclipseWtpEarAndWebAndEjbProjectIntegrationTest.groovy
    • -3
    • +3
    ./eclipse/EclipseWtpJavaProjectIntegrationTest.groovy
    • -6
    • +6
    ./eclipse/EclipseWtpWebAndJavaProjectIntegrationTest.groovy
    • -3
    • +3
    ./eclipse/EclipseWtpWebProjectIntegrationTest.groovy
  1. … 326 more files in changeset.
Update to Groovy 2.5.11

    • -1
    • +1
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 2 more files in changeset.
Rename 'modularClasspathHandling' -> 'modularity'

    • -1
    • +1
    ./eclipse/EclipseJavaModulesIntegrationTest.groovy
  1. … 55 more files in changeset.
Add support for Java modules in Eclipse dependencies (#12694)

The Java module detection service is used to set the 'module=true'

attribute on Eclipse classpath entries that represent Java modules.

This will give use a similar behavior to Gradle's compile task

in Eclipse.

    • -0
    • +93
    ./eclipse/EclipseJavaModulesIntegrationTest.groovy
  1. … 15 more files in changeset.
Upgrade Groovy dependency to version 2.5.10

    • -1
    • +1
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 6 more files in changeset.
Remove gradleApi() sources resolution feature

    • -200
    • +0
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -9
    • +0
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
    • -12
    • +0
    ./idea/IdeaSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 6 more files in changeset.
Update IDE Gradle sources integration tests to work with version ranges

    • -1
    • +6
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 2 more files in changeset.
Improve documented deprecation warning assertions

Allow using /current/ in the documentation path in the assertion. This will make it easier to read/verify the documentation linked to, while actually asserting against the current version behind the scenes.

  1. … 62 more files in changeset.
Download groovy-all sources when using gradleTestKit dependency

    • -40
    • +64
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 1 more file in changeset.
Merge pull request #11791 from gradle/vv/download-local-groovy-sources-for-ides

Download localGroovy() sources when using an IDE

    • -0
    • +105
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
Disable some tests with nodaemon executer

These tests download gradle bin distribution on demand and assert

src directory not exist. However, noDaemonTests are executed against

all distribution so the tests fail at ReadyForRelease stage.

    • -0
    • +8
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
Merge branch 'master' into vv/download-local-groovy-sources-for-ides

    • -13
    • +217
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -5
    • +15
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 4 more files in changeset.
Download gradleApi() sources on-demand when using an IDE (#11785)

    • -15
    • +224
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -5
    • +15
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
    • -9
    • +18
    ./idea/IdeaSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 8 more files in changeset.
Merge branch 'master' into vv/download-local-groovy-sources-for-ides

    • -6
    • +8
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -2
    • +3
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
Assert that no localGroovy() sources are downloaded when --offline

    • -1
    • +24
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
Add @ToBeFixedForInstantExecution to localGroovy() sources download test

    • -0
    • +1
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
Stub local-groovy sources download in integration test

    • -5
    • +18
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 1 more file in changeset.
Download local-groovy sources when online only

    • -0
    • +24
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 1 more file in changeset.
Download local-groovy sources when using an IDE

    • -2
    • +51
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -2
    • +8
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 10 more files in changeset.
Populate IDEA model with gradle-api source subdirectories

    • -6
    • +8
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -2
    • +3
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
    • -3
    • +9
    ./idea/IdeaSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 2 more files in changeset.
Attach gradleApi() sources to IDE models (#11751)

Attach sources to gradleApi() and gradleTestKit() generated jars in the IDE models when -all distribution is used and sources are available.

    • -0
    • +49
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -1
    • +14
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
    • -0
    • +11
    ./idea/IdeaSourcesAndJavadocJarsIntegrationTest.groovy
  1. … 15 more files in changeset.
Expect deprecation warnings in tests

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

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

    • -13
    • +13
    ./AbstractIdeDeduplicationIntegrationTest.groovy
    • -4
    • +4
    ./AbstractIdeLifecycleIntegrationTest.groovy
    • -11
    • +11
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -2
    • +2
    ./eclipse/EclipseClasspathIntegrationSpec.groovy
    • -34
    • +34
    ./eclipse/EclipseClasspathIntegrationTest.groovy
    • -2
    • +2
    ./eclipse/EclipseCustomSourceAndJavadocLocationIntegrationTest.groovy
    • -3
    • +3
    ./eclipse/EclipseDependencyLockingIntegrationTest.groovy
    • -4
    • +4
    ./eclipse/EclipseDependencySubstitutionIntegrationTest.groovy
    • -2
    • +2
    ./eclipse/EclipseEarIntegrationTest.groovy
    • -19
    • +19
    ./eclipse/EclipseIntegrationTest.groovy
    • -4
    • +4
    ./eclipse/EclipseJavaProjectIntegrationTest.groovy
    • -2
    • +2
    ./eclipse/EclipseLinkedResourceIntegrationTest.groovy
    • -4
    • +4
    ./eclipse/EclipseMultiModuleIntegrationTest.groovy
    • -14
    • +14
    ./eclipse/EclipseProjectIntegrationTest.groovy
    • -7
    • +7
    ./eclipse/EclipseSourceSetIntegrationSpec.groovy
  1. … 858 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>

    • -5
    • +4
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -2
    • +2
    ./idea/CompositeBuildParallelIntegrationTest.groovy
  1. … 125 more files in changeset.
Annotate JUnit integ tests failing with instant execution

in already annotated subprojects

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

    • -0
    • +34
    ./eclipse/EclipseClasspathIntegrationTest.groovy
    • -0
    • +3
    ./eclipse/EclipseDependencyLockingIntegrationTest.groovy
    • -0
    • +4
    ./eclipse/EclipseDependencySubstitutionIntegrationTest.groovy
    • -0
    • +2
    ./eclipse/EclipseEarIntegrationTest.groovy
    • -0
    • +4
    ./eclipse/EclipseMultiModuleIntegrationTest.groovy
    • -0
    • +2
    ./eclipse/EclipseTestSourcesIntegrationTest.groovy
    • -0
    • +4
    ./eclipse/EclipseWtpIntegrationTest.groovy
    • -0
    • +16
    ./eclipse/EclipseWtpModelIntegrationTest.groovy
    • -0
    • +3
    ./idea/ConfigurationHooksIntegrationTest.groovy
    • -0
    • +3
    ./idea/IdeaDependencyLockingIntegrationTest.groovy
    • -0
    • +5
    ./idea/IdeaDependencySubstitutionIntegrationTest.groovy
    • -0
    • +25
    ./idea/IdeaModuleIntegrationTest.groovy
    • -0
    • +14
    ./idea/IdeaMultiModuleIntegrationTest.groovy
    • -0
    • +5
    ./idea/IdeaProjectIntegrationTest.groovy
  1. … 5 more files in changeset.
Introduce JUnit rules for @[Fails|Ignore]WithInstantExecution

and remove the current assume method

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

  1. … 13 more files in changeset.
Fix unit tests

  1. … 1 more file in changeset.
Annotate integ tests failing with instant execution in :ide

There's a large number of junit tests in that module, descendent of

AbstractIdeIntegrationTest. This commit simply ignores them all when

running with the 'instant' executer because the junit fixture isn't

very handy, they were all failing for the same reason as other spock

based tests from that module anyway.

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

    • -1
    • +14
    ./AbstractIdeDeduplicationIntegrationTest.groovy
    • -0
    • +5
    ./AbstractIdeLifecycleIntegrationTest.groovy
    • -1
    • +12
    ./AbstractSourcesAndJavadocJarsIntegrationTest.groovy
    • -0
    • +2
    ./eclipse/EclipseClasspathIntegrationSpec.groovy
    • -0
    • +3
    ./eclipse/EclipseCustomSourceAndJavadocLocationIntegrationTest.groovy
    • -0
    • +19
    ./eclipse/EclipseIntegrationTest.groovy
    • -0
    • +5
    ./eclipse/EclipseJavaProjectIntegrationTest.groovy
    • -0
    • +3
    ./eclipse/EclipseLinkedResourceIntegrationTest.groovy
    • -0
    • +14
    ./eclipse/EclipseProjectIntegrationTest.groovy
    • -0
    • +1
    ./eclipse/EclipseProjectNameDeduplicationIntegrationTest.groovy
    • -0
    • +7
    ./eclipse/EclipseSourceSetIntegrationSpec.groovy
    • -0
    • +2
    ./eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy
    • -0
    • +3
    ./eclipse/EclipseWtpEarAndWebAndEjbProjectIntegrationTest.groovy
    • -0
    • +3
    ./eclipse/EclipseWtpEarProjectIntegrationTest.groovy
  1. … 12 more files in changeset.
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

    • -5
    • +13
    ./idea/CompositeBuildIdeaProjectIntegrationTest.groovy
  1. … 72 more files in changeset.