Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for JUnitIncompatibleType (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    /**
     * Tests for {@link ImmutableMultimap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableMultimapTest extends TestCase {
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testBuilder_withImmutableEntry() {
        ImmutableMultimap<String, Integer> multimap =
            new Builder<String, Integer>().put(immutableEntry("one", 1)).build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

    /**
     * Unit test for {@code Maps}.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    @SuppressWarnings("JUnitIncompatibleType") // Many intentional violations here.
    public class MapsTest extends TestCase {
    
      private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder();
    
      public void testHashMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testToStringEmptyIterator() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
        assertThat(Iterators.toString(iterator)).isEqualTo("[]");
      }
    
      @SuppressWarnings("JUnitIncompatibleType") // Fails with j2kt.
      public void testLimit() {
        List<String> list = new ArrayList<>();
        assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testToStringEmptyIterator() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
        assertThat(Iterators.toString(iterator)).isEqualTo("[]");
      }
    
      @SuppressWarnings("JUnitIncompatibleType") // Fails with j2kt.
      public void testLimit() {
        List<String> list = new ArrayList<>();
        assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            () ->
                type.where(
                    new TypeParameter<T>() {},
                    (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture())));
      }
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testWhere() {
        assertEquals(new TypeToken<Map<String, Integer>>() {}, mapOf(String.class, Integer.class));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
Back to Top