Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for wasCalled (0.04 sec)

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

        public void onSuccess(String result) {
          synchronized (monitor) {
            assertFalse(wasCalled);
            wasCalled = true;
            assertEquals(value, result);
          }
        }
    
        @Override
        public synchronized void onFailure(Throwable t) {
          synchronized (monitor) {
            assertFalse(wasCalled);
            wasCalled = true;
            assertEquals(failure, t);
          }
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        boolean wasCalled = false; // must be set in load()
        String keyPrefix = KEY_PREFIX;
        int valuePrefix = VALUE_PREFIX;
    
        WatchedCreatorLoader() {}
    
        void reset() {
          wasCalled = false;
        }
    
        boolean wasCalled() {
          return wasCalled;
        }
    
        void setKeyPrefix(String keyPrefix) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        fail("Should detect problem in " + FailOnOneOfTwoConstructors.class.getSimpleName());
      }
    
      public static class NullBounds<T extends @Nullable Object, U extends T, X> {
        boolean xWasCalled;
    
        public void x(X x) {
          xWasCalled = true;
          checkNotNull(x);
        }
    
        public void t(T t) {
          fail("Method with parameter <T extends @Nullable Object> should not be called");
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top