storagetest

package
v1.3.13 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunLogStorageTests added in v1.3.9

func RunLogStorageTests(t *testing.T, storageFactory LogStorageFactory)

RunLogStorageTests runs all the log storage tests against the provided log storage implementation.

Types

type LogStorageFactory added in v1.3.9

type LogStorageFactory = func(ctx context.Context, t *testing.T) (storage.LogStorage, storage.AdminStorage)

LogStorageFactory creates LogStorage and AdminStorage for a test to use.

type LogStorageTest added in v1.3.9

type LogStorageTest = func(ctx context.Context, t *testing.T, s storage.LogStorage, as storage.AdminStorage)

LogStorageTest executes a test using the given storage implementations.

Jump to

Keyboard shortcuts

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