AbstractPluginValidationIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add test for the reporting of conflicting input/output annotation types

    • -0
    • +28
    ./AbstractPluginValidationIntegrationSpec.groovy
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -15
    • +15
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 872 more files in changeset.
Move skip reasons to @FailsWithInstantExecution and drop @IgnoreWithInstantExecution

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

    • -15
    • +15
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 45 more files in changeset.
Annotate integ tests failing with instant execution in various projects

removing most of @IgnoreWithInstantExecution annotations

after fixing the @FailsWithInstantExecution rule

and more ci feedback

also make @IgnoreWithInstantExecution require a reason from a fixed set

and add it to the remaining ignores

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

    • -14
    • +14
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 126 more files in changeset.
Annotate integ tests failing with instant execution in :pluginDevelopment

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

    • -0
    • +15
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 5 more files in changeset.
Migrate tests from PropertyValidationAccessTest

We now have integration tests for both static and runtime for all of these.

    • -10
    • +178
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 3 more files in changeset.
Display nice type names consistently for validation warnings

Also use the new expectDeprecationWarning(String) to check for emitted runtime validation warnings.

    • -5
    • +5
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 3 more files in changeset.
Consistently check for path sensitivity warnings during runtime

    • -94
    • +31
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 15 more files in changeset.
Correctly report everything

    • -7
    • +7
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 20 more files in changeset.
Consolidate type validation

Use ValidateContext with a few standard implementations instead of the many different interfaces and implementations we used to collect valdiation problems before. This fixes issues with types being displayed inconsistently.

The implementation is not fully correct yet: we now fail to display the correct type for problems that are bound to a type instead of a property.

    • -7
    • +7
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 47 more files in changeset.
Only test validating external types for static validation

    • -90
    • +0
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 2 more files in changeset.
Remove unnecessary test requirement

    • -4
    • +0
    ./AbstractPluginValidationIntegrationSpec.groovy
Migrate "reports conflicting types when property is replaced"

    • -0
    • +35
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "can validate task classes using types from other projects"

    • -0
    • +57
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 2 more files in changeset.
Migrate "can validate task classes using external types"

    • -0
    • +37
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 2 more files in changeset.
Migrate "detects annotations on setter methods"

    • -0
    • +54
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "detects annotations on non-property methods"

    • -0
    • +36
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "detects annotations on private getter methods"

    • -0
    • +42
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "detects problems with file inputs"

    • -0
    • +83
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Allow distinguishing between errors and warnings emitted in strict mode

    • -1
    • +19
    ./AbstractPluginValidationIntegrationSpec.groovy
Fix runtime test case for validates task caching annotations

    • -2
    • +2
    ./AbstractPluginValidationIntegrationSpec.groovy
Migrate "report setters for property of mutable type #type"

    • -1
    • +42
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Move "task cannot have property with annotation @#annotation.simpleName" back

We cannot even instantiate a task with the problems tested here during runtime.

There are tests for these cases in ArtifactTransformValuesInjectionIntegrationTest.

    • -41
    • +1
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "does not report missing properties for Provider types"

    • -0
    • +68
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "no problems with Copy task"

    • -0
    • +16
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "detects missing annotation on Groovy properties"

    • -0
    • +39
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Introduce separate properties for Java and Groovy task sources

    • -6
    • +10
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 2 more files in changeset.
Migrate "validates task caching annotations"

    • -0
    • +33
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 1 more file in changeset.
Migrate "task cannot have property with annotation #annotation.simpleName"

    • -0
    • +42
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 2 more files in changeset.
Migrate "task can have property with annotation @#annotation.simpleName"

    • -0
    • +68
    ./AbstractPluginValidationIntegrationSpec.groovy
  1. … 2 more files in changeset.