AbstractRoutesCompileIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -3
    • +3
    ./AbstractRoutesCompileIntegrationTest.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
    • +3
    ./AbstractRoutesCompileIntegrationTest.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
    • +3
    ./AbstractRoutesCompileIntegrationTest.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

    • -349
    • +0
    ./AbstractRoutesCompileIntegrationTest.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

    • -349
    • +0
    ./AbstractRoutesCompileIntegrationTest.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

    • -349
    • +0
    ./AbstractRoutesCompileIntegrationTest.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

    • -349
    • +0
    ./AbstractRoutesCompileIntegrationTest.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

    • -349
    • +0
    ./AbstractRoutesCompileIntegrationTest.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

    • -349
    • +0
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 499 more files in changeset.
Fix expectations about deprecation warnings in tests

see #9435

    • -0
    • +4
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 1 more file in changeset.
Deprecate 'play' plugins

They are superseded by https://gradle.github.io/playframework

    • -0
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 65 more files in changeset.
Deprecate 'play' plugins

They are superseded by https://github.com/gradle/gradle/issues/9412

    • -0
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 65 more files in changeset.
Deprecate 'play' plugins

They are superseded by https://gradle.github.io/playframework

    • -0
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 68 more files in changeset.
Deprecate 'play' plugins

They are superseded by https://gradle.github.io/playframework

    • -0
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 65 more files in changeset.
Revert "Allow deprecation warnings for play tests"

This reverts commit 90f3d5cc466fa3e459b9d29fcf55f841de82892d.

    • -1
    • +0
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 10 more files in changeset.
Revert "Allow deprecation warnings for play tests"

This reverts commit 90f3d5cc466fa3e459b9d29fcf55f841de82892d.

    • -1
    • +0
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 10 more files in changeset.
Allow deprecation warnings for play tests

    • -0
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 10 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`.

    • -39
    • +60
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 170 more files in changeset.
Add support for user defined Twirl template formats

    • -1
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 9 more files in changeset.
Revert changes to Twirl from 2.6 merge

    • -1
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 17 more files in changeset.
Use Twirl include filter with *.scala.{html/js/xml/txt} templates

    • -1
    • +1
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 5 more files in changeset.
Use Twirl include filter with *.scala.{html/js/xml/txt} templates

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

    • -4
    • +18
    ./AbstractRoutesCompileIntegrationTest.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

    • -21
    • +28
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 2 more files in changeset.
Fix spelling of PLAY_REPOSITORIES in test fixtures

    • -2
    • +2
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 12 more files in changeset.
Attempt to fix flaky test

- make build last at least 1 second so that file timestamps change

for modified files

+review REVIEW-5709

    • -0
    • +8
    ./AbstractRoutesCompileIntegrationTest.groovy
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.

    • -22
    • +21
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 17 more files in changeset.
Removed unused imports.

    • -2
    • +2
    ./AbstractRoutesCompileIntegrationTest.groovy
Fixed a bunch of tests to work when the machine's line separator is not \n.

    • -2
    • +2
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 26 more files in changeset.
Use a `@Defaults` rule to create default source directories

Revert "Change play plugins and tests to replace default source sets"

This reverts commit 97aafa43999b7e4db18b99325ffb51ca9ccdf8ec.

Revert "Fix unit test"

This reverts commit 2dffb35eae42d654161cde29b5b6c005f8f0bb40.

Revert "Change play tests to replace source sets"

This reverts commit 3431690d8e333dc608b7d2726f7fe4ab185ed4de.

Revert "Fix native test"

This reverts commit ffc5ab1e51dfc0a58478475b517366eda7180c01.

Revert "Change cunit plugin to replace rather than append src dirs"

This reverts commit 1c6f3878da758614e6bd9239b4fd1a9d769bde23.

+review REVIEW-5669

    • -2
    • +2
    ./AbstractRoutesCompileIntegrationTest.groovy
  1. … 17 more files in changeset.