Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for wasCalled (0.24 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 Sep 05 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/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        int valuePrefix = VALUE_PREFIX;
    
        WatchedCreatorLoader() {}
    
        void reset() {
          wasCalled = false;
        }
    
        boolean wasCalled() {
          return wasCalled;
        }
    
        void setKeyPrefix(String keyPrefix) {
          this.keyPrefix = keyPrefix;
        }
    
        void setValuePrefix(int valuePrefix) {
          this.valuePrefix = valuePrefix;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top