ModelDslRuleDetectionIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Software Model @UnsupportedWithInstantExecution

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

    • -2
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 76 more files in changeset.
Mark software model tests as @UnsupportedWithInstantExecution

to reduce CI time and noise when making changes

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

    • -2
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 77 more files in changeset.
Mark software model tests as @UnsupportedWithInstantExecution

to reduce CI time and noise when making changes

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

    • -2
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 77 more files in changeset.
Mark software model tests as @UnsupportedWithInstantExecution

to reduce CI time and noise when making changes

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

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

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

    • -2
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :modelGroovy

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

    • -0
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 3 more files in changeset.
Annotate integ tests failing with instant execution in :modelGroovy

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

    • -0
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 3 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 285 more files in changeset.
Fixed DSL rule extraction when a closure that looks like a nested DSL rule is nested inside a closure that is not.

    • -0
    • +25
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 4 more files in changeset.
Remove test fixture that enables transformed model rules DSL. Not required any more.

    • -5
    • +0
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 43 more files in changeset.
Remove some obsolete imports in integration tests.

+review REVIEW-5491

    • -2
    • +0
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 41 more files in changeset.
Introduce ModelMap extends CollectionBuilder and allow to use them interchangeably in rules

+review REVIEW-5491

    • -1
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 117 more files in changeset.
Changed DSL int test so that it does not use internal types.

    • -47
    • +38
    ./ModelDslRuleDetectionIntegrationSpec.groovy
Change rule source marking from annotation to base class

+review REVIEW-5359

    • -2
    • +1
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 73 more files in changeset.
Collection mutation rule specifies input taking mutation rule for particular model element

+review REVIEW-5353

    • -1
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 68 more files in changeset.
Added a root node to the model graph and cleaned up MutableModelNode so that links are always added using a ModelCreator.

This means all graph additions are done by linking a node from another node, and so we can apply consistent validation and behaviour.

    • -7
    • +5
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 10 more files in changeset.
Temporary fix for broken int test

    • -3
    • +6
    ./ModelDslRuleDetectionIntegrationSpec.groovy
Extracted an interface from ModelNode for creation and mutator actions to use instead of bolting directly onto ModelNode.

    • -16
    • +14
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 20 more files in changeset.
Changed ModelProjection to extend ModelAdapter and ModelPromise, so that various wrappers are no longer required and to reduce the object count for each model graph node.

    • -2
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 9 more files in changeset.
Reinstate some previously ignored test coverage due to model registry changes.

+review REVIEW-5264

    • -6
    • +33
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 8 more files in changeset.
Ignore/fix a bunch of tests now that model elements can't be inserted at nested paths in the graph (i.e. they must be inserted via the parent).

The ignored tests will be fixed and unignored soon.

+review REVIEW-5264

    • -0
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 6 more files in changeset.
Don't implement Plugin in rule sources used in tests if it's not necessary

+review REVIEW-5239

    • -3
    • +2
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 7 more files in changeset.
Introduce a feature toggle for the new model DSL, off by default.

    • -0
    • +5
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 7 more files in changeset.
Revert "Revert "Expansion/improvement of compile time transforming for model rules in the DSL.""

This reverts commit 1a9872da557fc63a2af73abc4447cb28d96a4d4d.

Problems with original implementation have been fixed.

    • -0
    • +128
    ./ModelDslRuleDetectionIntegrationSpec.groovy
  1. … 18 more files in changeset.