ManagedModelMapIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Mark software model tests as @UnsupportedWithInstantExecution

to reduce CI time and noise when making changes

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

    • -6
    • +2
    ./ManagedModelMapIntegrationTest.groovy
  1. … 77 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -6
    • +6
    ./ManagedModelMapIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :modelCore

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

    • -0
    • +6
    ./ManagedModelMapIntegrationTest.groovy
  1. … 26 more files in changeset.
Annotate integ tests failing with instant execution in :modelCore

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

    • -0
    • +6
    ./ManagedModelMapIntegrationTest.groovy
  1. … 26 more files in changeset.
Annotate integ tests failing with instant execution in :modelCore

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

    • -0
    • +6
    ./ManagedModelMapIntegrationTest.groovy
  1. … 26 more files in changeset.
Make software model tasks accessible using abbreviated names again

This was broken by a refactoring towards lazy task configuration,

because we had no test coverage for this case.

    • -1
    • +1
    ./ManagedModelMapIntegrationTest.groovy
  1. … 4 more files in changeset.
Change `DefaultNamedDomainObjectCollection` to better handle elements added using a provider, in particular when locating elements by name.

Change `DefaultTaskContainer` to use this to implement `createLater()` rather than the existing placeholder actions, to make deferred task creation less of a special case.

    • -1
    • +1
    ./ManagedModelMapIntegrationTest.groovy
  1. … 9 more files in changeset.
Pass an immutable (and readable) view of the subject to `@Validate` rules.

Also added a new exception type to distinguish between mutating a read only view and mutating a closed view.

    • -3
    • +75
    ./ManagedModelMapIntegrationTest.groovy
  1. … 16 more files in changeset.
Use parameter types in method descriptor

+review REVIEW-5921

    • -5
    • +5
    ./ManagedModelMapIntegrationTest.groovy
  1. … 27 more files in changeset.
Fixed tests

+review REVIEW-5801

    • -1
    • +1
    ./ManagedModelMapIntegrationTest.groovy
  1. … 1 more file in changeset.
Removed some constraints from model element type validation which are no longer required:

- Removed constraint that given `ModelMap<T>` then `T` cannot be any `ModelMap<?>`

- Removed constraint that given `ModelSet<T>` then `T` cannot be any `ModelSet<?>`.

Added some test coverage for these cases.

+review REVIEW-5756

    • -2
    • +84
    ./ManagedModelMapIntegrationTest.groovy
  1. … 6 more files in changeset.
Replaced a bunch of usages of `$('p')` with `$.p`

    • -5
    • +5
    ./ManagedModelMapIntegrationTest.groovy
  1. … 32 more files in changeset.
Remove test fixture that enables transformed model rules DSL. Not required any more.

    • -5
    • +0
    ./ManagedModelMapIntegrationTest.groovy
  1. … 43 more files in changeset.
Use NodeInitializer to back ChildNodeCreatorStrategy (and rename).

+review REVIEW-5561

    • -1
    • +1
    ./ManagedModelMapIntegrationTest.groovy
  1. … 11 more files in changeset.
Shows more concise names for rule source method rules

+review

    • -3
    • +3
    ./ManagedModelMapIntegrationTest.groovy
  1. … 32 more files in changeset.
Don't require managed ModelMap entries to be Named.

+review REVIEW-5514

    • -0
    • +37
    ./ManagedModelMapIntegrationTest.groovy
  1. … 3 more files in changeset.
Add line ending normalizing output contains method.

    • -1
    • +1
    ./ManagedModelMapIntegrationTest.groovy
  1. … 6 more files in changeset.
Make model map respect mutability WRT the child views it exposes.

+review REVIEW-5514

    • -0
    • +71
    ./ManagedModelMapIntegrationTest.groovy
  1. … 3 more files in changeset.
Support ModelMap as a managed type.

+review

    • -0
    • +225
    ./ManagedModelMapIntegrationTest.groovy
  1. … 39 more files in changeset.