restic/backend/mem/backend_test.go

88 lines
1.4 KiB
Go
Raw Normal View History

2016-01-23 16:43:49 +00:00
// DO NOT EDIT, AUTOMATICALLY GENERATED
2016-01-23 18:19:26 +00:00
package mem_test
2015-11-22 15:12:00 +00:00
import (
"testing"
"github.com/restic/restic/backend/test"
2015-11-22 15:12:00 +00:00
)
2016-01-23 17:30:02 +00:00
var SkipMessage string
func TestMemBackendCreate(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCreate(t)
2016-01-23 17:30:02 +00:00
}
func TestMemBackendOpen(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestOpen(t)
2016-01-23 17:30:02 +00:00
}
func TestMemBackendCreateWithConfig(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCreateWithConfig(t)
2016-01-23 17:30:02 +00:00
}
func TestMemBackendLocation(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestLocation(t)
2016-01-23 17:30:02 +00:00
}
func TestMemBackendConfig(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestConfig(t)
2016-01-23 17:30:02 +00:00
}
func TestMemBackendLoad(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestLoad(t)
2016-01-23 17:30:02 +00:00
}
2016-01-24 15:59:38 +00:00
func TestMemBackendSave(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestSave(t)
}
func TestMemBackendSaveFilenames(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestSaveFilenames(t)
}
func TestMemBackendBackend(t *testing.T) {
2016-01-23 17:30:02 +00:00
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestBackend(t)
2016-01-23 17:30:02 +00:00
}
func TestMemBackendDelete(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestDelete(t)
2016-01-23 17:30:02 +00:00
}
func TestMemBackendCleanup(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCleanup(t)
2016-01-23 17:30:02 +00:00
}