2021-12-25 02:54:18 -05:00
|
|
|
package gokwallet
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/google/uuid"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Strings.
|
|
|
|
const (
|
2021-12-28 02:50:54 -05:00
|
|
|
appIdTest string = "GoKwallet_Test"
|
|
|
|
appIdTestAlt string = "GoKwallet_Test_Alternate"
|
2021-12-25 02:54:18 -05:00
|
|
|
)
|
|
|
|
|
2021-12-28 02:50:54 -05:00
|
|
|
// Identifiers/names/keys.
|
2021-12-25 02:54:18 -05:00
|
|
|
var (
|
2021-12-28 02:50:54 -05:00
|
|
|
walletTest uuid.UUID = uuid.New()
|
|
|
|
folderTest uuid.UUID = uuid.New()
|
|
|
|
blobTest uuid.UUID = uuid.New()
|
|
|
|
mapTest uuid.UUID = uuid.New()
|
|
|
|
passwordTest uuid.UUID = uuid.New()
|
|
|
|
passwordTestRename uuid.UUID = uuid.New()
|
|
|
|
unknownItemTest uuid.UUID = uuid.New()
|
|
|
|
)
|
|
|
|
|
|
|
|
// Values.
|
|
|
|
var (
|
|
|
|
testBytes []byte = []byte(uuid.New().String())
|
|
|
|
testBytesReplace []byte = []byte(uuid.New().String())
|
|
|
|
testPassword string = uuid.New().String()
|
|
|
|
testPasswordReplace string = uuid.New().String()
|
|
|
|
testMap map[string]string = map[string]string{
|
|
|
|
uuid.New().String(): uuid.New().String(),
|
|
|
|
uuid.New().String(): uuid.New().String(),
|
|
|
|
uuid.New().String(): uuid.New().String(),
|
|
|
|
}
|
|
|
|
testMapReplace map[string]string = map[string]string{
|
|
|
|
uuid.New().String(): uuid.New().String(),
|
|
|
|
uuid.New().String(): uuid.New().String(),
|
|
|
|
uuid.New().String(): uuid.New().String(),
|
|
|
|
}
|
2021-12-25 02:54:18 -05:00
|
|
|
)
|