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

Function TestStandardEncryptFileNameBase32768

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

Source from the content-addressed store, hash-verified

386}
387
388func TestStandardEncryptFileNameBase32768(t *testing.T) {
389 testStandardEncryptFileName(t, "base32768", []EncodingTestCase{
390 {"1", "詮㪗鐮僀伎作㻖㢧⪟"},
391 {"1/12", "詮㪗鐮僀伎作㻖㢧⪟/竢朧䉱虃光塬䟛⣡蓟"},
392 {"1/12/123", "詮㪗鐮僀伎作㻖㢧⪟/竢朧䉱虃光塬䟛⣡蓟/遶㞟鋅缕袡鲅ⵝ蝁ꌟ"},
393 {"1-v2001-02-03-040506-123", "詮㪗鐮僀伎作㻖㢧⪟-v2001-02-03-040506-123"},
394 {"1/12-v2001-02-03-040506-123", "詮㪗鐮僀伎作㻖㢧⪟/竢朧䉱虃光塬䟛⣡蓟-v2001-02-03-040506-123"},
395 }, []EncodingTestCase{
396 {"1", "詮㪗鐮僀伎作㻖㢧⪟"},
397 {"1/12", "1/竢朧䉱虃光塬䟛⣡蓟"},
398 {"1/12/123", "1/12/遶㞟鋅缕袡鲅ⵝ蝁ꌟ"},
399 {"1-v2001-02-03-040506-123", "詮㪗鐮僀伎作㻖㢧⪟-v2001-02-03-040506-123"},
400 {"1/12-v2001-02-03-040506-123", "1/竢朧䉱虃光塬䟛⣡蓟-v2001-02-03-040506-123"},
401 })
402}
403
404func TestNonStandardEncryptFileName(t *testing.T) {
405 // Off mode

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…