2017-11-12 17:54:25 +00:00
|
|
|
// Test Cache filesystem interface
|
|
|
|
|
2018-04-06 19:33:51 +00:00
|
|
|
// +build !plan9
|
2017-11-12 17:54:25 +00:00
|
|
|
|
|
|
|
package cache_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2018-01-11 16:05:41 +00:00
|
|
|
"github.com/ncw/rclone/backend/cache"
|
|
|
|
_ "github.com/ncw/rclone/backend/local"
|
2017-11-12 17:54:25 +00:00
|
|
|
"github.com/ncw/rclone/fstest/fstests"
|
|
|
|
)
|
|
|
|
|
2018-04-07 17:48:11 +00: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 17:54:25 +00:00
|
|
|
}
|