2023-02-09 12:16:36 +01:00
|
|
|
package testsuite
|
|
|
|
|
|
|
|
import (
|
2023-09-13 06:03:25 +02:00
|
|
|
"context"
|
2023-02-09 12:16:36 +01:00
|
|
|
"testing"
|
|
|
|
|
|
|
|
"forge.cadoles.com/arcad/edge/pkg/storage"
|
|
|
|
)
|
|
|
|
|
2023-09-13 06:03:25 +02:00
|
|
|
func TestDocumentStore(ctx context.Context, t *testing.T, store storage.DocumentStore) {
|
2023-02-17 22:26:12 +01:00
|
|
|
t.Run("Ops", func(t *testing.T) {
|
2023-09-13 06:03:25 +02:00
|
|
|
testDocumentStoreOps(ctx, t, store)
|
2023-02-09 12:16:36 +01:00
|
|
|
})
|
|
|
|
}
|