Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for IllegalMonitorStateException (0.13 seconds)

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

        Monitor monitor = new Monitor();
        assertThrows(IllegalMonitorStateException.class, monitor::leave);
      }
    
      public void testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() {
        Monitor monitor1 = new Monitor();
        Monitor monitor2 = new Monitor();
        FlagGuard guard = new FlagGuard(monitor2);
        assertThrows(IllegalMonitorStateException.class, () -> monitor1.getWaitQueueLength(guard));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        Monitor monitor = new Monitor();
        assertThrows(IllegalMonitorStateException.class, monitor::leave);
      }
    
      public void testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() {
        Monitor monitor1 = new Monitor();
        Monitor monitor2 = new Monitor();
        FlagGuard guard = new FlagGuard(monitor2);
        assertThrows(IllegalMonitorStateException.class, () -> monitor1.getWaitQueueLength(guard));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      }
    
      public final void testWaitFor_withoutEnter() throws Exception {
        TestGuard guard = new TestGuard(true);
        thread1.callAndAssertThrows(IllegalMonitorStateException.class, waitFor(), guard);
      }
    
      public void testNulls() {
        monitor.enter(); // Inhibit IllegalMonitorStateException
        new NullPointerTester()
            .setDefault(Monitor.Guard.class, new TestGuard(true))
            .testAllPublicInstanceMethods(monitor);
      }
    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)
  4. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      }
    
      public final void testWaitFor_withoutEnter() throws Exception {
        TestGuard guard = new TestGuard(true);
        thread1.callAndAssertThrows(IllegalMonitorStateException.class, waitFor(), guard);
      }
    
      public void testNulls() {
        monitor.enter(); // Inhibit IllegalMonitorStateException
        new NullPointerTester()
            .setDefault(Monitor.Guard.class, new TestGuard(true))
            .testAllPublicInstanceMethods(monitor);
      }
    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)
Back to Top