Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for actualValue (0.27 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

                        checkMap(actualValue, expectedValue, checker)
                    } else {
                        checker(actualValue, expectedValue)
                    }
                } else if (checker instanceof List) {
                    def subSpecs = checker as List
                    checkModel(actualValue, expectedValue, subSpecs)
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. pkg/api/testing/compat/compatibility_tester.go

    	for k, expectedValue := range expectedKeys {
    		keys := strings.Split(k, ".")
    		if actualValue, ok, err := getJSONValue(generic, keys...); err != nil || !ok {
    			t.Errorf("Unexpected error for %s: %v", k, err)
    		} else if !reflect.DeepEqual(expectedValue, fmt.Sprintf("%v", actualValue)) {
    			t.Errorf("Unexpected value for %v: expected %v, got %v", k, expectedValue, actualValue)
    		}
    	}
    
    	for _, absentKey := range absentKeys {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 20 22:26:16 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/mappers/OpenTestAssertionFailedMapper.java

                "getValue"
            );
            Object actualValue = invokeMethod(
                invokeMethod(throwable, "getActual"),
                "getValue"
            );
    
            if (isFileInfo(expectedValue) || isFileInfo(actualValue)) {
                return mapFileInfoComparisonFailure(throwable, expectedValue, actualValue);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:48:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

        @Override
        public <T> T getConventionValue(T actualValue, String propertyName, boolean isExplicitValue) {
            if (isExplicitValue) {
                return actualValue;
            }
    
            T returnValue = actualValue;
            if (_mappings.containsKey(propertyName)) {
                boolean useMapping = true;
                if (actualValue instanceof Collection && !((Collection<?>) actualValue).isEmpty()) {
                    useMapping = false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

            } as Predicate
        }
    
        private static boolean testValue(expectedValue, actualValue) {
            if (expectedValue instanceof Closure) {
                expectedValue.call(actualValue)
            } else if (expectedValue instanceof Predicate) {
                expectedValue.apply(actualValue)
            } else {
                expectedValue == actualValue
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/mappers/JUnitComparisonTestFailureMapper.java

            String expectedValue = invokeMethod(throwable, "getExpected", String.class);
            String actualValue = invokeMethod(throwable, "getActual", String.class);
    
            return TestFailure.fromTestAssertionFailure(throwable, expectedValue, actualValue);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/command_headers_test.go

    			}
    			// All expected headers must be present; but there may be extras.
    			for key, expectedValue := range tc.expectedHeaders {
    				actualValue, found := ch.Headers[key]
    				if found {
    					if expectedValue != actualValue {
    						t.Errorf("expected header value (%s), got (%s)", expectedValue, actualValue)
    					}
    				} else {
    					t.Errorf("expected header (%s) not found", key)
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 20:34:02 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/GetInputFilesVisitor.java

            LineEndingSensitivity lineEndingSensitivity,
            @Nullable FileNormalizer fileNormalizer,
            PropertyValue value,
            InputFilePropertyType filePropertyType
        ) {
            FileCollectionInternal actualValue = FileParameterUtils.resolveInputFileValue(fileCollectionFactory, filePropertyType, value);
            FileNormalizer normalizer = FileParameterUtils.normalizerOrDefault(fileNormalizer);
            specs.add(new DefaultInputFilePropertySpec(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcherTest.groovy

                probedSystemProperties.each {
                    def actualValue = actualProperties[it.systemPropertyKey]
                    // write conditionally to simulate wrong number of outputs
                    if (actualValue != null) {
                        output.println(MetadataProbe.MARKER_PREFIX + actualValue)
                    }
                }
                Mock(ExecResult)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskInputs.java

                    PropertyValue value,
                    InputFilePropertyType filePropertyType
                ) {
                    FileCollection actualValue = FileParameterUtils.resolveInputFileValue(fileCollectionFactory, filePropertyType, value);
                    context.add(actualValue);
                }
            });
        }
    
        private static class TaskInputUnionFileCollection extends CompositeFileCollection implements Describable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top