Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for callAndAssertReturns (0.22 sec)

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

        thread2.callAndAssertReturns(false, tryEnter());
        thread1.callAndAssertReturns(leave());
        thread2.callAndAssertReturns(false, tryEnter());
        thread1.callAndAssertReturns(leave());
        thread2.callAndAssertReturns(true, tryEnter());
      }
    
      public final void testSystemStateMethods() throws Exception {
        checkSystemStateMethods(0);
        thread1.callAndAssertReturns(enter());
        checkSystemStateMethods(1);
    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

        thread2.callAndAssertReturns(false, tryEnter());
        thread1.callAndAssertReturns(leave());
        thread2.callAndAssertReturns(false, tryEnter());
        thread1.callAndAssertReturns(leave());
        thread2.callAndAssertReturns(true, tryEnter());
      }
    
      public final void testSystemStateMethods() throws Exception {
        checkSystemStateMethods(0);
        thread1.callAndAssertReturns(enter());
        checkSystemStateMethods(1);
    Java
    - Registered: Fri Apr 26 12:43:10 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

                  .initCause(uncaughtThrowable);
        }
      }
    
      /**
       * Causes this thread to call the named void method, and asserts that the call returns normally.
       */
      public void callAndAssertReturns(String methodName, Object... arguments) throws Exception {
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertSame(null, getResponse(methodName).getResult());
    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

                  .initCause(uncaughtThrowable);
        }
      }
    
      /**
       * Causes this thread to call the named void method, and asserts that the call returns normally.
       */
      public void callAndAssertReturns(String methodName, Object... arguments) throws Exception {
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertSame(null, getResponse(methodName).getResult());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top