Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstructor_invalidReturning (0.36 sec)

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

        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_invalidReturning() throws Exception {
        Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class);
        assertThrows(IllegalArgumentException.class, () -> delegate.returning(SubPrepender.class));
      }
    
    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

        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_invalidReturning() throws Exception {
        Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class);
        assertThrows(IllegalArgumentException.class, () -> delegate.returning(SubPrepender.class));
      }
    
    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