Searched refs:callAndAssertReturns (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MonitorTestCase.java | 102 thread1.callAndAssertReturns(enter()); in testMutualExclusion() 104 thread1.callAndAssertReturns(leave()); in testMutualExclusion() 109 thread1.callAndAssertReturns(true, tryEnter()); in testTryEnter() 110 thread2.callAndAssertReturns(false, tryEnter()); in testTryEnter() 111 thread1.callAndAssertReturns(true, tryEnter()); in testTryEnter() 112 thread2.callAndAssertReturns(false, tryEnter()); in testTryEnter() 113 thread1.callAndAssertReturns(leave()); in testTryEnter() 114 thread2.callAndAssertReturns(false, tryEnter()); in testTryEnter() 115 thread1.callAndAssertReturns(leave()); in testTryEnter() 116 thread2.callAndAssertReturns(true, tryEnter()); in testTryEnter() [all …]
|
D | TestThread.java | 90 public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { in callAndAssertReturns() method in TestThread 101 public void callAndAssertReturns(boolean expected, String methodName, Object... arguments) in callAndAssertReturns() method in TestThread 113 public void callAndAssertReturns(int expected, String methodName, Object... arguments) in callAndAssertReturns() method in TestThread
|