Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for assertPriorCallReturns (0.21 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        monitor.leave();
        thread1.assertPriorCallReturns(enterWhen());
      }
    
      public final void testEnterWhen_alreadyOccupied() throws Exception {
        TestGuard guard = new TestGuard(true);
        thread2.callAndAssertReturns(enter());
        thread1.callAndAssertBlocks(enterWhen(), guard);
        thread2.callAndAssertReturns(leave());
        thread1.assertPriorCallReturns(enterWhen());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        monitor.leave();
        thread1.assertPriorCallReturns(enterWhen());
      }
    
      public final void testEnterWhen_alreadyOccupied() throws Exception {
        TestGuard guard = new TestGuard(true);
        thread2.callAndAssertReturns(enter());
        thread1.callAndAssertBlocks(enterWhen(), guard);
        thread2.callAndAssertReturns(leave());
        thread1.assertPriorCallReturns(enterWhen());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertThat(getResponse(methodName).getResult()).isNull();
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertThat(getResponse(methodName).getResult()).isNull();
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top