mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 10:05:25 +00:00
88 lines
1.4 KiB
Go
88 lines
1.4 KiB
Go
// 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)
|
|
}
|
|
|
|
func TestSftpBackendOpen(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestOpen(t)
|
|
}
|
|
|
|
func TestSftpBackendCreateWithConfig(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestCreateWithConfig(t)
|
|
}
|
|
|
|
func TestSftpBackendLocation(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestLocation(t)
|
|
}
|
|
|
|
func TestSftpBackendConfig(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestConfig(t)
|
|
}
|
|
|
|
func TestSftpBackendLoad(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestLoad(t)
|
|
}
|
|
|
|
func TestSftpBackendSave(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestSave(t)
|
|
}
|
|
|
|
func TestSftpBackendSaveFilenames(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestSaveFilenames(t)
|
|
}
|
|
|
|
func TestSftpBackendBackend(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestBackend(t)
|
|
}
|
|
|
|
func TestSftpBackendDelete(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestDelete(t)
|
|
}
|
|
|
|
func TestSftpBackendCleanup(t *testing.T) {
|
|
if SkipMessage != "" {
|
|
t.Skip(SkipMessage)
|
|
}
|
|
test.TestCleanup(t)
|
|
}
|