ManagedSetModelProjectionTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved a couple of classes to new package to get rid of package cycle.

    • -126
    • +0
    ./ManagedSetModelProjectionTest.groovy
  1. … 6 more files in changeset.
Collection mutation rule specifies input taking mutation rule for particular model element

+review REVIEW-5353

    • -4
    • +6
    ./ManagedSetModelProjectionTest.groovy
  1. … 68 more files in changeset.
Liberate some model registry test support from DefaultModelRegistryTest.

Includes some new/renamed API on ModelRegistry.

+review REVIEW-5350

    • -7
    • +8
    ./ManagedSetModelProjectionTest.groovy
  1. … 21 more files in changeset.
Revert selective task closing work.

Too much breakage.

+review REVIEW-5350

    • -8
    • +7
    ./ManagedSetModelProjectionTest.groovy
  1. … 67 more files in changeset.
Wire the model registry into the “task selector”, effectively enabling configure-on-demand for rule based task declarations.

Rather than eagerly “realize” the whole task container and its contents, we now only realize the container itself.

This means that we know of all the tasks that will exist without actually creating them.

If a task (declared by rules) is not needed for a build (i.e. not selected, not depended on) it will not be created.

However, our rule based plugins at this time contain coarse rules that don't allow this feature to be leveraged.

Benefits will only be seen right now for contrived domains.

    • -7
    • +8
    ./ManagedSetModelProjectionTest.groovy
  1. … 63 more files in changeset.
Added a default `toString()` implementation for managed types.

    • -1
    • +1
    ./ManagedSetModelProjectionTest.groovy
  1. … 6 more files in changeset.
Implemented the remaining query methods on ManagedSet, after removing them in the switch to backing using MutableModelNode instead of Set.

Also ensure that the views of the elements in the set are reused for the lifetime of the set view, and added a bit of unit test coverage.

    • -0
    • +123
    ./ManagedSetModelProjectionTest.groovy
  1. … 3 more files in changeset.