TextResourceIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve advice for dealing with insecure HTTP script plugins

  1. … 6 more files in changeset.
Disable some HTTPS tests on JDK 12

Until https://bugs.openjdk.java.net/browse/JDK-8219658 is fixed.

  1. … 1 more file in changeset.
Fix failing tests from insecure HTTP deprecation changes

  1. … 5 more files in changeset.
Fix failing tests from insecure HTTP deprecation changes

  1. … 15 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -2
    • +66
    ./TextResourceIntegrationTest.groovy
  1. … 90 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

    • -2
    • +66
    ./TextResourceIntegrationTest.groovy
  1. … 90 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

    • -66
    • +2
    ./TextResourceIntegrationTest.groovy
  1. … 90 more files in changeset.
Add integration tests for TextResources and remote script plugins

    • -1
    • +65
    ./TextResourceIntegrationTest.groovy
  1. … 6 more files in changeset.
Add integration tests for TextResources and remote script plugins

    • -1
    • +65
    ./TextResourceIntegrationTest.groovy
  1. … 6 more files in changeset.
Fix minor format issues

  1. … 1 more file in changeset.
Merge branch 'master' into deprecate_http_download

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

    • -12
    • +12
    ./TextResourceIntegrationTest.groovy
  1. … 1 more file in changeset.
Cleanup some unnessasary changes after depricate http changes

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 10 more files in changeset.
Change more tests.

  1. … 40 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. … 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.

    • -12
    • +12
    ./TextResourceIntegrationTest.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.

    • -12
    • +12
    ./TextResourceIntegrationTest.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. … 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.

    • -12
    • +12
    ./TextResourceIntegrationTest.groovy
  1. … 98 more files in changeset.
Cleanup HTTP deprecation documentation and unused tests resources

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

    • -15
    • +1
    ./TextResourceIntegrationTest.groovy
  1. … 3 more files in changeset.
Deprecate download of resources over HTTP; Require opt-in

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

    • -0
    • +14
    ./TextResourceIntegrationTest.groovy
  1. … 54 more files in changeset.
Wire `FileCollection` to task dependency when constructed from `TaskProvider`

See https://github.com/gradle/gradle-native/issues/737

    • -1
    • +16
    ./TextResourceIntegrationTest.groovy
  1. … 4 more files in changeset.
Avoid unexpected http resource cache hit (#5416)

See https://github.com/gradle/gradle-private/issues/1273

Since different tests share the same user home, some unexpected cache hit

might happen when two different test resources are assigned same port.

This PR uses unique resource name to avoid that.

  1. … 1 more file in changeset.
Add support for URI-backed text resources

This can be used to point tasks like Checkstyle

to a remote, shared configuration file without

having to package it into an archive and using

dependency resolution.

The implementation reuses the same caching logic

we have for remote build scripts.

    • -0
    • +32
    ./TextResourceIntegrationTest.groovy
  1. … 20 more files in changeset.
Run more tests with reproducible archives on

  1. … 11 more files in changeset.
Fixes after making tests not implement TestDirectoryProvider.

+review REVIEW-5602

  1. … 5 more files in changeset.
Always run these tests.

Don't run more tests in parallel that might be affected by the concurrent task execution status logging issue. Do nothing in skipped task assertion methods when in parallel execution.

+review REVIEW-5292

  1. … 30 more files in changeset.
Introduce TextResource abstraction

- input to tasks that require textual configuration

- allows to source text from different locations (e.g. configurations)

- created via project.resources.text() factory methods

    • -0
    • +86
    ./TextResourceIntegrationTest.groovy
  1. … 10 more files in changeset.