Play24RoutesCompileIntegrationTest.groovy

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

    • -2
    • +0
    ./Play24RoutesCompileIntegrationTest.groovy
Remove always-true JDK8_OR_LATER test precondition

    • -4
    • +1
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 41 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -2
    • +2
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :platformPlay

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

    • -0
    • +2
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 26 more files in changeset.
Annotate integ tests failing with instant execution in :platformPlay

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

    • -0
    • +2
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 26 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -114
    • +0
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 502 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -114
    • +0
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 499 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -114
    • +0
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 508 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -114
    • +0
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 503 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -114
    • +0
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 503 more files in changeset.
Remove play framework support from Gradle distribution

This is superseded by: https://gradle.github.io/playframework/

This commit removes:

- The `platform-play` and `ide-play` subprojects

- The documentation for the functionality provided by these projects

    • -114
    • +0
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 499 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
    • +1
    ./Play24RoutesCompileIntegrationTest.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
    • +1
    ./Play24RoutesCompileIntegrationTest.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
    • +1
    ./Play24RoutesCompileIntegrationTest.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
    • +1
    ./Play24RoutesCompileIntegrationTest.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
    • +1
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 98 more files in changeset.
Fix expectations about deprecation warnings in tests

see #9435

    • -0
    • +1
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix to work on older versions of Scala too

    • -1
    • +2
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 1 more file in changeset.
Interpret result of Play routes compilation

Play 2.4+ no longer returns a simple Boolean for compilation

For older versions of Play, we continue to check for Boolean.

For newer versions of Play, we decompose the Either[Seq[RouteCompilationError], Seq[File]]

    • -0
    • +12
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 5 more files in changeset.
Re-enable Play/Scala tests on Java 9+ (#5593)

Almost all Play/Scala tests were ignored on Java 9/10, which makes it lack coverage. This PR does:

- Update Scala version to Java9-compatible version according to [JDK compatibility](https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html).

- Update default Play version to latest 2.6.15, which supports Java 9/10

- Adjust corresponding samples. Previous default Play version 2.3.10 was too old (release at 2014).

- Ignored the tests which can't work on Java 9+.

- Separate Play test resources with different versions. For example, Play 2.6 uses `build.gradle` and `Play 2.4/2.5` uses `build.gradle.old`.

- Previously `AbstractMultiVersionPlayContinuousBuildIntegrationTest` didn't have `targetPlatform` configuration, which made multi-version tests meaningless

- Fix `play-logback` configuration for `2.5.18`.

    • -3
    • +1
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 170 more files in changeset.
Update tests to continue to work with Play 2.6

    • -0
    • +3
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 4 more files in changeset.
Introduce delay in test before file modification

This test fails sporadically: it appears that Gradle is executing the Routes compile

task but the Play Routes compiler is not actually recompiling the input source.

This change attempts to force Play Routes compiler to recompile by ensuring that

the timestamp of the input file has changed.

+review

    • -4
    • +4
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 2 more files in changeset.
Converted Play Twirl and Routes compilation to use language transform infrastructure

- Transform between Twirl/RoutesSourceSet and `ScalaSourceCode` output type

- Currently only applies to `PlayApplicationBinarySpecInternal` types, and still

depends on properties provided by the binary.

    • -1
    • +1
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 17 more files in changeset.
Minor tweaks to integration test

+review REVIEW-5572

    • -9
    • +10
    ./Play24RoutesCompileIntegrationTest.groovy
Add @Inputs for RoutesCompile

+review REVIEW-5572

    • -0
    • +27
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 1 more file in changeset.
Convert useStaticRouter to injectedRoutesGenerator

+review REVIEW-5572

    • -1
    • +1
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 16 more files in changeset.
Configure static generator on/off at the Play component level

+review REVIEW-5572

    • -3
    • +1
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 8 more files in changeset.
Wire RoutesCompile generator option

+review REVIEW-5572

    • -3
    • +10
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 1 more file in changeset.
Plumbing for static/injected routes generator

+review REVIEW-5572

    • -0
    • +17
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 8 more files in changeset.
Cleaning up play target version handling

review REVIEW-5529

    • -0
    • +49
    ./Play24RoutesCompileIntegrationTest.groovy
  1. … 5 more files in changeset.