Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for expectedCount (0.25 sec)

  1. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    	testCases := []struct {
    		name          string
    		sel           Selector
    		label         string
    		expectedFound bool
    		expectedValue string
    	}{
    		{
    			name:          "keyInOperatorExactMatch",
    			sel:           internalSelector{Requirement{"key", selection.In, []string{"value"}}},
    			label:         "key",
    			expectedFound: true,
    			expectedValue: "value",
    		},
    		{
    			name:          "keyInOperatorNotExactMatch",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt

                if (candidateBounds.size != expectedBounds.size) return false
                expectedBounds.zip(candidateBounds) { expectedBound, candidateBound ->
                    if (!isTheSameTypes(
                            candidateBound,
                            expectedBound,
                            isVararg = false
                        )
                    ) {
                        return false
                    }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 11:34:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			found := false
    			if podsInDSW[types.UniquePodName(pod.UID)] {
    				found = true
    			}
    
    			if found != tc.expectedFound {
    				t.Fatalf(
    					"Pod with uid %v has expectedFound value %v in pods in DSW %v",
    					pod.UID, tc.expectedFound, podsInDSW)
    			}
    		})
    	}
    }
    
    func TestFindAndAddNewPods_WithReprocessPodAndVolumeRetrievalError(t *testing.T) {
    	// create dswp
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy

        def assertMatchingDescription(List<AttributeMatcher.MatchingDescription> descriptions, String expectedRequestedValue, String expectedFound) {
            descriptions.find { it.requestedAttribute.name == 'color' }.with(true) {
                assert requestedValue.get() == expectedRequestedValue
                assert found.get() == expectedFound
            }
        }
    
        def "returns no match when no versions match without metadata"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    			provisionedPVCs: []*v1.PersistentVolumeClaim{},
    			expectedBound:   true,
    		},
    		"binding-bound": {
    			bindings:        []*BindingInfo{makeBinding(unboundPVC, pvNode1aBound)},
    			provisionedPVCs: []*v1.PersistentVolumeClaim{},
    			initPVs:         []*v1.PersistentVolume{pvNode1aBound},
    			initPVCs:        []*v1.PersistentVolumeClaim{boundPVCNode1a},
    			expectedBound:   true,
    		},
    		"binding-prebound": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top