Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newAssertionError (0.24 sec)

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

          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw newAssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
          throw newAssertionError("unexpected exception", e);
        }
      }
    
      private void enterSatisfyGuardAndLeaveInCurrentThread() {
        monitor.enter();
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw newAssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
          throw newAssertionError("unexpected exception", e);
        }
      }
    
      private void enterSatisfyGuardAndLeaveInCurrentThread() {
        monitor.enter();
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        return new AsyncFunction<X, V>() {
          @Override
          public ListenableFuture<V> apply(X t) {
            throw newAssertionError("Unexpected fallback", t);
          }
        };
      }
    
      /** Alternative to AssertionError(String, Throwable), which doesn't exist in GWT 2.6.1. */
      private static AssertionError newAssertionError(String message, Throwable cause) {
        AssertionError e = new AssertionError(message);
        e.initCause(cause);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        return new AsyncFunction<X, V>() {
          @Override
          public ListenableFuture<V> apply(X t) {
            throw newAssertionError("Unexpected fallback", t);
          }
        };
      }
    
      /** Alternative to AssertionError(String, Throwable), which doesn't exist in GWT 2.6.1. */
      private static AssertionError newAssertionError(String message, Throwable cause) {
        AssertionError e = new AssertionError(message);
        e.initCause(cause);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top