26 lines
480 B
Go
26 lines
480 B
Go
// Copyright (C) 2019 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package storelogger
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"go.uber.org/zap"
|
|
|
|
"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)
|
|
}
|