- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for expectedCert (0.28 sec)
-
cmd/net_test.go
switch { case testCase.expectedErr == nil: if err != nil { t.Errorf("error: expected = <nil>, got = %v", err) } case err == nil: t.Errorf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Errorf("error: expected = %v, got = %v", testCase.expectedErr, err) } }) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
var expiration Expiration err := xml.Unmarshal([]byte(tc.inputXML), &expiration) if err != tc.expectedErr { t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err) } }) } validationTestCases := []struct { inputXML string expectedErr error }{ { // Expiration with a valid ISO 8601 date inputXML: `<Expiration> <Date>2019-04-20T00:00:00Z</Date>
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedNodeFixture.java
return outputs; } /** * Given some expectedText, assert that the output of this fixture contains it. * * @param expectedText the expected lines of expectedText * @return this fixture */ public GroupedNodeFixture 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.1K bytes - Viewed (0) -
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/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) -
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) -
cmd/server-main_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/configfile_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 22 13:43:42 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/arguments_test.go
expectedKey string expectedVal string expectedErr bool }{ { name: "arg cannot be empty", arg: "", expectedErr: true, }, { name: "arg must contain -- and =", arg: "a", expectedErr: true, }, { name: "arg must contain -- and =", arg: "a-z", expectedErr: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 8.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_options_test.go
topology *topology.CPUTopology topoMgrPolicy string expectedErr bool }{ { description: "Align by socket not enabled", policyOption: map[string]string{FullPCPUsOnlyOption: "true"}, topology: topoDualSocketMultiNumaPerSocketHT, topoMgrPolicy: topologymanager.PolicySingleNumaNode, expectedErr: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.9K bytes - Viewed (0)