CustomComponentInternalViewsIntegrationTest.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>

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.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>

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.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>

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.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>

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 77 more files in changeset.
Improve documented deprecation warning assertions

Allow using /current/ in the documentation path in the assertion. This will make it easier to read/verify the documentation linked to, while actually asserting against the current version behind the scenes.

    • -2
    • +2
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 62 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 55 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 55 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 55 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 55 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +2
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 55 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 53 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 54 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 60 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 55 more files in changeset.
Expect deprecation warnings in tests

    • -0
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 55 more files in changeset.
Reworked display name for views of `ModelMap` and `ModelSet` (and subtypes) elements so that the same display name for a given element is used regardless of the view type.

Added some test coverage for viewing these elements as various types.

    • -3
    • +3
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 11 more files in changeset.
Use parameter types in method descriptor

+review REVIEW-5921

    • -1
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 27 more files in changeset.
Fix bunch of platform-base integration tests

    • -2
    • +2
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 7 more files in changeset.
Replaced `ComponentSpecInternal` with a more specific internal interface that represents a component that is built into some intermediate format before its final outputs are produced.

This new interface is internal as it is essentially just a rename of `ComponentSpecInternal`, and will probably be replaced by something instead based on the target platform(s) of the component.

    • -3
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 17 more files in changeset.
Replaced most usages of `BinaryTypeBuilder` and `ComponentTypeBuilder` with the more general `TypeBuilder`.

    • -5
    • +5
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 48 more files in changeset.
Apply inherited internal views

Previously only the internal views declared directly for the type (and

in the case of managed types: the delegate type) were applied to a

node. Now all internal views declared for the type directly, and also

for any of its (managed or unmanaged) super-type are applied to the

node.

+review REVIEW-5651

    • -1
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 4 more files in changeset.
Added more error checking to BaseInstanceFactory

Cases covered:

* registered implementation type is an abstract type

* registered implementation type does not have a default constructor

* registered implementation type does not extend BaseBinarySpec or

BaseComponentSpec, respectively

* registered managed type extends base type without a default

implementation (i.e. BinarySpec)

* registered managed type extends multiple interfaces that declare

default implementations

+review REVIEW-5651

    • -1
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 10 more files in changeset.
Tightened up some tests

    • -0
    • +1
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 4 more files in changeset.
Setup `ComponentSpecInternal` as a default internal view for components

+review REVIEW-5620

    • -0
    • +12
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 2 more files in changeset.
Don't require internal views to extend base interface type

+review REVIEW-5620

    • -1
    • +14
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 10 more files in changeset.
Internal views are checked even if registered separately from implementation

+review REVIEW-5620

    • -11
    • +78
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 8 more files in changeset.
Internal views for components are registered

+review REVIEW-5620

    • -19
    • +66
    ./CustomComponentInternalViewsIntegrationTest.groovy
  1. … 20 more files in changeset.
Forgot asserts

Damn

+review +review REVIEW-5604

    • -5
    • +7
    ./CustomComponentInternalViewsIntegrationTest.groovy
Added test for `ComponentSpecContainer.withType()` with an internal view

+review REVIEW-5604

    • -0
    • +63
    ./CustomComponentInternalViewsIntegrationTest.groovy