(t *testing.T)
| 370 | } |
| 371 | |
| 372 | func TestStandardEncryptFileNameBase64(t *testing.T) { |
| 373 | testStandardEncryptFileName(t, "base64", []EncodingTestCase{ |
| 374 | {"1", "yBxRX25ypgUVyj8MSxJnFw"}, |
| 375 | {"1/12", "yBxRX25ypgUVyj8MSxJnFw/qQUDHOGN_jVdLIMQzYrhvA"}, |
| 376 | {"1/12/123", "yBxRX25ypgUVyj8MSxJnFw/qQUDHOGN_jVdLIMQzYrhvA/1CxFf2Mti1xIPYlGruDh-A"}, |
| 377 | {"1-v2001-02-03-040506-123", "yBxRX25ypgUVyj8MSxJnFw-v2001-02-03-040506-123"}, |
| 378 | {"1/12-v2001-02-03-040506-123", "yBxRX25ypgUVyj8MSxJnFw/qQUDHOGN_jVdLIMQzYrhvA-v2001-02-03-040506-123"}, |
| 379 | }, []EncodingTestCase{ |
| 380 | {"1", "yBxRX25ypgUVyj8MSxJnFw"}, |
| 381 | {"1/12", "1/qQUDHOGN_jVdLIMQzYrhvA"}, |
| 382 | {"1/12/123", "1/12/1CxFf2Mti1xIPYlGruDh-A"}, |
| 383 | {"1-v2001-02-03-040506-123", "yBxRX25ypgUVyj8MSxJnFw-v2001-02-03-040506-123"}, |
| 384 | {"1/12-v2001-02-03-040506-123", "1/qQUDHOGN_jVdLIMQzYrhvA-v2001-02-03-040506-123"}, |
| 385 | }) |
| 386 | } |
| 387 | |
| 388 | func TestStandardEncryptFileNameBase32768(t *testing.T) { |
| 389 | testStandardEncryptFileName(t, "base32768", []EncodingTestCase{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…