2017-11-12 18:54:25 +01:00
|
|
|
// Test Cache filesystem interface
|
|
|
|
|
2018-04-06 21:33:51 +02:00
|
|
|
// +build !plan9
|
2017-11-12 18:54:25 +01:00
|
|
|
|
|
|
|
package cache_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2018-01-11 17:05:41 +01:00
|
|
|
"github.com/ncw/rclone/backend/cache"
|
|
|
|
_ "github.com/ncw/rclone/backend/local"
|
2017-11-12 18:54:25 +01:00
|
|
|
"github.com/ncw/rclone/fstest/fstests"
|
|
|
|
)
|
|
|
|
|
2018-04-07 19:48:11 +02:00
|
|
|
// TestIntegration runs integration tests against the remote
|
|
|
|
func TestIntegration(t *testing.T) {
|
|
|
|
fstests.Run(t, &fstests.Opt{
|
|
|
|
RemoteName: "TestCache:",
|
|
|
|
NilObject: (*cache.Object)(nil),
|
|
|
|
})
|
2017-11-12 18:54:25 +01:00
|
|
|
}
|