(t *testing.T)
| 354 | } |
| 355 | |
| 356 | func 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 | |
| 372 | func TestStandardEncryptFileNameBase64(t *testing.T) { |
| 373 | testStandardEncryptFileName(t, "base64", []EncodingTestCase{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…