Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstructor_typeParameters (0.45 sec)

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

        assertEquals(
            ImmutableList.of(TypeToken.of(NullPointerException.class)),
            Prepender.constructor(String.class, int.class).getExceptionTypes());
      }
    
      public void testConstructor_typeParameters() throws Exception {
        TypeVariable<?>[] variables = Prepender.constructor().getTypeParameters();
        assertThat(variables).hasLength(1);
        assertEquals("T", variables[0].getName());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(
            ImmutableList.of(TypeToken.of(NullPointerException.class)),
            Prepender.constructor(String.class, int.class).getExceptionTypes());
      }
    
      public void testConstructor_typeParameters() throws Exception {
        TypeVariable<?>[] variables = Prepender.constructor().getTypeParameters();
        assertThat(variables).hasLength(1);
        assertEquals("T", variables[0].getName());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top