Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 8K bytes
    - Viewed (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());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * 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)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * 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)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top