An example of how to make an out of tree backend for rclone

This commit is contained in:
Nick Craig-Wood
2025-05-07 11:52:26 +01:00
commit 198a408101
9 changed files with 1902 additions and 0 deletions

17
backend/ram/ram_test.go Normal file
View 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,
})
}