Searched refs:callAndAssertBlocks (Results 1 – 2 of 2) 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