mirror of https://github.com/restic/restic.git
88 lines
1.4 KiB
Go
88 lines
1.4 KiB
Go
// DO NOT EDIT, AUTOMATICALLY GENERATED
|
|
package mem_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/restic/restic/backend/test"
|
|
)
|
|
|
|
var SkipMessage string
|
|
|
|
func TestMemBackendCreate(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestCreate(t)
|
|
}
|
|
|
|
func TestMemBackendOpen(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestOpen(t)
|
|
}
|
|
|
|
func TestMemBackendCreateWithConfig(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestCreateWithConfig(t)
|
|
}
|
|
|
|
func TestMemBackendLocation(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestLocation(t)
|
|
}
|
|
|
|
func TestMemBackendConfig(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestConfig(t)
|
|
}
|
|
|
|
func TestMemBackendLoad(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestLoad(t)
|
|
}
|
|
|
|
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) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestBackend(t)
|
|
}
|
|
|
|
func TestMemBackendDelete(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestDelete(t)
|
|
}
|
|
|
|
func TestMemBackendCleanup(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestCleanup(t)
|
|
}
|