MCPcopy Index your code
hub / github.com/rclone/rclone / TestStandardEncryptFileNameBase32

Function TestStandardEncryptFileNameBase32

backend/crypt/cipher_test.go:356–370  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

354}
355
356func TestStandardEncryptFileNameBase32(t *testing.T) {
357 testStandardEncryptFileName(t, "base32", []EncodingTestCase{
358 {"1", "p0e52nreeaj0a5ea7s64m4j72s"},
359 {"1/12", "p0e52nreeaj0a5ea7s64m4j72s/l42g6771hnv3an9cgc8cr2n1ng"},
360 {"1/12/123", "p0e52nreeaj0a5ea7s64m4j72s/l42g6771hnv3an9cgc8cr2n1ng/qgm4avr35m5loi1th53ato71v0"},
361 {"1-v2001-02-03-040506-123", "p0e52nreeaj0a5ea7s64m4j72s-v2001-02-03-040506-123"},
362 {"1/12-v2001-02-03-040506-123", "p0e52nreeaj0a5ea7s64m4j72s/l42g6771hnv3an9cgc8cr2n1ng-v2001-02-03-040506-123"},
363 }, []EncodingTestCase{
364 {"1", "p0e52nreeaj0a5ea7s64m4j72s"},
365 {"1/12", "1/l42g6771hnv3an9cgc8cr2n1ng"},
366 {"1/12/123", "1/12/qgm4avr35m5loi1th53ato71v0"},
367 {"1-v2001-02-03-040506-123", "p0e52nreeaj0a5ea7s64m4j72s-v2001-02-03-040506-123"},
368 {"1/12-v2001-02-03-040506-123", "1/l42g6771hnv3an9cgc8cr2n1ng-v2001-02-03-040506-123"},
369 })
370}
371
372func TestStandardEncryptFileNameBase64(t *testing.T) {
373 testStandardEncryptFileName(t, "base64", []EncodingTestCase{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…