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"
|
2016-05-01 23:56:07 +02:00
|
|
|
|
|
|
|
"github.com/chihaya/chihaya/server/store"
|
2016-03-03 09:39:19 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2016-06-19 18:49:43 +02:00
|
|
|
driver = &stringStoreDriver{}
|
|
|
|
stringStoreTester = store.PrepareStringStoreTester(driver)
|
2016-03-03 09:39:19 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestStringStore(t *testing.T) {
|
2016-06-19 18:49:43 +02:00
|
|
|
stringStoreTester.TestStringStore(t, &store.DriverConfig{})
|
2016-03-03 09:39:19 +01:00
|
|
|
}
|