MapPropertyIntegrationTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix MapPropertyIntegrationTest

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

Fix scripts under test that were using project.xxx during execution

where .xxx is simply handled by capturing just that.

for example, project.name, project.version or project.objects etc...

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

  1. … 5 more files in changeset.
Fix scripts in test reaching out to project in task actions

where the fix is trivial

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

  1. … 19 more files in changeset.
Fix scripts in test reaching out to project in task actions

where the fix is trivial

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

  1. … 19 more files in changeset.
Report the chain of properties from which the value of a `ListProperty`, `SetProperty` and `MapProperty` come from, when the value is missing.

    • -42
    • +67
    ./MapPropertyIntegrationTest.groovy
  1. … 21 more files in changeset.
Report the chain of properties from which the value of a `ListProperty`, `SetProperty` and `MapProperty` come from, when the value is missing.

    • -42
    • +67
    ./MapPropertyIntegrationTest.groovy
  1. … 21 more files in changeset.
Report the chain of properties from which the value of a `ListProperty`, `SetProperty` and `MapProperty` come from, when the value is missing.

    • -42
    • +67
    ./MapPropertyIntegrationTest.groovy
  1. … 18 more files in changeset.
Report the chain of properties from which the value of a `ListProperty`, `SetProperty` and `MapProperty` come from, when the value is missing.

    • -42
    • +67
    ./MapPropertyIntegrationTest.groovy
  1. … 21 more files in changeset.
Report the chain of properties from which the value of a `ListProperty`, `SetProperty` and `MapProperty` come from, when the value is missing.

    • -42
    • +67
    ./MapPropertyIntegrationTest.groovy
  1. … 21 more files in changeset.
Fix property integration tests

  1. … 5 more files in changeset.
Fail rather than emitting a deprecation warning when the value of a `Property` typed task property is changed after the task starts execution.

Also include the property display name, if attached, in the 'cannot change the value' error messages.

    • -20
    • +8
    ./MapPropertyIntegrationTest.groovy
  1. … 25 more files in changeset.
Fail rather than emitting a deprecation warning when the value of a `Property` typed task property is changed after the task starts execution.

Also include the property display name, if attached, in the 'cannot change the value' error messages.

    • -20
    • +8
    ./MapPropertyIntegrationTest.groovy
  1. … 25 more files in changeset.
Fail rather than emitting a deprecation warning when the value of a `Property` typed task property is changed after the task starts execution.

Also include the property display name, if attached, in the 'cannot change the value' error messages.

    • -20
    • +8
    ./MapPropertyIntegrationTest.groovy
  1. … 25 more files in changeset.
Fail rather than emitting a deprecation warning when the value of a `Property` typed task property is changed after the task starts execution.

Also include the property display name, if attached, in the 'cannot change the value' error messages.

    • -20
    • +8
    ./MapPropertyIntegrationTest.groovy
  1. … 18 more files in changeset.
Fail rather than emitting a deprecation warning when the value of a `Property` typed task property is changed after the task starts execution.

Also include the property display name, if attached, in the 'cannot change the value' error messages.

    • -20
    • +8
    ./MapPropertyIntegrationTest.groovy
  1. … 18 more files in changeset.
Add `HasConfigurableValue.disallowChanges()` which disallows changes to a `Property` or `ConfigurableFileCollection` without finalizing the value.

    • -0
    • +25
    ./MapPropertyIntegrationTest.groovy
  1. … 8 more files in changeset.
Add `HasConfigurableValue.disallowChanges()` which disallows changes to a `Property` or `ConfigurableFileCollection` without finalizing the value.

    • -0
    • +25
    ./MapPropertyIntegrationTest.groovy
  1. … 8 more files in changeset.
Add `HasConfigurableValue.disallowChanges()` which disallows changes to a `Property` or `ConfigurableFileCollection` without finalizing the value.

    • -0
    • +25
    ./MapPropertyIntegrationTest.groovy
  1. … 8 more files in changeset.
Add `HasConfigurableValue.disallowChanges()` which disallows changes to a `Property` or `ConfigurableFileCollection` without finalizing the value.

    • -0
    • +25
    ./MapPropertyIntegrationTest.groovy
  1. … 8 more files in changeset.
Add `HasConfigurableValue.disallowChanges()` which disallows changes to a `Property` or `ConfigurableFileCollection` without finalizing the value.

    • -0
    • +25
    ./MapPropertyIntegrationTest.groovy
  1. … 8 more files in changeset.
Fixed managed property generation for `Property<T>` types where `T` is a parameterized type.

    • -7
    • +22
    ./MapPropertyIntegrationTest.groovy
  1. … 5 more files in changeset.
Fixed managed property generation for `Property<T>` types where `T` is a parameterized type.

    • -7
    • +22
    ./MapPropertyIntegrationTest.groovy
  1. … 5 more files in changeset.
Include Providers in exceptions

  1. … 4 more files in changeset.
Add some more test coverage for using various `Property` types as task properties.

    • -0
    • +25
    ./MapPropertyIntegrationTest.groovy
  1. … 4 more files in changeset.
Add some more test coverage for using various `Property` types as task properties.

    • -0
    • +25
    ./MapPropertyIntegrationTest.groovy
  1. … 4 more files in changeset.
Throw exception when using convention mapping with all new `Property` types

    • -0
    • +24
    ./MapPropertyIntegrationTest.groovy
  1. … 3 more files in changeset.
Handle `Provider` with no value for optional task inputs registered using `inputs.property()`.

    • -0
    • +22
    ./MapPropertyIntegrationTest.groovy
  1. … 3 more files in changeset.
added integration tests for MapProperty

Signed-off-by: Till Krullmann <till.krullmann@gmx.net>

    • -0
    • +538
    ./MapPropertyIntegrationTest.groovy