2018-09-05 17:10:35 +01:00
|
|
|
// Copyright (C) 2018 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package storelogger
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2018-10-16 12:43:44 +01:00
|
|
|
"go.uber.org/zap"
|
|
|
|
|
2018-09-05 17:10:35 +01:00
|
|
|
"storj.io/storj/storage/teststore"
|
|
|
|
"storj.io/storj/storage/testsuite"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestSuite(t *testing.T) {
|
|
|
|
store := teststore.New()
|
|
|
|
logged := New(zap.NewNop(), store)
|
|
|
|
testsuite.RunTests(t, logged)
|
|
|
|
}
|
|
|
|
|
|
|
|
func BenchmarkSuite(b *testing.B) {
|
|
|
|
store := teststore.New()
|
|
|
|
logged := New(zap.NewNop(), store)
|
|
|
|
testsuite.RunBenchmarks(b, logged)
|
|
|
|
}
|