(t *testing.T)
| 386 | } |
| 387 | |
| 388 | func 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 | |
| 404 | func TestNonStandardEncryptFileName(t *testing.T) { |
| 405 | // Off mode |
nothing calls this directly
no test coverage detected
searching dependent graphs…