Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testConstructor_exceptionTypes (0.19 sec)

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

        assertEquals(
            ImmutableList.copyOf(type.getTypeParameters()),
            ImmutableList.copyOf(returnType.getActualTypeArguments()));
      }
    
      public void testConstructor_exceptionTypes() throws Exception {
        assertEquals(
            ImmutableList.of(TypeToken.of(NullPointerException.class)),
            Prepender.constructor(String.class, int.class).getExceptionTypes());
      }
    
    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.copyOf(type.getTypeParameters()),
            ImmutableList.copyOf(returnType.getActualTypeArguments()));
      }
    
      public void testConstructor_exceptionTypes() throws Exception {
        assertEquals(
            ImmutableList.of(TypeToken.of(NullPointerException.class)),
            Prepender.constructor(String.class, int.class).getExceptionTypes());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static class CannotConstruct<E extends Throwable> {
        @SuppressWarnings("unused")
        public CannotConstruct() throws E {}
      }
    
      public <T extends CannotConstruct<AssertionError>> void testConstructor_exceptionTypes()
          throws NoSuchMethodException {
        @SuppressWarnings("rawtypes") // Reflection API skew
        Constructor<CannotConstruct> constructor = CannotConstruct.class.getConstructor();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static class CannotConstruct<E extends Throwable> {
        @SuppressWarnings("unused")
        public CannotConstruct() throws E {}
      }
    
      public <T extends CannotConstruct<AssertionError>> void testConstructor_exceptionTypes()
          throws NoSuchMethodException {
        @SuppressWarnings("rawtypes") // Reflection API skew
        Constructor<CannotConstruct> constructor = CannotConstruct.class.getConstructor();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top