Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 331 for gomod (0.21 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy

            withSpec(parent) { FilteringClassLoader.Spec spec ->
                spec.allowPackage("good")
            }
    
            when:
            classLoader.loadClass("good.Clazz")
    
            //noinspection GroovyAccessibility
            then:
            1 * parent.loadClass("good.Clazz", false) >> String
            0 * parent._
    
            when:
            classLoader.loadClass("bad.Clazz")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                            return "good";
                        }
    
                        public String getNotAnnotated() {
                            return null;
                        }
                    }
    
                    public static class NamedBean implements Named {
                        @Input
                        public String getGood() {
                            return "good";
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

            if (GradleContextualExecuter.configCache) {
                // Counter is serialized and isolated prior to execution, so transforms will not see the increment in each tasks' doLast { } (which is good)
                file("build/libs1/test-1.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
                file("build/libs1/test2-2.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  4. pkg/apis/discovery/validation/validation_test.go

    	standardMeta := metav1.ObjectMeta{
    		Name:      "hello",
    		Namespace: "world",
    	}
    
    	testCases := map[string]struct {
    		expectedErrors int
    		endpointSlice  *discovery.EndpointSlice
    	}{
    		"good-slice": {
    			expectedErrors: 0,
    			endpointSlice: &discovery.EndpointSlice{
    				ObjectMeta:  standardMeta,
    				AddressType: discovery.AddressTypeIPv4,
    				Ports: []discovery.EndpointPort{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy

                }
            """
            def module = mavenHttpRepo.module('org.foo', 'good').publish()
            server.authenticationScheme = AuthScheme.BASIC
            server.allowGetOrHead('/repo/org/foo/good/1.0/good-1.0.pom', 'foo', 'bar', module.pomFile)
            server.allowGetOrHead('/repo/org/foo/good/1.0/good-1.0.jar', 'foo', 'bar', module.artifactFile)
    
            when:
            succeeds 'resolve'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  6. pkg/apis/resource/validation/validation_podschedulingcontext_test.go

    	now := metav1.Now()
    	badName := "!@#$%^"
    	badValue := "spaces not allowed"
    
    	scenarios := map[string]struct {
    		schedulingCtx *resource.PodSchedulingContext
    		wantFailures  field.ErrorList
    	}{
    		"good-schedulingCtx": {
    			schedulingCtx: testPodSchedulingContexts(goodName, goodNS, goodPodSchedulingSpec),
    		},
    		"missing-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation_resourceclassparameters_test.go

    	badName := "!@#$%^"
    	badValue := "spaces not allowed"
    	now := metav1.Now()
    
    	scenarios := map[string]struct {
    		parameters   *resource.ResourceClassParameters
    		wantFailures field.ErrorList
    	}{
    		"good": {
    			parameters: testResourceClassParameters(goodName, goodName, goodFilters),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/coerce_test.go

    	for i := 0; i < 100; i++ {
    		u := &unstructured.Unstructured{Object: map[string]interface{}{
    			"metadata": map[string]interface{}{
    				"name": "good",
    				"Name": "bad1",
    				"nAme": "bad2",
    				"naMe": "bad3",
    				"namE": "bad4",
    
    				"namespace": "good",
    				"Namespace": "bad1",
    				"nAmespace": "bad2",
    				"naMespace": "bad3",
    				"namEspace": "bad4",
    
    				"creationTimestamp": "a",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. pkg/apis/resource/validation/validation_resourceclaimparameters_test.go

    	badName := "!@#$%^"
    	badValue := "spaces not allowed"
    	now := metav1.Now()
    
    	scenarios := map[string]struct {
    		parameters   *resource.ResourceClaimParameters
    		wantFailures field.ErrorList
    	}{
    		"good": {
    			parameters: testResourceClaimParameters(goodName, goodName, goodRequests),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. cmd/dependencyverifier/dependencyverifier.go

    			// disappeared entirely
    			log.Printf("Good news! Unwanted dependency %q is no longer referenced. Remove status.unwantedReferences[%q] in %s to ensure it doesn't get reintroduced.", expectedRef, expectedRef, dependenciesJSONPath)
    			needUpdate = true
    			continue
    		}
    		removedReferences, unwantedReferences := difference(expectedFrom, actualFrom)
    		if len(removedReferences) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 07 01:48:30 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top