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.Create(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendOpen(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Open(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendCreateWithConfig(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.CreateWithConfig(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendLocation(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Location(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendConfig(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Config(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendGetReader(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.GetReader(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendLoad(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Load(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendWrite(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Write(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendGeneric(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Generic(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendDelete(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Delete(t)
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestLocalBackendCleanup(t *testing.T) {
|
|
|
|
if SkipMessage != "" {
|
|
|
|
t.Skip(SkipMessage)
|
|
|
|
}
|
|
|
|
test.Cleanup(t)
|
|
|
|
}
|