Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEnterWhen_initiallyFalse (0.41 sec)

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

      }
    
      public final void testEnterWhen_initiallyTrue() throws Exception {
        TestGuard guard = new TestGuard(true);
        thread1.callAndAssertReturns(enterWhen(), guard);
      }
    
      public final void testEnterWhen_initiallyFalse() throws Exception {
        TestGuard guard = new TestGuard(false);
        thread1.callAndAssertWaits(enterWhen(), guard);
        monitor.enter();
        guard.setSatisfied(true);
        monitor.leave();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top