2015-03-02 18:48:53 +00:00
|
|
|
package physical
|
|
|
|
|
2016-04-26 03:10:32 +00:00
|
|
|
import (
|
|
|
|
"testing"
|
2016-08-19 20:45:17 +00:00
|
|
|
|
|
|
|
"github.com/hashicorp/vault/helper/logformat"
|
|
|
|
log "github.com/mgutz/logxi/v1"
|
2016-04-26 03:10:32 +00:00
|
|
|
)
|
2015-03-02 18:48:53 +00:00
|
|
|
|
|
|
|
func TestInmem(t *testing.T) {
|
2016-08-19 20:45:17 +00:00
|
|
|
logger := logformat.NewVaultLogger(log.LevelTrace)
|
|
|
|
|
2016-04-26 03:10:32 +00:00
|
|
|
inm := NewInmem(logger)
|
2015-03-02 18:48:53 +00:00
|
|
|
testBackend(t, inm)
|
|
|
|
testBackend_ListPrefix(t, inm)
|
|
|
|
}
|