Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for actualIds (0.19 sec)

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

    		t.Errorf("A unexpected error has been encountered (error: %v)", err)
    	}
    
    	actualIDs, err := ExtractIDsFromSAN(san)
    	if err != nil {
    		t.Errorf("A unexpected error has been encountered (error: %v)", err)
    	}
    
    	if !reflect.DeepEqual(actualIDs, ids) {
    		t.Errorf("Unmatched identities: before encoding: %v, after decoding %v", ids, actualIDs)
    	}
    
    	if !san.Critical {
    		t.Errorf("SAN field is not critical.")
    	}
    }
    
    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

                conflict = handler.registerCandidate(
                    candidate(capability, cs)
                )
            }
    
            then:
            def actualIds = []
            conflict.withParticipatingModules {
                actualIds << it
            }
    
            actualIds == expectedIds
        }
    
        CapabilitiesConflictHandler.Candidate candidate(CapabilityInternal cap, ComponentState co) {
    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

         */
        private static Optional<Integer> findFirstCompleteMatch(List<String> expectedLines, List<String> actualLines) {
            for (int actualIdx = 0; actualIdx < actualLines.size(); actualIdx++) {
                if (isMatchingIndex(expectedLines, actualLines, actualIdx)) {
                    return Optional.of(actualIdx);
                }
            }
            return Optional.empty();
        }
    
        /**
    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/kubelet/pod/pod_manager_test.go

    	// Tests that all regular pods are recorded correctly.
    	actualPods := podManager.GetPods()
    	if len(actualPods) != len(expectedPods) {
    		t.Errorf("expected %d pods, got %d pods; expected pods %#v, got pods %#v", len(expectedPods), len(actualPods),
    			expectedPods, actualPods)
    	}
    	for _, expected := range expectedPods {
    		found := false
    		for _, actual := range actualPods {
    			if actual.UID == expected.UID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:27 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. src/net/smtp/smtp_test.go

    		t.Fatalf("Bad data response: %s", err)
    	}
    
    	if err := c.Quit(); err != nil {
    		t.Fatalf("QUIT failed: %s", err)
    	}
    
    	bcmdbuf.Flush()
    	actualcmds := cmdbuf.String()
    	if client != actualcmds {
    		t.Fatalf("Got:\n%s\nExpected:\n%s", actualcmds, client)
    	}
    }
    
    var basicServer = `250 mx.google.com at your service
    502 Unrecognized command.
    250-mx.google.com at your service
    250-SIZE 35651584
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/PotentialMatch.java

            for (int actualIdx = contextStartActualIdx; actualIdx <= contextEndActualIdx; actualIdx++) {
                int expectedIdx = actualIdx - matchBeginsActualIdx;
    
                String prefix = buildPrefix(expectedIdx, actualIdx, padding);
                context.append(prefix)
                        .append(actualLines.get(actualIdx))
                        .append('\n');
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. pkg/controller/namespace/deletion/status_condition_utils_test.go

    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			updateConditions(test.startingStatus, test.newConditions)
    
    			actuals := test.startingStatus.Conditions
    			if len(actuals) != len(test.expecteds) {
    				t.Fatal(actuals)
    			}
    			for i := range actuals {
    				actual := actuals[i]
    				expected := test.expecteds[i]
    				expected.LastTransitionTime = actual.LastTransitionTime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 06 13:58:41 UTC 2019
    - 7.7K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/api.go

    }
    
    type InboundConnection struct {
    	Src         string `json:"src"`
    	OriginalDst string `json:"originalDst"`
    	ActualDst   string `json:"actualDst"`
    }
    
    type OutboundConnection struct {
    	Src         string `json:"src"`
    	OriginalDst string `json:"originalDst"`
    	ActualDst   string `json:"actualDst"`
    }
    
    type WorkloadConnection struct {
    	Src         string `json:"src"`
    	Dst         string `json:"dst"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/AbstractRepositoryMetadataSource.java

            List<String> errors = new ArrayList<>();
            checkEquals("group", expectedId.getGroup(), actualId.getGroup(), errors);
            checkEquals("module name", expectedId.getModule(), actualId.getName(), errors);
            checkEquals("version", expectedId.getVersion(), actualId.getVersion(), errors);
            if (errors.size() > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    				fmt.Fprintf(w, "%v\tOutbound\t%v\t%v\t%v\n", name, lookupIP(c.Src), lookupIP(c.ActualDst), lookupIP(c.OriginalDst))
    			}
    		}
    	}
    	return w.Flush()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top