GroovyCompilerIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Change int tests to use relevant fixture methods to express their expectations about the build log output.

    • -1
    • +0
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 30 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

    • -2
    • +2
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 119 more files in changeset.
Track java version when using forked compilation

We introduce a new property on ForkOptions to track the Java home

which contains javac. By doing so, we are able to track the Java

version for forked compilation, too.

+review REVIEW-6467

    • -1
    • +1
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 17 more files in changeset.
Shorten path to integration test for GRADLE-3235

+review REVIEW-5379

    • -1
    • +5
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 8 more files in changeset.
Shorten test and thus test resources directory names because Windows can't handle paths longer than 260 chars, obviously.

    • -1
    • +1
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 8 more files in changeset.
Add javax.servlet dependencies to test for ServletCategory

    • -1
    • +0
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 2 more files in changeset.
GRADLE-3235 Add test for excluding ServletCategory from Groovy classloader

This test uses ServletCategory as an extension class

    • -0
    • +12
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 3 more files in changeset.
moved test into base class (REVIEW-2746)

    • -0
    • +12
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 7 more files in changeset.
fixed support for groovyc optimization options

- canonicalize boolean values to Boolean.TRUE/Boolean.FALSE

- added and improved tests

- test against Groovy 2.0.0-beta-3-indy

    • -4
    • +4
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 19 more files in changeset.
improvements to Groovy compiler tests

- added 2.0.0-beta-3 to the list of Groovy versions to be tested

- moved one test from ApiGroovyCompilerIntegrationSpec to GroovyCompilerIntegrationSpec

- deleted ApiGroovyCompilerIntegrationSpec (InProcessGroovyCompilerIntegrationTest now covers everything the former did)

    • -0
    • +16
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 24 more files in changeset.
- Switched on AntInProcessGroovyCompilerIntegrationTest. - Added some coverage to check that a compile problem breaks the build.

    • -0
    • +55
    ./GroovyCompilerIntegrationSpec.groovy
  1. … 30 more files in changeset.