Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testGetInstance_withTypeVariable (0.18 seconds)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        map.putInstance(type, ImmutableList.of(1));
        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGetInstance_withTypeVariable() {
        assertThrows(
            IllegalArgumentException.class, () -> map.getInstance(this.<Number>anyIterableType()));
      }
    
      public void testPutInstance_withTypeVariable() {
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        map.putInstance(type, ImmutableList.of(1));
        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGetInstance_withTypeVariable() {
        assertThrows(
            IllegalArgumentException.class, () -> map.getInstance(this.<Number>anyIterableType()));
      }
    
      public void testPutInstance_withTypeVariable() {
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top