Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 231 for AssertionError (0.07 sec)

  1. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
                    dispatcher.dispatch(2, integerSubscribers.iterator());
                    latch.countDown();
                  }
                })
            .start();
    
        new Thread(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/ToDoubleRounder.java

                case HALF_UP:
                  return (sign(x) >= 0) ? roundCeilingAsDouble : roundFloorAsDouble;
                default:
                  throw new AssertionError("impossible");
              }
            }
        }
        throw new AssertionError("impossible");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

            throw new AssertionError(e);
          }
        }
      }
    
      /** Looks up Finalizer.startFinalizer(). */
      static Method getStartFinalizer(Class<?> finalizer) {
        try {
          return finalizer.getMethod(
              "startFinalizer", Class.class, ReferenceQueue.class, PhantomReference.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
            error.initCause(e);
            throw error;
          }
        }
        return urls.build().toArray(new URL[0]);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 13 20:26:15 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top