testutil

package
v0.53.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBackupCompatibleInstallation

func CreateBackupCompatibleInstallation(t *testing.T, sqlStore *store.SQLStore) *model.Installation

CreateBackupCompatibleInstallation is a helper function for tests which creates Installation compatible with backup.

func SetupTestEventsProducer added in v0.51.0

func SetupTestEventsProducer(sqlStore *store.SQLStore, logger logrus.FieldLogger) *events.EventProducer

SetupTestEventsProducer sets up testing event produced that does not deliver events.

Types

This section is empty.

Jump to

Keyboard shortcuts

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