Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 373 for GwtIncompatible (0.07 seconds)

  1. guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      @SuppressWarnings("ThrowIfUncheckedKnownChecked")
      public void testPropagateIfPossible_noneDeclared_checked() {
        propagateIfPossible(new SomeCheckedException());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
      public void testPropagateIfPossible_oneDeclared_unchecked() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

       * well.
       */
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_apply() {
        Predicate<@Nullable Object> isInteger = Predicates.instanceOf(Integer.class);
    
        assertTrue(isInteger.apply(1));
        assertFalse(isInteger.apply(2.0f));
        assertFalse(isInteger.apply(""));
        assertFalse(isInteger.apply(null));
      }
    
      @GwtIncompatible // Predicates.instanceOf
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10ZeroAlwaysThrows() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.log10(ZERO, mode));
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10NegativeAlwaysThrows() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // digs into internals of the non-GWT implementation
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // digs into internals of the non-GWT implementation
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        String result = task.toString();
        assertThat(result).contains("Custom thread name");
        task.cancel(true);
        exitLatch.await();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private void awaitUnchecked(CyclicBarrier barrier) {
        try {
          barrier.await();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

          return map;
        }
    
        @Override
        @GwtIncompatible // not used in GWT
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return entries.copyIntoArray(dst, offset);
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return entries.iterator();
        }
    
        @Override
        @GwtIncompatible // Spliterator
        public Spliterator<Entry<K, V>> spliterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(input.isDone());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static class TestException extends Exception {
    
        TestException(@Nullable Throwable cause) {
          super(cause);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private interface MapperFunction extends Function<Throwable, Exception> {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(input.isDone());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private static class TestException extends Exception {
    
        TestException(@Nullable Throwable cause) {
          super(cause);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private interface MapperFunction extends Function<Throwable, Exception> {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Predicates.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    
        @SuppressWarnings("unchecked") // safe contravariant cast
        <T extends @Nullable Object> Predicate<T> withNarrowedType() {
          return (Predicate<T>) this;
        }
      }
    
      /**
       * @see Predicates#instanceOf(Class)
       */
      @GwtIncompatible // Class.isInstance
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top