- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 143 for expectedCert (0.36 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedWorkOutputFixture.java
} /** * Given some expectedText, assert that the output of this fixture contains it. * * @param expectedText the expected lines of expectedText * @return this fixture */ public GroupedWorkOutputFixture assertOutputContains(String expectedText) { return assertOutputContains(ComparisonFailureFormat.LINEWISE, expectedText); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.5K bytes - Viewed (0) -
security/pkg/pki/util/verify_cert_test.go
if err != nil { if len(tc.expectedErr) == 0 { t.Errorf("%s: Unexpected error: %v", id, err) } else if !strings.Contains(err.Error(), tc.expectedErr) { t.Errorf("%s: Unexpected error: %v VS (expected) %s", id, err, tc.expectedErr) } } else if len(tc.expectedErr) != 0 { t.Errorf("%s: Expected error %s but succeeded", id, tc.expectedErr) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 16 14:56:37 UTC 2022 - 6.5K bytes - Viewed (0) -
security/pkg/k8s/configutil_test.go
if err != nil && err.Error() != tc.expectedErr { t.Errorf("actual error (%s) different from expected error (%s).", err.Error(), tc.expectedErr) } if err == nil { if tc.expectedErr != "" { t.Errorf("expecting error %s but got no error", tc.expectedErr) } else if err := checkActions(fake.Actions(), tc.expectedActions); err != nil { t.Error(err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
expectedUpdate bool expectedErr bool name string }{ { meta: meta, pools: pools, name: "Correct", expectedErr: false, expectedUpdate: false, }, { meta: meta, pools: newPools, name: "Correct-Update", expectedErr: false, expectedUpdate: true, }, {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jul 03 16:47:40 UTC 2023 - 4.8K bytes - Viewed (0) -
security/pkg/util/certutil_test.go
waitTime, err := cu.GetWaitTime(c.cert, c.now) if c.expectedErr != "" { if err == nil { t.Errorf("%s: no error is returned.", id) } if err.Error() != c.expectedErr { t.Errorf("%s: incorrect error message: %s VS %s", id, err.Error(), c.expectedErr) } } else { if err != nil { t.Errorf("%s: unexpected error: %v", id, err) } if int(waitTime.Seconds()) != c.expectedWaitTime {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 3.1K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
} // Test them. for _, testCase := range testCases { index, offset, err := fi.ObjectToPartOffset(context.Background(), testCase.offset) if err != testCase.expectedErr { t.Fatalf("%+v: expected = %s, got: %s", testCase, testCase.expectedErr, err) } if index != testCase.expectedIndex { t.Fatalf("%+v: index: expected = %d, got: %d", testCase, testCase.expectedIndex, index) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 20:57:37 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/util/taints/taints_test.go
spec: []string{"foo=abc"}, expectedErr: true, }, { name: "invalid spec format with multiple '=' separators", spec: []string{"foo=abc=xyz:NoSchedule"}, expectedErr: true, }, { name: "invalid spec format with multiple ':' separators", spec: []string{"foo=abc:xyz:NoSchedule"}, expectedErr: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 09:23:35 UTC 2022 - 22.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/websocket/protocol_test.go
TokenAuth authenticator.Token ExpectedUserName string ExpectedOK bool ExpectedErr bool ExpectedProtocolHeaders []string }{ "no header": { ProtocolHeaders: nil, ExpectedUserName: "", ExpectedOK: false, ExpectedErr: false, ExpectedProtocolHeaders: nil, }, "empty header": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 21:43:39 UTC 2023 - 8.6K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
err = xml.Unmarshal(d, &dr) //nolint:gocritic if tt.expectedErr == nil { if err != nil { t.Fatalf("error: expected = <nil>, got = %v", err) } } else if err == nil { t.Fatalf("error: expected = %v, got = <nil>", tt.expectedErr) } else if tt.expectedErr.Error() != err.Error() { t.Fatalf("error: expected = %v, got = %v", tt.expectedErr, err) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.1K bytes - Viewed (0) -
security/pkg/util/jwtutil_test.go
expectedExp: time.Time{}, expectedErr: fmt.Errorf("failed to decode the JWT claims"), }, } for id, tc := range testCases { t.Run(id, func(t *testing.T) { exp, err := GetExp(tc.jwt) if err != nil && tc.expectedErr == nil || err == nil && tc.expectedErr != nil { t.Errorf("%s: Got error \"%v\", expected error \"%v\"", id, err, tc.expectedErr)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 6K bytes - Viewed (0)