vicetest

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transport

func Transport(t *testing.T, transport func() vice.Transport)

Transport runs standard transport tests. All Transport types pass this test.

For more information see https://github.com/nxsre/vice/blob/master/docs/writing-transports.md

Transports should be initialised with a clean state. Old persisted messages can interfere with the test. After the tests are run, the transport is closed (since that is part of the spec).

Types

This section is empty.

Jump to

Keyboard shortcuts

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