Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 331 for gomod (1.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    				return template
    			}(),
    		},
    		"good-parameters": {
    			template: func() *resource.ResourceClaimTemplate {
    				template := testClaimTemplate(goodName, goodNS, goodClaimSpec)
    				template.Spec.Spec.ParametersRef = &resource.ResourceClaimParametersReference{
    					Kind: "foo",
    					Name: "bar",
    				}
    				return template
    			}(),
    		},
    		"good-parameters-apigroup": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go

    			t.Errorf("expected false for %q", val)
    		}
    	}
    }
    
    func TestIsConfigMapKey(t *testing.T) {
    	successCases := []string{
    		"a",
    		"good",
    		"good-good",
    		"still.good",
    		"this.is.also.good",
    		".so.is.this",
    		"THIS_IS_GOOD",
    		"so_is_this_17",
    	}
    
    	for i := range successCases {
    		if errs := IsConfigMapKey(successCases[i]); len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 04:51:54 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        val rootCa =
          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
    
        // Add a good intermediate CA, and have that issue a good certificate to localhost. Prepare an
        // SSL context for an HTTP client under attack. It includes the trusted CA and a pinned
        // certificate.
        val goodIntermediateCa =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable();
      }
    
      public static class GoodSerializableFactory {
        public static Object good(Runnable r) {
          return r;
        }
    
        public static Object good(AnInterface i) {
          return i;
        }
      }
    
      public void testSerializableOnReturnValues_bad() throws Exception {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  10. platforms/jvm/ear/src/integTest/groovy/org/gradle/plugins/ear/EarPluginIntegrationTest.groovy

            file('bad-lib/file.txt').createFile().write('bad')
            file('good-lib/file.txt').createFile().write('good')
    
            buildFile << '''
    apply plugin: 'ear'
    ear {
       duplicatesStrategy = 'exclude'
       into('lib') {
           from 'bad-lib'
       }
       lib {
           from 'good-lib'
       }
    }'''
    
            when:
            run 'assemble';
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top