DefaultTypeMetadataStoreTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Let TaskDestroyablesInternal.registeredPaths return a file collection

and serialize it as such in instant execution

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

  1. … 14 more files in changeset.
Fix one more test

Fix path sensitivity for property declarations in tests

  1. … 8 more files in changeset.
Fix more tests

  1. … 1 more file in changeset.
Correctly report everything

  1. … 20 more files in changeset.
Correctly report everything

  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.

  1. … 47 more files in changeset.
Rename method for consistency

  1. … 6 more files in changeset.
Ignore supported script language base packages for property inspection

We don't want to inspect any of the types from java.*, groovy.* or kotlin.*.

  1. … 8 more files in changeset.
Ignore supported script language base packages for property inspection

We don't want to inspect any of the types from java.*, groovy.* or kotlin.*.

  1. … 8 more files in changeset.
Rename ParameterValidationContext to WorkValidationContext

  1. … 41 more files in changeset.
Merge branch 'master'

    • -4
    • +11
    ./DefaultTypeMetadataStoreTest.groovy
  1. … 5 more files in changeset.
Ignore methods annotated with ReplacedBy

    • -4
    • +11
    ./DefaultTypeMetadataStoreTest.groovy
  1. … 11 more files in changeset.
Rename visit{Error -> Warning} and visit{ErrorStrict -> Error}

  1. … 15 more files in changeset.
Do not cache type annotation metadata across builds

We only use it in DefaultTypeMetadataStore that is already cached across builds (and even that might not be worth it).

  1. … 8 more files in changeset.
Add `PropertyValidationAccess#validateMutableNonFinalField` to encourage final fields in tasks

  1. … 8 more files in changeset.
Add `PropertyValidationAccess#validateMutableNonFinalField` to encourage final fields in tasks

  1. … 8 more files in changeset.
Add `PropertyValidationAccess#validateMutableNonFinalField` to encourage final fields in tasks

  1. … 8 more files in changeset.
Add `PropertyValidationAccess#validateMutableNonFinalField` to encourage final fields in tasks

  1. … 8 more files in changeset.
Add `PropertyValidationAccess#validateMutableNonFinalField` to encourage final fields in tasks

  1. … 8 more files in changeset.
Make the detection of Groovy-generated getters generic

We don't want DefaultTypeAnnotationMetadataStore to depend directly on Groovy. Instead, we can inject code that detects Groovy generated 'is'-getters.

  1. … 8 more files in changeset.
Remove unused test class

Also split another test case to better capture what's going on with ignored properties.

    • -6
    • +20
    ./DefaultTypeMetadataStoreTest.groovy
  1. … 1 more file in changeset.
Make PropertyMetadata API nicer and safer to work with

  1. … 10 more files in changeset.
Scan methods first

    • -11
    • +4
    ./DefaultTypeMetadataStoreTest.groovy
  1. … 23 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Handle Internal annotation in TypeAnnotationMetadataStore

  1. … 8 more files in changeset.