/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
backend/googlecloudstorage/googlecloudstorage_test.go
33 строки
822 B
Jānis Bebrītis
gcs: empty directory markers - #3453
28 апр 2023, 16:31
28 апр 2023, 16:31
e0c445d
Код
Авторство
О чём код?
// Test GoogleCloudStorage filesystem interface package googlecloudstorage_test import ( "testing" "github.com/rclone/rclone/backend/googlecloudstorage" "github.com/rclone/rclone/fstest" "github.com/rclone/rclone/fstest/fstests" ) // TestIntegration runs integration tests against the remote func TestIntegration(t *testing.T) { fstests.Run(t, &fstests.Opt{ RemoteName: "TestGoogleCloudStorage:", NilObject: (*googlecloudstorage.Object)(nil), }) } func TestIntegration2(t *testing.T) { if *fstest.RemoteName != "" { t.Skip("Skipping as -remote set") } name := "TestGoogleCloudStorage" fstests.Run(t, &fstests.Opt{ RemoteName: name + ":", NilObject: (*googlecloudstorage.Object)(nil), ExtraConfig: []fstests.ExtraConfigItem{ {Name: name, Key: "directory_markers", Value: "true"}, }, }) }