ezshare/store/memory_test.go
Torjus Håkestad fd729eef89
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Rename module
2022-01-13 18:40:15 +01:00

26 lines
486 B
Go

package store_test
import (
"testing"
"git.t-juice.club/torjus/ezshare/store"
)
func TestMemoryFileStore(t *testing.T) {
s := store.NewMemoryStore()
doFileStoreTest(s, t)
}
func TestMemoryCertificateStore(t *testing.T) {
s := store.NewMemoryStore()
doCertificateStoreTest(s, t)
}
func TestMemoryUserStore(t *testing.T) {
s := store.NewMemoryStore()
doUserStoreTests(s, t)
}
func TestMemoryBinaryStore(t *testing.T) {
s := store.NewMemoryStore()
doBinaryStoreTests(s, t)
}