lockscontracts

package
v0.104.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Waiter = assert.Waiter{
	WaitDuration: time.Millisecond,
	Timeout:      5 * time.Second,
}

Functions

This section is empty.

Types

type Locker

type Locker struct {
	MakeSubject func(testing.TB) locks.Locker
	MakeContext func(testing.TB) context.Context
}

func (Locker) Benchmark

func (c Locker) Benchmark(b *testing.B)

func (Locker) Spec

func (c Locker) Spec(s *testcase.Spec)

func (Locker) Test

func (c Locker) Test(t *testing.T)

Jump to

Keyboard shortcuts

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