CopyTaskIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adjust deprecation message

  1. … 4 more files in changeset.
Adjust tests

  1. … 2 more files in changeset.
Fix related tests

  1. … 5 more files in changeset.
Remove an unnecessary `@IgnoreIf` from a bunch of tests.

  1. … 19 more files in changeset.
Remove an unnecessary `@IgnoreIf` from a bunch of tests.

  1. … 19 more files in changeset.
Remove an unnecessary `@IgnoreIf` from a bunch of tests.

  1. … 19 more files in changeset.
Remove an unnecessary `@IgnoreIf` from a bunch of tests.

  1. … 19 more files in changeset.
Provide context when a file couldn't be copied

Instead of packing everything into an exception message, use a

@Contextual exception that carries both the "can't copy" message

and the reason.

  1. … 2 more files in changeset.
Fix some tests.

Change more tests.

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

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

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

  1. … 98 more files in changeset.
Add test for help message when missing properties in Copy expand

Extend error message when copy task fails because of a missing property.

Signed-off-by: Dominik Giger <mail@dgiger.com>

  1. … 2 more files in changeset.
Fix tests

  1. … 11 more files in changeset.
Calculate caching state outside of TaskOutputs

  1. … 10 more files in changeset.
Forbid null as copySpec configuration action (#6409)

#6275

    • -12
    • +12
    ./CopyTaskIntegrationSpec.groovy
  1. … 2 more files in changeset.
Wire `FileCollection` to task dependency when constructed from `TaskProvider`

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

  1. … 4 more files in changeset.
Follow up on review comments on #4682

  1. … 5 more files in changeset.
Introduce `@ToBeImplemented` (#2643)

The `@ToBeImplemented` annotation replaces Groovy's `@NotYetImplemented`.

The problem with `NotYetImplemented` is that tests marked with it succeed no matter what causes the test to fail. Marked tests can pass because the expected failure is still present (which is the purpose of the test), or if the expected failure is replaced by some other failure.

It's better to write a test that explicitly tests for the expected failure, so when it fails for some other reason, it becomes noticeable. The purpose of the `@ToBeImplemented` annotation is to keep such tests easy to find in the code.

  1. … 9 more files in changeset.
Removed some cases of messing with file timestamps in tests. These should not be required any more.

  1. … 5 more files in changeset.
Move tests to CopyTaskChildSpecIntegrationTest

+review REVIEW-6348

  1. … 2 more files in changeset.
Polish deprecation message for modifying child specs

+review REVIEW-6348

  1. … 1 more file in changeset.
Deprecate changing copy specs during task execution

Before we started tracking child specs correctly,

it was possible to modify copy specs during

execution time of the copy task. We should

still allow this and not fail when it happens.

This fixes a regression introduced in 3.2 RC1.

+review REVIEW-6348

  1. … 1 more file in changeset.
Added rename { null } case to integration tests

+review REVIEW-6270

  1. … 1 more file in changeset.
Fix flakyness of CopyTaskIntegrationSpec

  1. … 1 more file in changeset.