tracker/server/store/memory/string_store_test.go

21 lines
466 B
Go
Raw Normal View History

2016-03-03 09:39:19 +01:00
// Copyright 2016 The Chihaya Authors. All rights reserved.
// Use of this source code is governed by the BSD 2-Clause license,
// which can be found in the LICENSE file.
package memory
import (
"testing"
"github.com/chihaya/chihaya/server/store"
2016-03-03 09:39:19 +01:00
)
var (
driver = &stringStoreDriver{}
stringStoreTester = store.PrepareStringStoreTester(driver)
2016-03-03 09:39:19 +01:00
)
func TestStringStore(t *testing.T) {
stringStoreTester.TestStringStore(t, &store.DriverConfig{})
2016-03-03 09:39:19 +01:00
}