MCPcopy
hub / github.com/rclone/rclone / TestNewNameEncryptionModeString

Function TestNewNameEncryptionModeString

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

Source from the content-addressed store, hash-verified

40}
41
42func TestNewNameEncryptionModeString(t *testing.T) {
43 assert.Equal(t, NameEncryptionOff.String(), "off")
44 assert.Equal(t, NameEncryptionStandard.String(), "standard")
45 assert.Equal(t, NameEncryptionObfuscated.String(), "obfuscate")
46 assert.Equal(t, NameEncryptionMode(3).String(), "Unknown mode #3")
47}
48
49type EncodingTestCase struct {
50 in string

Callers

nothing calls this directly

Calls 3

NameEncryptionModeTypeAlias · 0.85
StringMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…