Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertThrows(
            NullPointerException.class,
            () -> builder.putAll(Collections.<String, Integer>singletonMap("one", null)));
      }
    
      @SuppressWarnings("AlwaysThrows")
      public void testPuttingTheSameKeyTwiceThrowsOnBuild() {
        Builder<String, Integer> builder =
            new Builder<String, Integer>()
                .put("one", 1)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableSortedMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableSortedMapTest extends TestCase {
      // TODO: Avoid duplicating code in ImmutableMapTest
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableMapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top