JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[WiP] Explicitly declare different Gradle distributions for testing

    • -1
    • +0
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 175 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

    • -1
    • +0
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 179 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

    • -1
    • +0
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 222 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

    • -1
    • +0
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 178 more files in changeset.
[WiP] Explicitly declare different Gradle distributions for testing

    • -1
    • +0
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 174 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -4
    • +4
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 872 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>

    • -0
    • +4
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 36 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>

    • -0
    • +4
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 38 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>

    • -0
    • +4
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 37 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>

    • -0
    • +4
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 37 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>

    • -0
    • +4
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 37 more files in changeset.
Fix test

    • -0
    • +1
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 50 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 50 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 98 more files in changeset.
Let plugin-development tests not use deprecated configurations

    • -2
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 7 more files in changeset.
Let plugin-development tests not use deprecated configurations

    • -2
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 7 more files in changeset.
Let plugin-development tests not use deprecated configurations

    • -2
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 7 more files in changeset.
Let plugin-development tests not use deprecated configurations

    • -2
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 7 more files in changeset.
Roll back change to handle removal of sourceSets.main

Removing sourceSets.main will leave other stuff weirdly configured and

requires a bit more configuration to be done properly. Handling the

effect on the jar task should be part of that additional configuration.

    • -2
    • +0
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 1 more file in changeset.
Convert unit test into an integration test

    • -0
    • +14
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 2 more files in changeset.
Use separate output directories for all JVM languages

- Introduce an outputDir on SourceDirectorySet

- Default output directory is now `build/classes/<source directory set name>/<source set name>`

- Example: Java compilation goes to build/classes/java/main instead of build/classes/main

- Adapt JDepend, FindBugs, Test and ValidateTaskProperties tasks to handle multiple class directories

- Deprecate setClassesDir/getClassesDir on SourceSetOutput

- Calling setClassesDir restores old behavior (shared output directory)

- Introduce addClassesDir and getClassesDirs on SourceSetOutput

- OSGi plugin needs a single classes directory, so introduce 'osgiClasses' task that syncs all classes to a single directory

Most of the changes to integration tests are find classes in their new location. Helper methods in AbstractIntegrationSpec

can locate class files vs hardcoding a path.

Squashed commit of sg-split-jvm-classes branch for REVIEW-6502

    • -3
    • +3
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 119 more files in changeset.
Renamed `GradleExecuter.requireGradleHome` -> `requireGradleDistribution`

    • -1
    • +1
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 29 more files in changeset.
Preparation for swapping over to fat/relocated gradleApi() and gradleTestKit() dependencies

- Integration test using gradleApi() internally needs to execute with forked executer to properly resolve fat JAR.

- Decouple test using ProjectBuilder from use of gradleApi() to avoid necessity to generate fat JAR.

+review REVIEW-5867

    • -0
    • +1
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 3 more files in changeset.
Move task implementation out of internal package.

+review REVIEW-5839

    • -2
    • +2
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 8 more files in changeset.
Do not write timestamp and comment

+review REVIEW-5839

    • -0
    • +1
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 2 more files in changeset.
Minor renames and failure diagnostic improvements.

+review REVIEW-5839

    • -7
    • +8
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
Use Properties

- ensure proper encoding

- use File.pathSeparator to separate paths as ',' is valid in a filename

+review REVIEW-5839

    • -1
    • +1
    ./JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy
  1. … 3 more files in changeset.