2021-09-09 12:25:25 +00:00
|
|
|
//go:build !plan9
|
2020-05-11 18:56:41 +00:00
|
|
|
|
2022-02-04 17:58:04 +00:00
|
|
|
// Test Storj filesystem interface
|
|
|
|
package storj_test
|
2020-05-11 18:56:41 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2022-02-04 17:58:04 +00:00
|
|
|
"github.com/rclone/rclone/backend/storj"
|
2020-05-11 18:56:41 +00:00
|
|
|
"github.com/rclone/rclone/fstest/fstests"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TestIntegration runs integration tests against the remote
|
|
|
|
func TestIntegration(t *testing.T) {
|
|
|
|
fstests.Run(t, &fstests.Opt{
|
2022-02-04 17:58:04 +00:00
|
|
|
RemoteName: "TestStorj:",
|
|
|
|
NilObject: (*storj.Object)(nil),
|
2020-05-11 18:56:41 +00:00
|
|
|
})
|
|
|
|
}
|