testutils

package
v0.0.0-...-8515a6d Latest Latest
Warning

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

Go to latest
Published: May 12, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(t TestingT, store cloudstorage.Store)

func BasicRW

func BasicRW(t TestingT, store cloudstorage.Store)

func Clearstore

func Clearstore(t TestingT, store cloudstorage.Store)

func Copy

func Copy(t TestingT, store cloudstorage.Store)

func ListObjsAndFolders

func ListObjsAndFolders(t TestingT, store cloudstorage.Store)

func Move

func Move(t TestingT, store cloudstorage.Store)

func NewObjectWithExisting

func NewObjectWithExisting(t TestingT, store cloudstorage.Store)

func RunTests

func RunTests(t TestingT, s cloudstorage.Store)

func Setup

func Setup()

Setup enables -vv verbose logging or sends logs to /dev/null env var VERBOSELOGS=true was added to support verbose logging with alltests

func StoreSetup

func StoreSetup(t TestingT, store cloudstorage.Store)

func TestReadWriteCloser

func TestReadWriteCloser(t TestingT, store cloudstorage.Store)

func Truncate

func Truncate(t TestingT, store cloudstorage.Store)

Types

type TestingT

type TestingT interface {
	Logf(format string, args ...interface{})
	Fatalf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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