testsuite

package
v6.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package testsuite is meant to be run by implementors of backends to ensure that the behaviors of their backend matches the expected behavior of the interface. Note you my need to pass additional environmental variables for authentication. You may include in a ; separated list any number of uri's whose scheme implementations will be tested. Each URI will be tested against every other URI for io.* and Move/Copy functions.

VFS_INTEGRATION_LOCATIONS="file:///tmp/vfs_test/;mem://A/path/to/"
go test -tags=vfsintegration ./backend/testsuite

NOTE: for safety, os-based scheme will not clean up after top level location in case some yahoo specified file:/// as the test location. All sub locations and files will be cleaned up(removed).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAzureLocation

func CopyAzureLocation(loc vfs.Location) vfs.Location

func CopyFTPLocation

func CopyFTPLocation(loc vfs.Location) vfs.Location

func CopyGSLocation

func CopyGSLocation(loc vfs.Location) vfs.Location

func CopyMemLocation

func CopyMemLocation(loc vfs.Location) vfs.Location

func CopyOsLocation

func CopyOsLocation(loc vfs.Location) vfs.Location

func CopyS3Location

func CopyS3Location(loc vfs.Location) vfs.Location

func CopySFTPLocation

func CopySFTPLocation(loc vfs.Location) vfs.Location

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL