Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 153 for NewValue (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            outputContains("execution value = someValue")
    
            when:
            configurationCacheRun("${setterSwitch}property=newValue")
    
            then:
            configurationCache.assertStateStored()
            outputContains("configuration value = newValue")
            outputContains("execution value = newValue")
    
            where:
            providerType     | setterSwitch
            "systemProperty" | "-D"
            "gradleProperty" | "-P"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy

                assert thing.value == ${defaultValue}
                thing {
                    value = ${newValue}
                }
                assert thing.value == ${newValue}
            """
    
            expect:
            succeeds()
    
            where:
            type           | defaultValue | newValue
            "String"       | null         | "'123'"
            "List<String>" | null         | "['a', 'b', 'c']"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 16.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedModelValue.java

        T update(Function<T, T> updateFunction);
    
        /**
         * Sets the current value.
         *
         * <p>The calling thread must own the mutable state from which the value is calculated.</p>
         */
        void set(T newValue);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            when:
            run "someTask"
    
            then:
            skipped(":someTask")
        }
    
        def "task is out of date when property type changes #oldValue -> #newValue"() {
            buildFile << """
    task someTask {
        inputs.property("a", $oldValue).optional(true)
        outputs.file "out"
        doLast ${Actions.name}.doNothing() // attach an action that is not defined by the build script
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. src/mdo/java/WrapperProperties.java

            return writeOperation(p -> p.remove(key, value));
        }
    
        @Override
        public synchronized boolean replace(Object key, Object oldValue, Object newValue) {
            return writeOperation(p -> p.replace(key, oldValue, newValue));
        }
    
        @Override
        public synchronized Object replace(Object key, Object value) {
            return writeOperation(p -> p.replace(key, value));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. pkg/apis/storage/validation/validation_test.go

    		newValue:       nil,
    		expectError:    true, // populated by defaulting and required when feature is enabled
    	}, {
    		name:           "feature disabled, nil->nil",
    		featureEnabled: false,
    		oldValue:       nil,
    		newValue:       nil,
    		expectError:    false,
    	}, {
    		name:           "feature disabled, nil->set",
    		featureEnabled: false,
    		oldValue:       nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy

            private CompilationState compilationState
    
            CompilationState get() {
                return compilationState
            }
    
            void set(CompilationState newValue) {
                this.compilationState = newValue
            }
    
            CompilationState update(ObjectHolder.UpdateAction<CompilationState> updateAction) {
                throw new UnsupportedOperationException()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:31:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            for (i in 0 until url.querySize) {
              val parameterName = url.queryParameterName(i)
              val newValue = if (parameterName in queryParamsNameToRedact) "██" else url.queryParameterValue(i)
    
              addEncodedQueryParameter(parameterName, newValue)
            }
          }.toString()
        }
    
        private fun logHeader(
          headers: Headers,
          i: Int,
        ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMinimalDependencyVariant.java

        protected void validateMutation() {
            throw new UnsupportedOperationException("Minimal dependencies are immutable.");
        }
    
        @Override
        protected void validateMutation(Object currentValue, Object newValue) {
            validateMutation();
        }
    
        @Override
        public void mutateAttributes(AttributeContainer attributes) {
            attributesMutator.execute(attributes);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_nullTreatedAsAbsent() {
        initMapWithNullValue();
        assertEquals(
            "computeIfAbsent(presentAssignedToNull, function) should return newValue",
            getValueForNullKey(),
            getMap()
                .computeIfAbsent(
                    getKeyForNullValue(),
                    k -> {
                      assertEquals(getKeyForNullValue(), k);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 6.4K bytes
    - Viewed (0)
Back to top