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)
Click to show internal directories.
Click to hide internal directories.