Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for Original (0.2 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/defaults_test.go

    				},
    			},
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			original := test.original
    			expected := test.expected
    			scheme.Default(original)
    			if !apiequality.Semantic.DeepEqual(original, expected) {
    				t.Errorf("expected vs got:\n%s", cmp.Diff(test.expected, original))
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:41:26 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  2. pkg/apis/extensions/v1beta1/defaults_test.go

    					},
    					RevisionHistoryLimit: utilpointer.Int32(10),
    				},
    			},
    		},
    	}
    
    	for i, test := range tests {
    		original := test.original
    		expected := test.expected
    		obj2 := roundTrip(t, runtime.Object(original))
    		got, ok := obj2.(*extensionsv1beta1.DaemonSet)
    		if !ok {
    			t.Errorf("(%d) unexpected object: %v", i, got)
    			t.FailNow()
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandlerTest.groovy

            assert current.build_time == original.build_time
            assert current.version == original.version
            assert current.options == original.options
            assert current.inputs == original.inputs
        }
    
        void assertFileHasResetTimestamp(SwiftDepsHandler.SwiftDeps current, File... inputs) {
            assert !original.inputs.isEmpty()
            def changedInputs = inputs*.absolutePath
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r64/DaemonReuseCrossVersionSpec.groovy

            runBuildViaTAPI()
            def original = getDaemonUID()
            when:
            runBuildViaTAPI()
            then:
            assertSameDaemon(original)
        }
    
        def "tooling API client reuses existing daemon started by CLI"() {
            runBuildViaCLI()
            def original = getDaemonUID()
            when:
            runBuildViaTAPI()
            then:
            assertSameDaemon(original)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/ChainingTransformer.java

            transformers.add(new Transformer<T, T>() {
                @Override
                public T transform(T original) {
                    transformer.setDelegate(original);
                    transformer.setResolveStrategy(Closure.DELEGATE_FIRST);
                    Object value = transformer.call(original);
                    if (type.isInstance(value)) {
                        return type.cast(value);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/PropertiesTransformerTest.groovy

        final PropertiesTransformer transformer = new PropertiesTransformer()
    
        def 'returns original when no action specified'() {
            given:
            Map map = [test:'value']
            Properties original = props(map)
            Properties test = props(map)
            when:
            def result = transformer.transform(original)
            then:
            result == test
        }
    
        def 'action can access properties'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  7. pkg/apis/flowcontrol/v1beta2/defaults_test.go

    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			original := test.original
    			expected := test.expected
    
    			scheme.Default(original)
    			if !reflect.DeepEqual(expected, original) {
    				t.Errorf("Expected defaulting to work - diff: %s", cmp.Diff(expected, original))
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/ContextClassLoaderDispatchTest.groovy

        private ClassLoader original
        private final ContextClassLoaderDispatch dispatch = new ContextClassLoaderDispatch(target, appClassLoader)
    
        def setup() {
            original = Thread.currentThread().contextClassLoader
        }
    
        public void cleanup() {
            Thread.currentThread().contextClassLoader = original
        }
    
        def 'sets ContextClassLoader during dispatch'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/MethodHandleInvocation.java

     */
    class MethodHandleInvocation implements Invocation {
        private final MethodHandle original;
        private final Object[] originalArgs;
        private final Object[] unspreadArgs;
        private final int unspreadArgsOffset;
    
        public MethodHandleInvocation(MethodHandle original, Object[] originalArgs, boolean isSpread) {
            this.original = original;
            this.originalArgs = originalArgs;
            if (isSpread) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 05:57:27 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/TransformedClassPathTest.groovy

        }
    
        def "original jars are returned in the list of original jars"() {
            given:
            TransformedClassPath cp = transformedClassPath("original.jar": "transformed.jar")
    
            expect:
            cp.asFiles == [file("original.jar")]
            cp.asURIs == [file("original.jar").toURI()]
            cp.asURLs == [file("original.jar").toURI().toURL()]
            cp.asURLArray == [file("original.jar").toURI().toURL()].toArray()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 11:14:30 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top