Searched refs:callAndAssertBlocks (Results 1 – 4 of 4) sorted by relevance
103 thread2.callAndAssertBlocks(enter()); in testMutualExclusion()158 thread1.callAndAssertBlocks(enterWhen(), guard); in testEnterWhen_alreadyOccupied()166 thread2.callAndAssertBlocks(enter()); in testEnterIf_initiallyTrue()178 thread1.callAndAssertBlocks(enterIf(), guard); in testEnterIf_alreadyOccupied()186 thread2.callAndAssertBlocks(enter()); in testTryEnterIf_initiallyTrue()
139 public void callAndAssertBlocks(String methodName, Object... arguments) throws Exception { in callAndAssertBlocks() method in TestThread
103 thread2.callAndAssertBlocks(enter()); in testMutualExclusion()160 thread1.callAndAssertBlocks(enterWhen(), guard); in testEnterWhen_alreadyOccupied()168 thread2.callAndAssertBlocks(enter()); in testEnterIf_initiallyTrue()180 thread1.callAndAssertBlocks(enterIf(), guard); in testEnterIf_alreadyOccupied()188 thread2.callAndAssertBlocks(enter()); in testTryEnterIf_initiallyTrue()