Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove `@ToBeFixedForInstantExecution` from `ZincScalaCompilerIntegrationTest`

    • -16
    • +18
    ./gradle/scala/compile/ZincScalaCompilerIntegrationTest.groovy
Enable transactional classfile manager in scala plugin.

Issue: #13392

Signed-off-by: Sheliak Lyr <sheliak.lyr@gmail.com>

    • -0
    • +20
    ./gradle/scala/compile/IncrementalScalaCompileIntegrationTest.groovy
  1. … 14 more files in changeset.
Remove unused import

    • -1
    • +0
    ./gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy
Remove `@ToBeFixedForInstantExecution` from `ScalaAnnotationProcessingIntegrationTest`

    • -7
    • +5
    ./gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy
Never execute a real Gradle distribution in embedded test mode

This will become unsupported such that we do not need to assemble

the distribution for embedded mode anymore. The tests that

are affected by this were checked and are adjusted:

- If the test can run embedded, the restriction that the test requires

a distribution is removed. This is the case for some older tests

that were not checked for a long time and tests that involve TestKit

or KotlinDSL, for which the embedded support is improved in the next

commit.

- If the test only requires a forked process, but not a complete

distribution, it can run a new process based on the current

classpath using 'requiresDaemon().requiresIsolatedDaemon()'.

- If the test needs a real distribution, it is ignored in embedded mode.

  1. … 103 more files in changeset.
Fix disabling of incremental scala compilation

When disabling incremental compilation by setting force to true, the

analysis file was still created and loaded, causing Zinc to believe it

was running incrementally.

However the compilation output was effectively deleted. This resulted in

only producing output for changed types.

With the changes in this commit, the analysis information is ignored,

discarded if existing, and not preserved when incremental compilation is

disabled.

Fixes #13224

    • -0
    • +128
    ./gradle/scala/compile/ForceScalaCompileIntegrationTest.groovy
  1. … 1 more file in changeset.
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.

    • -0
    • +2
    ./gradle/scala/ScalaBasePluginIntegrationTest.groovy
    • -0
    • +1
    ./gradle/scala/ScalaPluginIntegrationTest.groovy
  1. … 80 more files in changeset.
Reuse Scala fixture in new Scaladoc test

ScalaDocIntegrationTest: use outputContains to avoid codenarc warnings

Signed-off-by: Roberto Perez Alcolea <rperezalcolea@netflix.com>

ScalaDocIntegrationTest: introduce test to make sure maxMemory is used

Signed-off-by: Roberto Perez Alcolea <rperezalcolea@netflix.com>

Upgrade JUnit version (#12924)

Upgrade JUnit to 4.13, JUnit platform to 5.6.2

    • -1
    • +1
    ./gradle/scala/ScalaCrossCompilationIntegrationTest.groovy
  1. … 330 more files in changeset.
Standardize scala/mixedJavaAndScala sample

  1. … 15 more files in changeset.
Remove `@ToBeFixedForInstantExecution` from `ZincScalaCompilerIntegrationTest`

Annotate tests that make use of :dependencyInsight

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

    • -0
    • +1
    ./gradle/scala/ScalaPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Remove always-true JDK8_OR_LATER test precondition

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

  1. … 41 more files in changeset.
Escape jdk file path correctly.

Use any available jdk, not necessarily one with a JRE.

Switch to assumeThat instead of assumeNotNull since the later will throw NPE's if given null values.

Signed-off-by: James Baiera <james.baiera@gmail.com>

Annotate tests to account for new reported problems

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

    • -0
    • +1
    ./gradle/scala/ScalaBasePluginIntegrationTest.groovy
    • -1
    • +0
    ./gradle/scala/ScalaPluginIntegrationTest.groovy
  1. … 47 more files in changeset.
Extend integration tests for Scala

test on JVM's above Java 8

ensure that executable is respected

Signed-off-by: James Baiera <james.baiera@gmail.com>

    • -1
    • +1
    ./gradle/scala/ScalaCrossCompilationIntegrationTest.groovy
Support for scala compiler plugins.

Issue: #8659

Signed-off-by: Sheliak Lyr <sheliak.lyr@gmail.com>

  1. … 17 more files in changeset.
Remove FIX_TO_WORK_ON_JAVA9 constraints from tests that pass with Java9+

  1. … 4 more files in changeset.
Make ScalaDoc to work with 2.13

Fixes #9855

  1. … 4 more files in changeset.
Catch up with master

    • -0
    • +65
    ./gradle/scala/compile/ScalaCompileWithJavaLibraryIntegrationTest.groovy
  1. … 415 more files in changeset.
Add test coverage for custom source set

    • -0
    • +33
    ./gradle/scala/compile/ScalaCompileWithJavaLibraryIntegrationTest.groovy
  1. … 1 more file in changeset.
Make SourceDirectorySet use a directory provider as destination

This also deprecates the 'outputDir' property and renamed and

restructured the wiring to the compile task producing the output.

    • -2
    • +2
    ./gradle/scala/compile/ScalaCompileWithJavaLibraryIntegrationTest.groovy
  1. … 16 more files in changeset.
Add tests for rewiring compile task dependencies

This also updates existing tests to use the new API.

    • -0
    • +32
    ./gradle/scala/compile/ScalaCompileWithJavaLibraryIntegrationTest.groovy
  1. … 15 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -3
    • +3
    ./gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy
    • -3
    • +3
    ./gradle/scala/ScalaPluginIntegrationTest.groovy
    • -4
    • +4
    ./gradle/scala/compile/IncrementalScalaCompileIntegrationTest.groovy
  1. … 866 more files in changeset.
Annotate integ tests failing with instant execution in :scala

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

    • -0
    • +3
    ./gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy
    • -1
    • +3
    ./gradle/scala/ScalaPluginIntegrationTest.groovy
    • -0
    • +4
    ./gradle/scala/compile/IncrementalScalaCompileIntegrationTest.groovy
Remove duplicated test coverage from Scala coverage

Avoid fixing Scaladoc for now

  1. … 1 more file in changeset.