Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for callAndAssertThrows (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        monitor.leave();
        thread1.assertPriorCallReturns(waitFor());
      }
    
      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()
    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(waitFor());
      }
    
      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()
    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

      }
    
      /**
       * Causes this thread to call the named method, and asserts that the call throws the expected type
       * of throwable.
       */
      public void callAndAssertThrows(
          Class<? extends Throwable> expected, String methodName, Object... arguments)
          throws Exception {
        checkNotNull(expected);
        checkNotNull(methodName);
        checkNotNull(arguments);
    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

      }
    
      /**
       * Causes this thread to call the named method, and asserts that the call throws the expected type
       * of throwable.
       */
      public void callAndAssertThrows(
          Class<? extends Throwable> expected, String methodName, Object... arguments)
          throws Exception {
        checkNotNull(expected);
        checkNotNull(methodName);
        checkNotNull(arguments);
    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