test_lock

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const LOCK1 = "lock_1"
View Source
const LOCK2 = "lock_2"
View Source
const LOCK3 = "lock_3"

Variables

This section is empty.

Functions

This section is empty.

Types

type LockFixture

type LockFixture struct {
	// contains filtered or unexported fields
}

func NewLockFixture

func NewLockFixture(locker lock.ILock) *LockFixture

func (*LockFixture) TestAcquireLock

func (c *LockFixture) TestAcquireLock(t *testing.T)

func (*LockFixture) TestReleaseLock

func (c *LockFixture) TestReleaseLock(t *testing.T)

func (*LockFixture) TestTryAcquireLock

func (c *LockFixture) TestTryAcquireLock(t *testing.T)

Jump to

Keyboard shortcuts

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