An example of how to make an out of tree backend for rclone
This commit is contained in:
17
backend/ram/ram_test.go
Normal file
17
backend/ram/ram_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Test ram filesystem interface
|
||||
package ram
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/rclone/rclone/fstest/fstests"
|
||||
)
|
||||
|
||||
// TestIntegration runs integration tests against the remote
|
||||
func TestIntegration(t *testing.T) {
|
||||
fstests.Run(t, &fstests.Opt{
|
||||
RemoteName: ":ram:",
|
||||
NilObject: (*Object)(nil),
|
||||
QuickTestOK: true,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user