Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for expectedPatch (0.23 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/version/version_test.go

    		expectedMajor         uint
    		expectedMinor         uint
    		expectedPatch         uint
    		expectedPreRelease    string
    		expectedBuildMetadata string
    	}{
    		{
    			version:            "1.0.2",
    			semver:             true,
    			expectedComponents: []uint{1, 0, 2},
    			expectedMajor:      1,
    			expectedMinor:      0,
    			expectedPatch:      2,
    		},
    		{
    			version:               "1.0.2-alpha+001",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/index_test.go

    		}
    		if len(scenario.expectedMatch) != 0 && volume == nil {
    			t.Errorf("Expected match but received nil volume for scenario: %s", name)
    		}
    		if len(scenario.expectedMatch) != 0 && volume != nil && string(volume.UID) != scenario.expectedMatch {
    			t.Errorf("Expected %s but got volume %s in scenario %s", scenario.expectedMatch, volume.UID, name)
    		}
    		if len(scenario.expectedMatch) == 0 && volume != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  3. pkg/fieldpath/fieldpath_test.go

    		fieldPath         string
    		expectedPath      string
    		expectedSubscript string
    		expectedOK        bool
    	}{
    		{
    			fieldPath:         "metadata.annotations['key']",
    			expectedPath:      "metadata.annotations",
    			expectedSubscript: "key",
    			expectedOK:        true,
    		},
    		{
    			fieldPath:         "metadata.annotations['a[b']c']",
    			expectedPath:      "metadata.annotations",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 06:26:55 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. pkg/volume/util/util_test.go

    			expectedPath: `c:\var\lib\kubelet\pods\146f8428-83e7-11e7-8dd4-000d3a31dac4\volumes\kubernetes.io~disk`,
    		},
    		{
    			path:         `/`,
    			expectedPath: `c:\`,
    		},
    		{
    			path:         ``,
    			expectedPath: ``,
    		},
    	}
    
    	for _, test := range tests {
    		result := GetWindowsPath(test.path)
    		if result != test.expectedPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/ExternalResourceNameTest.groovy

            def name = new ExternalResourceName(new URI(uri))
    
            name.uri.toASCIIString() == uri
            name.path == expectedPath
            name.uri.path == expectedPath
            name.root.uri.toASCIIString() == expectedRoot
    
            where:
            uri                           | expectedRoot        | expectedPath
            "http://host:8080/path"       | "http://host:8080/" | "/path"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 17:19:47 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    }
    
    func TestPathsForCertAndKey(t *testing.T) {
    	crtPath, keyPath := PathsForCertAndKey("/foo", "bar")
    	expectedPath := filepath.FromSlash("/foo/bar.crt")
    	if crtPath != expectedPath {
    		t.Errorf("unexpected certificate path: %s", crtPath)
    	}
    	expectedPath = filepath.FromSlash("/foo/bar.key")
    	if keyPath != expectedPath {
    		t.Errorf("unexpected key path: %s", keyPath)
    	}
    }
    
    func TestPathForCert(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            then:
            toolchain.languageVersion == JavaVersion.toVersion(versionToFind)
            toolchain.javaHome.toString() == systemSpecificAbsolutePath(expectedPath)
    
            where:
            versionToFind | expectedPath
            9             | "/path/9"
            12            | "/path/12"
        }
    
        def "uses most recent version of multiple matches for version #versionToFind"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    							t.Logf("Considering FlowSchema %s, expectedMatch=%v, isResource=%v: Handle(%#+v) => note(fs=%s, pl=%s, isExempt=%v)", fs.Name, expectedMatch, isResource, rdu, matchFS.Name, matchPL.Name, matchIsExempt)
    						}
    						if a := matchFS.Name == fs.Name; expectedMatch != a {
    							t.Errorf("Fail at %s/%s: rd=%#+v, expectedMatch=%v, actualMatch=%v, matchFSName=%q, catchAlls=%#+v", trialName, fs.Name, rdu, expectedMatch, a, matchFS.Name, catchAlls)
    						}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go

    			},
    		},
    		{
    			name:         "simple path, get",
    			method:       "GET",
    			requestPath:  "/path/to/test",
    			expectedPath: "/path/to/test",
    		},
    		{
    			name:          "request params",
    			method:        "POST",
    			requestPath:   "/some/path/",
    			expectedPath:  "/some/path/",
    			requestParams: map[string]string{"param1": "value/1", "param2": "value%2"},
    			requestBody:   "test request body",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

            then:
            toolchain.languageVersion == versionToFind
            toolchain.getInstallationPath().toString() == systemSpecificAbsolutePath(expectedPath)
    
            where:
            versionToFind              | expectedPath
            JavaLanguageVersion.of(9)  | "/path/9"
            JavaLanguageVersion.of(12) | "/path/12"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top