RuntimePluginValidationIntegrationTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Migrate tests from PropertyValidationAccessTest

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

    • -0
    • +48
    ./RuntimePluginValidationIntegrationTest.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
    • +12
    ./RuntimePluginValidationIntegrationTest.groovy
  1. … 3 more files in changeset.
Consistently check for path sensitivity warnings during runtime

    • -3
    • +4
    ./RuntimePluginValidationIntegrationTest.groovy
  1. … 15 more files in changeset.
Correctly report everything

    • -0
    • +6
    ./RuntimePluginValidationIntegrationTest.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.

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

    • -10
    • +0
    ./RuntimePluginValidationIntegrationTest.groovy
  1. … 2 more files in changeset.
Migrate "can validate task classes using types from other projects"

    • -0
    • +5
    ./RuntimePluginValidationIntegrationTest.groovy
  1. … 2 more files in changeset.
Ensure that the validated task is executed, not that it's the only one

    • -2
    • +2
    ./RuntimePluginValidationIntegrationTest.groovy
Migrate "can validate task classes using external types"

    • -0
    • +5
    ./RuntimePluginValidationIntegrationTest.groovy
  1. … 2 more files in changeset.
Ensure that errors are actually reported

    • -0
    • +3
    ./RuntimePluginValidationIntegrationTest.groovy
Allow types to be reported sometimes for runtime warnings

    • -4
    • +3
    ./RuntimePluginValidationIntegrationTest.groovy
Ensure that task being validated actually runs during test

    • -0
    • +2
    ./RuntimePluginValidationIntegrationTest.groovy
Introduce separate properties for Java and Groovy task sources

    • -1
    • +1
    ./RuntimePluginValidationIntegrationTest.groovy
  1. … 2 more files in changeset.
Migrate "task cannot have property with annotation #annotation.simpleName"

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

    • -0
    • +5
    ./RuntimePluginValidationIntegrationTest.groovy
  1. … 2 more files in changeset.
Abstract first validation test between runtime and static validation

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