17 lines
309 B
Go
17 lines
309 B
Go
|
package testsuite
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"forge.cadoles.com/arcad/edge/pkg/storage/share"
|
||
|
)
|
||
|
|
||
|
type NewTestStoreFunc func(testname string) (share.Store, error)
|
||
|
|
||
|
func TestStore(t *testing.T, newStore NewTestStoreFunc) {
|
||
|
t.Run("Cases", func(t *testing.T) {
|
||
|
t.Parallel()
|
||
|
runRepositoryTests(t, newStore)
|
||
|
})
|
||
|
}
|