restic/backend/sftp/backend_test.go

81 lines
1.3 KiB
Go
Raw Normal View History

2016-01-23 17:30:02 +00:00
// DO NOT EDIT, AUTOMATICALLY GENERATED
package sftp_test
import (
"testing"
"github.com/restic/restic/backend/test"
)
var SkipMessage string
func TestSftpBackendCreate(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCreate(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendOpen(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestOpen(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendCreateWithConfig(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCreateWithConfig(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendLocation(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestLocation(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendConfig(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestConfig(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendLoad(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestLoad(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendWrite(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestWrite(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendBackend(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 TestSftpBackendDelete(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestDelete(t)
2016-01-23 17:30:02 +00:00
}
func TestSftpBackendCleanup(t *testing.T) {
if SkipMessage != "" {
t.Skip(SkipMessage)
}
test.TestCleanup(t)
2016-01-23 17:30:02 +00:00
}