Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for expectedIds (0.48 sec)

  1. security/pkg/pki/util/san_test.go

    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	testCases := map[string]struct {
    		exts           []pkix.Extension
    		expectedIDs    []string
    		expectedErrMsg string
    	}{
    		"Empty extension list": {
    			exts:           []pkix.Extension{},
    			expectedIDs:    nil,
    			expectedErrMsg: "the SAN extension does not exist",
    		},
    		"Extensions without SAN": {
    			exts: []pkix.Extension{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandlerTest.groovy

                expectedIds << cs.id.module
                conflict = handler.registerCandidate(
                    candidate(capability, cs)
                )
            }
    
            then:
            def actualIds = []
            conflict.withParticipatingModules {
                actualIds << it
            }
    
            actualIds == expectedIds
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

            for (int expectedIdx = 0; expectedIdx < expectedLines.size(); expectedIdx++) {
                int actualIdx = actualMatchStartIdx + expectedIdx;
                if (actualIdx >= actualLines.size() || !Objects.equals(expectedLines.get(expectedIdx), actualLines.get(actualIdx))) {
                    return false;
                }
            }
            return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. pkg/registry/discovery/endpointslice/strategy_test.go

    			if !apiequality.Semantic.DeepEqual(tc.newEPS, tc.expectedEPS) {
    				t.Errorf("Expected %+v\nGot: %+v", tc.expectedEPS, tc.newEPS)
    			}
    		})
    	}
    }
    
    func Test_dropTopologyOnV1(t *testing.T) {
    	testcases := []struct {
    		name        string
    		v1Request   bool
    		newEPS      *discovery.EndpointSlice
    		originalEPS *discovery.EndpointSlice
    		expectedEPS *discovery.EndpointSlice
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/PotentialMatch.java

            List<Boolean> result = new ArrayList<>(expectedLines.size());
            for (int expectedIdx = 0; expectedIdx < expectedLines.size(); expectedIdx++) {
                int actualIdx = matchBeginsActualIdx + expectedIdx;
                String expected = expectedLines.get(expectedIdx);
                String actual = actualLines.get(actualIdx);
                result.add(Objects.equals(expected, actual));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/extension/wasmplugin_test.go

    	})
    	testCases := []struct {
    		name        string
    		wasmPlugins []*model.WasmPluginWrapper
    		names       []string
    		expectedECs []*core.TypedExtensionConfig
    	}{
    		{
    			name:        "empty",
    			wasmPlugins: []*model.WasmPluginWrapper{},
    			names:       []string{someAuthNFilter.Name},
    			expectedECs: []*core.TypedExtensionConfig{},
    		},
    		{
    			name: "authn",
    			wasmPlugins: []*model.WasmPluginWrapper{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. cmd/object-api-putobject_test.go

    			expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(nilBytes)},
    		},
    		25: {
    			bucketName: bucket, objName: object, inputData: fiveMBBytes, inputMeta: invalidMD5Header, inputDataSize: int64(len(fiveMBBytes)), expectedMd5: getMD5Hash(fiveMBBytes),
    			expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(fiveMBBytes)},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. src/cmd/internal/buildid/buildid_test.go

    		}
    		defer os.Remove(f)
    		id, err := ReadFile(f)
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(testdata/%s) = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    		old := readSize
    		readSize = 2048
    		id, err = ReadFile(f)
    		readSize = old
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(%s) [readSize=2k] = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    
    		data, err := os.ReadFile(f)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. pilot/pkg/xds/pushqueue_test.go

    		}
    		expectedEds := sets.New(
    			model.ConfigKey{
    				Kind:      kind.ServiceEntry,
    				Name:      "foo",
    				Namespace: "",
    			},
    			model.ConfigKey{
    				Kind:      kind.ServiceEntry,
    				Name:      "bar",
    				Namespace: "ns1",
    			},
    		)
    		if !reflect.DeepEqual(model.ConfigsOfKind(info.ConfigsUpdated, kind.ServiceEntry), expectedEds) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.json

      },
      "status": {
        "observedGeneration": 1,
        "disruptedPods": {
          "disruptedPodsKey": null
        },
        "disruptionsAllowed": 3,
        "currentHealthy": 4,
        "desiredHealthy": 5,
        "expectedPods": 6,
        "conditions": [
          {
            "type": "typeValue",
            "status": "statusValue",
            "observedGeneration": 3,
            "lastTransitionTime": "2004-01-01T01:01:01Z",
            "reason": "reasonValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top