Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for expectedIds (0.25 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.yaml

        observedGeneration: 3
        reason: reasonValue
        status: statusValue
        type: typeValue
      currentHealthy: 4
      desiredHealthy: 5
      disruptedPods:
        disruptedPodsKey: null
      disruptionsAllowed: 3
      expectedPods: 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. security/pkg/server/ca/authenticate/oidc_test.go

    		t.Fatalf("failed to generate JWT: %v", err)
    	}
    
    	tests := map[string]struct {
    		token      string
    		expectErr  bool
    		expectedID string
    	}{
    		"No bearer token": {
    			expectErr: true,
    		},
    		"Valid token": {
    			token:      token,
    			expectErr:  false,
    			expectedID: spiffe.MustGenSpiffeURIForTrustDomain("baz.svc.id.goog", "bar", "foo"),
    		},
    		"Expired token": {
    			token:     expiredToken,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top