Home
last modified time | relevance | path

Searched refs:lockB (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java42 private ReentrantLock lockB; field in CycleDetectingLockFactoryTest
63 lockB = factory.newReentrantLock("LockB"); in setUp()
103 lockB.lock(); in testDeadlock_twoLocks()
105 lockB.unlock(); in testDeadlock_twoLocks()
109 lockB.lock(); in testDeadlock_twoLocks()
129 lockB.unlock(); in testDeadlock_twoLocks()
137 lockB.lock(); in testDeadlock_threeLocks()
138 lockB.unlock(); in testDeadlock_threeLocks()
142 lockB.lock(); in testDeadlock_threeLocks()
144 lockB.unlock(); in testDeadlock_threeLocks()
[all …]
/external/guice/core/test/com/google/inject/internal/
DCycleDetectingLockTest.java55 final CycleDetectingLock<String> lockB = in testSingletonThreadsRuntimeCircularDependency() local
78 assertTrue(lockB.lockOrDetectPotentialLocksCycle().isEmpty()); in testSingletonThreadsRuntimeCircularDependency()
79 lockB.unlock(); in testSingletonThreadsRuntimeCircularDependency()
88 assertTrue(lockB.lockOrDetectPotentialLocksCycle().isEmpty()); in testSingletonThreadsRuntimeCircularDependency()
91 lockB.unlock(); in testSingletonThreadsRuntimeCircularDependency()