forked from TrueCloudLab/restic
87 lines
1.4 KiB
Go
87 lines
1.4 KiB
Go
// DO NOT EDIT, AUTOMATICALLY GENERATED
|
|
package backend_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 TestMemBackendGetReader(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestGetReader(t)
|
|
}
|
|
|
|
func TestMemBackendLoad(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestLoad(t)
|
|
}
|
|
|
|
func TestMemBackendWrite(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestWrite(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)
|
|
}
|