Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for otherValue (0.38 sec)

  1. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            where:
            key        | oldValue        | expectedValue   | expectedResult
            'existing' | 'existingValue' | 'newValue'      | true
            'existing' | 'otherValue'    | 'existingValue' | false
            'missing'  | 'otherValue'    | null            | false
    
        }
    
        def "method replace(#key, #oldValue, newValue) reports change"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                        verify.prop.putAll(['key': 'newValue', 'otherKey': 'otherValue'])
                        verify.expected = ['key': 'newValue', 'otherKey': 'otherValue']
                    }
                }
    
                task replacingPutAllWithProvider {
                    doLast {
                        verify.prop.putAll(provider { ['key': 'newValue', 'otherKey': 'otherValue'] })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            def attr = Attribute.of(Flavor)
    
            given:
            schema.attribute(attr).compatibilityRules.add(CustomCompatibilityRule)
    
            def value1 = flavor('value')
            def value2 = flavor('otherValue')
    
            expect:
            schema.matcher().selectionSchema.matchValue(attr, value1, value2)
            !schema.matcher().selectionSchema.matchValue(attr, value2, value1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

        }
    
        def "write property"() {
            when:
            writeableProperty(JavaTestSubject, "myProperty", String.class).setValue(myProperties, "otherValue")
    
            then:
            readableProperty(JavaTestSubject, String, "myProperty").getValue(myProperties) == "otherValue"
        }
    
        def "write property with multiple setters"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            def proxyClass = generate(SomeTypeWithReadOnlyProperty)
            def impl = proxyClass.newInstance(state, typeConverter)
    
            when:
            impl.otherValue {
                value = "12"
            }
    
            then:
            1 * state.get("otherValue") >> prop
            1 * prop.setValue("12")
            0 * state._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // (1-5/Integer.MAX_VALUE).
        double otherValue = 16.0 * 5.0 / Integer.MAX_VALUE + 25.0 * (1.0 - 5.0 / Integer.MAX_VALUE);
        assertThat(
                Quantiles.scale(scale).indexes(0, scale, otherIndex).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
                0, SIXTEEN_SQUARES_MIN, scale, SIXTEEN_SQUARES_MAX, otherIndex, otherValue);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

    import static org.gradle.internal.configuration.inputs.AccessTrackingPropertiesNonStringTest.TestData.OTHER_VALUE
    
    class AccessTrackingPropertiesNonStringTest extends Specification {
        private enum TestData {
            EXISTING_KEY, EXISTING_VALUE, OTHER_VALUE, MISSING_KEY, NON_STRING_VALUE
        }
    
        private final Map<Object, Object> innerMap = ImmutableMap.of(
            EXISTING_KEY, EXISTING_VALUE,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/transformer_test.go

      apiserver_storage_transformation_operations_total{status="OK",transformation_type="from_storage",transformer_prefix="identity"} 1
      `,
    			err: nil,
    		},
    		{
    			desc:   "other prefix (ok)",
    			input:  []byte("other:value"),
    			prefix: NewPrefixTransformers(testErr, identityTransformerErr, otherTransformer),
    			metrics: []string{
    				"apiserver_storage_transformation_operations_total",
    			},
    			want: `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 22:44:02 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top