test

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package test provide functionalities for testing keychain storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(
	t *testing.T,
	service, key string,
	expect RunExpect,
	test func(t *testing.T),
)

Run runs a test with mocked keyring.

Types

type RunExpect

type RunExpect func(t *testing.T, s n26keychain.Storage)

RunExpect is an expect to run Run.

Jump to

Keyboard shortcuts

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