BaseLockFactoryTestCase

Base class for per-LockFactory tests.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open fun testBasics()

Test obtaining and releasing locks, checking validity

Link copied to clipboard
open fun testDoubleClose()

Test closing locks twice

Link copied to clipboard

Test ensureValid throws exception after close

Link copied to clipboard
Link copied to clipboard
open fun testStressLocks()
Link copied to clipboard

Test ensureValid returns true after acquire