- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,645 for case1 (0.03 sec)
-
cmd/xl-storage_test.go
expectedErr error }{ // TestXLStorage case - 1. // A valid case, volume creation is expected to succeed. { volName: "success-vol", expectedErr: nil, }, // TestXLStorage case - 2. // Case where a file exists by the name of the volume to be created. { volName: "vol-as-file", expectedErr: errVolumeExists, }, // TestXLStorage case - 3. { volName: "existing-vol",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs_test.go
} for i, tc := range cases { tval, err := parseSQLTimestamp(tc.s) if err != nil { t.Errorf("Case %d: Unexpected error: %v", i+1, err) continue } if !tval.Equal(tc.t) { t.Errorf("Case %d: Expected %v got %v", i+1, tc.t, tval) continue } tstr := FormatSQLTimestamp(tc.t) if tstr != tc.s { t.Errorf("Case %d: Expected %s got %s", i+1, tc.s, tstr) continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.2K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
wantException bool } func TestProxyStatus(t *testing.T) { cases := []execTestCase{ { // case 0, with no Isitod instance args: []string{}, noIstiod: true, expectedOutput: "Error: no running Istio pods in \"istio-system\"\n", wantException: true, }, { // case 1, with Istiod instance args: []string{},
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
Match: /prefix* `, }, } for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) { verifyExecAndK8sConfigTestCaseTestOutput(t, c) }) } } func TestGetRevisionFromPodAnnotation(t *testing.T) { cases := []struct { anno klabels.Set expected string }{ { anno: klabels.Set{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 30.8K bytes - Viewed (0) -
cmd/utils_test.go
path string bucket, object string }{ // Test case 1 normal case. { path: "/bucket/object", bucket: "bucket", object: "object", }, // Test case 2 where url only has separator. { path: SlashSeparator, bucket: "", object: "", }, // Test case 3 only bucket is present. { path: "/bucket", bucket: "bucket",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp-hpacktests/README.md
OkHttp HPACK tests ================== These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK implementation. The HPACK test cases are in a separate git submodule, so to initialize them, you must run: git submodule init git submodule update TODO ---- * Add maven goal to avoid manual call to git submodule init. * Make hpack-test-case update itself from git, and run new tests.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Dec 15 16:59:53 UTC 2014 - 578 bytes - Viewed (0) -
cmd/erasure-sets_test.go
"github.com/google/uuid" ) var testUUID = uuid.MustParse("f5c58c61-7175-4018-ab5e-a94fe9c2de4e") func BenchmarkCrcHash(b *testing.B) { cases := []struct { key int }{ {16}, {64}, {128}, {256}, {512}, {1024}, } for _, testCase := range cases { testCase := testCase key := randString(testCase.key) b.Run("", func(b *testing.B) { b.SetBytes(1024) b.ReportAllocs()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 12 07:21:56 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
shouldPass bool }{ // Test cases with invalid bucket names ( Test number 1-4 ). {".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false}, {"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false}, {"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false}, // Test cases with valid but non-existing bucket names (Test number 5-6).
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
}, } metricCmd := Cmd(cli.NewFakeContext(nil)) for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) { testutil.VerifyOutput(t, metricCmd, c) }) } } func TestMetrics(t *testing.T) { cases := []testutil.TestCase{ { // case 0 Args: strings.Split("details", " "), ExpectedRegexp: regexp.MustCompile("could not build metrics for workload"),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 01:35:47 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java
throws UnresolvableModelException { switch (dependency.getManagementKey()) { case BASE1_ID: return new StringModelSource(BASE1); case BASE2_ID: return new StringModelSource(BASE2); } return null; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0)