Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 219 for GwtIncompatible (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    import static junit.framework.Assert.assertEquals;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ContiguousSet;
    import com.google.common.collect.DiscreteDomain;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSortedSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.ConflictingRequirementsException;
    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.FeatureUtil;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

      }
    
      @GwtIncompatible // TODO
      public void testConstantMaxPowerOfSqrt2Unsigned() {
        assertEquals(
            /* expected= */ BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR)
                .longValue(),
            /* actual= */ LongMath.MAX_POWER_OF_SQRT2_UNSIGNED);
      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.Objects.requireNonNull;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Defaults;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Joiner;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
      @GwtIncompatible // digs into internals of the non-GWT implementation
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumSize_andWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
      }
    
      @GwtIncompatible // digs into internals of the non-GWT implementation
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            assertFalse(isInBounds);
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundExactFractionalDoubleToIntFails() {
        for (double d : FRACTIONAL_DOUBLE_CANDIDATES) {
          assertThrows(ArithmeticException.class, () -> DoubleMath.roundToInt(d, UNNECESSARY));
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
Back to top