Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for someOtherValue (0.15 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            1 * transform.transform(someValue()) >> someOtherValue()
            0 * transform._
    
            when:
            def result = mapped.get()
    
            then:
            result == someOtherValue()
    
            and:
            1 * transform.transform(someValue()) >> someOtherValue()
            0 * transform._
    
            when:
            assert mapped.getOrNull() == someOtherValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            when:
            property.replace { it.map { someOtherValue() } }
    
            then:
            property.get() == someOtherValue()
        }
    
        def "replace can modify property with convention"() {
            given:
            def property = property().convention(someValue())
    
            when:
            property.replace { it.map { someOtherValue() } }
    
            then:
            property.get() == someOtherValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

        }
    
        @Override
        Class<Integer> type() {
            return Integer
        }
    
        @Override
        Integer someValue() {
            return 23
        }
    
        @Override
        Integer someOtherValue() {
            return 88
        }
    
        @Override
        Integer someOtherValue2() {
            return 146
        }
    
        @Override
        Integer someOtherValue3() {
            return 1024
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top