Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for testForwarding (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        forwarding.remove("c");
        assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                NavigableMap.class,
                new Function<NavigableMap, NavigableMap>() {
                  @Override
                  public NavigableMap apply(NavigableMap delegate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        forwarding.remove("c");
        assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                NavigableMap.class,
                new Function<NavigableMap, NavigableMap>() {
                  @Override
                  public NavigableMap apply(NavigableMap delegate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link ForwardingExecutorService} */
    @NullUnmarked
    public class ForwardingExecutorServiceTest extends TestCase {
      public void testForwarding() {
        ForwardingObjectTester.testForwardingObject(ForwardingExecutorService.class);
      }
    
      public void testNoForwardingOfDefaultMethod() throws Exception {
        ExecutorService delegate =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top