Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldPass (0.03 sec)

  1. cmd/object-api-multipart_test.go

    		{bucketName: bucket, objName: object, uploadID: uploadID, PartID: 2, inputReaderData: "efgh", inputMd5: "1f7690ebdd9b4caf8fab49ca1757bf27", inputSHA256: "e5e088a0b66163a0a26a5e053d2a4496dc16ab6e0e3dd1adf2d16aa84a078c9d", inputDataSize: int64(len("efgh")), shouldPass: true},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    					testCase.prefix, testCase.marker, testCase.delimiter, testCase.maxKeys)
    			}
    			if err != nil && testCase.shouldPass {
    				t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			}
    			if err == nil && !testCase.shouldPass {
    				t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    		{"......", true},
    	}
    
    	for i, testCase := range testCases {
    		isValidVolname := isValidVolname(testCase.volName)
    		if testCase.shouldPass && !isValidVolname {
    			t.Errorf("Test case %d: Expected \"%s\" to be a valid bucket name", i+1, testCase.volName)
    		}
    		if !testCase.shouldPass && isValidVolname {
    			t.Errorf("Test case %d: Expected bucket name \"%s\" to be invalid", i+1, testCase.volName)
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
Back to top