ezshare/store/memory_test.go

26 lines
485 B
Go
Raw Normal View History

2021-12-03 22:51:48 +00:00
package store_test
import (
"testing"
"gitea.benny.dog/torjus/ezshare/store"
)
2021-12-05 00:00:32 +00:00
func TestMemoryFileStore(t *testing.T) {
s := store.NewMemoryStore()
2021-12-03 22:51:48 +00:00
doFileStoreTest(s, t)
}
2021-12-05 00:00:32 +00:00
func TestMemoryCertificateStore(t *testing.T) {
s := store.NewMemoryStore()
doCertificateStoreTest(s, t)
}
2021-12-05 10:08:09 +00:00
func TestMemoryUserStore(t *testing.T) {
s := store.NewMemoryStore()
doUserStoreTests(s, t)
}
2021-12-08 04:42:25 +00:00
func TestMemoryBinaryStore(t *testing.T) {
s := store.NewMemoryStore()
doBinaryStoreTests(s, t)
}