2021-09-09 14:25:25 +02:00
|
|
|
//go:build !plan9
|
2020-05-11 20:56:41 +02:00
|
|
|
|
2022-02-04 18:58:04 +01:00
|
|
|
// Test Storj filesystem interface
|
|
|
|
package storj_test
|
2020-05-11 20:56:41 +02:00
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2022-02-04 18:58:04 +01:00
|
|
|
"github.com/rclone/rclone/backend/storj"
|
2020-05-11 20:56:41 +02: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 18:58:04 +01:00
|
|
|
RemoteName: "TestStorj:",
|
|
|
|
NilObject: (*storj.Object)(nil),
|
2020-05-11 20:56:41 +02:00
|
|
|
})
|
|
|
|
}
|