- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for assertEqualValues (0.28 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
expect: assertValueIs([b: '2', c: '3', d: '4']) when: def execTimeValue = property.calculateExecutionTimeValue() then: assertEqualValues([b: '2', c: '3', d: '4'], execTimeValue.toValue().get()) } def "execution time value is missing if any undefined-safe operations are performed in the tail"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
protected void assertPropertyValueIs(T expected, PropertyInternal<?> property) { assert property.present T actual = property.get() assertEqualValues(expected, actual) } protected void assertEqualValues(T expected, T actual) { assert actual == expected } def "cannot get value when it has none"() { given: def property = propertyWithNoValue()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
} def property = property() protected void assertValueIs(C expected, PropertyInternal<?> property = this.property) { assertPropertyValueIs(expected, property) } protected void assertEqualValues(C expected, C actual) { assert actual instanceof ImmutableCollection assert immutableCollectionType.isInstance(actual) assertCollectionIs(actual, expected) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0)