Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldFail (0.11 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        shouldFail(instance, Visibility.PROTECTED);
        shouldFail(instance, Visibility.PUBLIC);
      }
    
      private static void shouldFail(Class<?> cls, Visibility visibility) {
        try {
          new NullPointerTester().testStaticMethods(cls, visibility);
        } catch (AssertionError expected) {
          return;
        }
        fail("Should detect problem in " + cls.getSimpleName());
      }
    
      private static void shouldFail(Class<?> cls) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
        private final CountDownLatch delayLatch;
    
        DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) {
          this.shouldWait = shouldWait;
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
        private final CountDownLatch delayLatch;
    
        DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) {
          this.shouldWait = shouldWait;
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top