mirror of
https://github.com/octoleo/restic.git
synced 2024-11-27 07:16:40 +00:00
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 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)
|
|
}
|