restic/backend/local/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 16:08:03 +00:00
package local_test
import (
"testing"
"github.com/restic/restic/backend/test"
)
2016-01-23 17:30:02 +00:00
var SkipMessage string
func TestLocalBackendCreate(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCreate(t)
2016-01-23 17:30:02 +00:00
}
func TestLocalBackendOpen(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestOpen(t)
2016-01-23 17:30:02 +00:00
}
func TestLocalBackendCreateWithConfig(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCreateWithConfig(t)
2016-01-23 17:30:02 +00:00
}
func TestLocalBackendLocation(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestLocation(t)
2016-01-23 17:30:02 +00:00
}
func TestLocalBackendConfig(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestConfig(t)
2016-01-23 17:30:02 +00:00
}
func TestLocalBackendLoad(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 TestLocalBackendSave(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestSave(t)
}
func TestLocalBackendSaveFilenames(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestSaveFilenames(t)
}
func TestLocalBackendBackend(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 TestLocalBackendDelete(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestDelete(t)
2016-01-23 17:30:02 +00:00
}
func TestLocalBackendCleanup(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCleanup(t)
2016-01-23 17:30:02 +00:00
}