mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 01:46:31 +02:00
Add a mega.nz remote #163
Not supported yet: * Hash * ModTime * Server Side Copy Otherwise fully functional and passing all the tests.
This commit is contained in:
17
backend/mega/mega_test.go
Normal file
17
backend/mega/mega_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Test Mega filesystem interface
|
||||
package mega_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/ncw/rclone/backend/mega"
|
||||
"github.com/ncw/rclone/fstest/fstests"
|
||||
)
|
||||
|
||||
// TestIntegration runs integration tests against the remote
|
||||
func TestIntegration(t *testing.T) {
|
||||
fstests.Run(t, &fstests.Opt{
|
||||
RemoteName: "TestMega:",
|
||||
NilObject: (*mega.Object)(nil),
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user