- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for expectedIDs (0.23 sec)
-
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) -
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) -
cmd/kubeadm/app/util/users/users_linux_test.go
} if err != nil { return } if len(tc.expectedIDs) != len(got) { t.Fatalf("expected id %d, got %d", len(tc.expectedIDs), len(got)) } for i := range got { if !reflect.DeepEqual(tc.expectedIDs[i], got[i]) { t.Fatalf("expected id at position %d: %+v, got: %+v", i, tc.expectedIDs[i], got[i]) } } }) } } func TestAddEntries(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 16.3K bytes - Viewed (0) -
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) -
pkg/controller/garbagecollector/dump_test.go
compareGraphs(test.expectNodes, actualNodes, test.expectEdges, actualEdges, t) }) } } func TestToDOTGraphObj(t *testing.T) { tests := []struct { name string uidToNode map[types.UID]*node uids []types.UID expectNodes []*dotVertex expectEdges []dotEdge }{ { name: "simple", uidToNode: map[types.UID]*node{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 11.2K bytes - Viewed (0) -
pkg/controller/namespace/deletion/status_condition_utils_test.go
newConditions []v1.NamespaceCondition startingStatus *v1.NamespaceStatus expecteds []v1.NamespaceCondition }{ { name: "leave unknown", newConditions: []v1.NamespaceCondition{}, startingStatus: &v1.NamespaceStatus{ Conditions: []v1.NamespaceCondition{ {Type: "unknown", Status: v1.ConditionTrue}, }, }, expecteds: []v1.NamespaceCondition{ {Type: "unknown", Status: v1.ConditionTrue},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 06 13:58:41 UTC 2019 - 7.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/argposition_test.go
for caseIndex, expectedPos := range expectedPositions { actualPosition := v.fset.PositionFor(ident.Pos(), true) errorOccured := false if expectedPos.Line != actualPosition.Line { fmt.Fprintf(&errorMessage, "wrong line number for ident %s: expected: %d got: %d\n", ident.Name, expectedPos.Line, actualPosition.Line) errorOccured = true } if expectedPos.Column != actualPosition.Column {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 3.1K bytes - Viewed (0) -
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) -
pkg/registry/apps/statefulset/strategy_test.go
ss *apps.StatefulSet oldSS *apps.StatefulSet expectedSS *apps.StatefulSet }{ { name: "set minReadySeconds, no update", ss: generateStatefulSetWithMinReadySeconds(10), oldSS: generateStatefulSetWithMinReadySeconds(20), expectedSS: generateStatefulSetWithMinReadySeconds(10), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.1K bytes - Viewed (0) -
pkg/volume/git_repo/git_repo_test.go
name string vol *v1.Volume expecteds []expectedCommand isExpectedFailure bool }, mounter volume.Mounter) []error { expecteds := scenario.expecteds allErrs := []error{} // Construct combined outputs from expected commands var fakeOutputs []fakeexec.FakeAction var fcmd fakeexec.FakeCmd for _, expected := range expecteds { expected := expected if expected.cmd[1] == "clone" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 08:26:26 UTC 2024 - 12K bytes - Viewed (0)