Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testNewParameterizedTypeWithWrongNumberOfTypeArguments (0.2 sec)

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

        assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]);
        assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]);
      }
    
      public void testNewParameterizedTypeWithWrongNumberOfTypeArguments() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedType(Map.class, String.class, Integer.class, Long.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(String.class, parameterizedType.getActualTypeArguments()[0]);
        assertEquals(Integer.class, parameterizedType.getActualTypeArguments()[1]);
      }
    
      public void testNewParameterizedTypeWithWrongNumberOfTypeArguments() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newParameterizedType(Map.class, String.class, Integer.class, Long.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top