Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for goodg2 (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestLiterals(t *testing.T) {
    	ui := &user.DefaultInfo{Name: "goodu", UID: "1",
    		Groups: []string{"goodg1", "goodg2"}}
    	reqRN := RequestDigest{
    		RequestInfo: &request.RequestInfo{
    			IsResourceRequest: true,
    			Path:              "/apis/goodapig/v1/namespaces/goodns/goodrscs",
    			Verb:              "goodverb",
    			APIPrefix:         "apis",
    			APIGroup:          "goodapig",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    		template     *resource.ResourceClaimTemplate
    		wantFailures field.ErrorList
    	}{
    		"good-claim": {
    			template: testClaimTemplate(goodName, goodNS, goodClaimSpec),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			template:     testClaimTemplate("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation_podschedulingcontext_test.go

    				schedulingCtx := testPodSchedulingContexts(goodName, goodNS, goodPodSchedulingSpec)
    				schedulingCtx.Labels = map[string]string{
    					"hello-world": badValue,
    				}
    				return schedulingCtx
    			}(),
    		},
    		"good-annotations": {
    			schedulingCtx: func() *resource.PodSchedulingContext {
    				schedulingCtx := testPodSchedulingContexts(goodName, goodNS, goodPodSchedulingSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation_resourceclaim_test.go

    			}(),
    		},
    		"good-parameters": {
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    				claim.Spec.ParametersRef = &resource.ResourceClaimParametersReference{
    					Kind: "foo",
    					Name: "bar",
    				}
    				return claim
    			}(),
    		},
    		"good-parameters-apigroup": {
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. platforms/jvm/war/src/integTest/groovy/org/gradle/api/tasks/bundling/WarTaskIntegrationTest.groovy

            createDir('bad') {
                file('web.xml')
            }
            file('good.xml')
    
            file('bad/web.xml').text = 'bad'
            file('good.xml').text = 'good'
    
            buildFile << '''
            task war(type: War) {
                webInf {
                    from 'bad'
                }
                webXml = file('good.xml')
                destinationDirectory = buildDir
                archiveFileName = 'test.war'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. plugin/pkg/admission/imagepolicy/admission_test.go

    			wantFailOpen: true,
    		},
    		{
    			test:         "DefaultAllow = true, backend unreachable, good image",
    			pod:          goodPod("good"),
    			defaultAllow: true,
    			wantAllowed:  true,
    			wantFailOpen: true,
    		},
    		{
    			test:         "DefaultAllow = false, backend unreachable, good image",
    			pod:          goodPod("good"),
    			defaultAllow: false,
    			wantAllowed:  false,
    			wantErr:      true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  7. src/crypto/tls/conn_test.go

    		padding255Bad[i] = 255
    		padding255Good[i] = 255
    	}
    	for i, test := range paddingTests {
    		paddingLen, good := extractPadding(test.in)
    		expectedGood := byte(255)
    		if !test.good {
    			expectedGood = 0
    		}
    		if good != expectedGood {
    			t.Errorf("#%d: wrong validity, want:%d got:%d", i, expectedGood, good)
    		}
    		if good == 255 && len(test.in)-paddingLen != test.expectedLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen_test.cc

      ExpectFail("::");
      ExpectFail("0");
      ExpectFail("a.b");
      ExpectFail("a:b");
      ExpectFail(":foo::bar");
      ExpectFail("good::.bad");
      ExpectFail("good:::bad");
      ExpectFail("good::bad::");
      ExpectFail("good::::bad");
      ExpectFail("::::bad");
      ExpectFail("good:: bad");
      ExpectFail("good::0bad");
    }
    
    static void CompareWithGoldenFile(
        const string& tensorflow_relative_golden_file_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/regexp/all_test.go

    		t.Error("compiling `", expr, "`; wrong error: ", err.Error(), "; want ", error)
    	}
    	return re
    }
    
    func TestGoodCompile(t *testing.T) {
    	for i := 0; i < len(goodRe); i++ {
    		compileTest(t, goodRe[i], "")
    	}
    }
    
    func TestBadCompile(t *testing.T) {
    	for i := 0; i < len(badRe); i++ {
    		compileTest(t, badRe[i].re, badRe[i].err)
    	}
    }
    
    func matchTest(t *testing.T, test *FindTest) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. pkg/apis/resource/validation/validation_resourceclass_test.go

    	badAPIGroup := "example.com/v1"
    	goodAPIGroup := "example.com"
    
    	scenarios := map[string]struct {
    		class        *resource.ResourceClass
    		wantFailures field.ErrorList
    	}{
    		"good-class": {
    			class: testClass(goodName, goodName),
    		},
    		"good-long-driver-name": {
    			class: testClass(goodName, "acme.example.com"),
    		},
    		"missing-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top