- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 188 for testcalls (0.16 sec)
-
cmd/signature-v4-parser_test.go
// "s3", // "aws4_request", // },SlashSeparator) func TestParseCredentialHeader(t *testing.T) { sampleTimeStr := UTCNow().Format(yyyymmdd) testCases := []struct { inputCredentialStr string expectedCredentials credentialHeader expectedErrCode APIErrorCode }{ // Test Case - 1. // Test case with no '=' in te inputCredentialStr. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 27.4K bytes - Viewed (0) -
cmd/endpoint_test.go
"strings" "testing" ) func TestNewEndpoint(t *testing.T) { u2, _ := url.Parse("https://example.org/path") u4, _ := url.Parse("http://192.168.253.200/path") rootSlashFoo, _ := filepath.Abs("/foo") testCases := []struct { arg string expectedEndpoint Endpoint expectedType EndpointType expectedErr error }{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jan 13 07:53:03 UTC 2024 - 18.9K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
"github.com/minio/minio/internal/arn" "github.com/minio/minio/internal/config" jwtm "github.com/minio/minio/internal/jwt" xnet "github.com/minio/pkg/v3/net" ) func TestUpdateClaimsExpiry(t *testing.T) { testCases := []struct { exp interface{} dsecs string expectedFailure bool }{ {"", "", true}, {"-1", "0", true}, {"-1", "900", true}, {"1574812326", "900", false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/xl-storage_test.go
} for _, testCase := range testCases { gotErr := checkPathLength(testCase.path) t.Run("", func(t *testing.T) { if gotErr != testCase.expectedErr { t.Errorf("Expected %s, got %s", testCase.expectedErr, gotErr) } }) } } // Tests validate volume name. func TestIsValidVolname(t *testing.T) { testCases := []struct { volName string shouldPass bool }{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
cmd/api-utils_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "testing" ) func TestS3EncodeName(t *testing.T) { testCases := []struct { inputText, encodingType, expectedOutput string }{ {"a b", "", "a b"}, {"a b", "url", "a+b"}, {"p- ", "url", "p-+"}, {"p-%", "url", "p-%25"}, {"p/", "url", "p/"}, {"p/", "url", "p/"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.5K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
package cmd import ( "bytes" "context" "fmt" "testing" ) // Test if various paths work as expected when converted to UNC form func TestUNCPaths(t *testing.T) { testCases := []struct { objName string pass bool }{ {"/abcdef", true}, {"/a/b/c/d/e/f/g", true}, {string(bytes.Repeat([]byte("界"), 85)), true}, // Each path component must be <= 255 bytes long.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
cmd/postpolicyform_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 8.9K bytes - Viewed (0) -
cmd/erasure-object_test.go
} } toObjectNames := func(testCases []testCaseType) []ObjectToDelete { names := make([]ObjectToDelete, len(testCases)) for i := range testCases { names[i] = ObjectToDelete{ ObjectV: ObjectV{ ObjectName: testCases[i].object, }, } } return names } objectNames := toObjectNames(testCases)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 36.8K bytes - Viewed (0) -
cmd/object-api-options_test.go
func TestGetAndValidateAttributesOpts(t *testing.T) { globalBucketVersioningSys = &BucketVersioningSys{} bucket := minioMetaBucket ctx := context.Background() testCases := []struct { name string headers http.Header wantObjectAttrs map[string]struct{} }{ { name: "empty header", headers: http.Header{},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDistinctValues(Network.class, IMMUTABLE_NETWORK_A, IMMUTABLE_NETWORK_B); setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0)