Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for testForwarding (0.18 sec)

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

                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Set.class,
                new Function<Set, Set>() {
                  @Override
                  public Set apply(Set delegate) {
                    return wrap(delegate);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                SortedMultiset.class,
                new Function<SortedMultiset, SortedMultiset>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. android/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:
     *
     * <pre>{@code
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }</pre>
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

     *
     * @author Robert Konigsberg
     */
    public class ForwardingListIteratorTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                ListIterator.class,
                new Function<ListIterator, ListIterator<?>>() {
                  @Override
                  public ListIterator<?> apply(ListIterator delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

     * Unit test for {@link ForwardingMultimap}.
     *
     * @author Hayward Chan
     */
    public class ForwardingMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Multimap.class,
                new Function<Multimap, Multimap<?, ?>>() {
                  @Override
                  public Multimap<?, ?> apply(Multimap delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. 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:
     *
     * <pre>{@code
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }</pre>
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

        Class<? super T> interfaceType =
            (Class<? super T>) Iterables.getOnlyElement(Arrays.asList(forwarderClass.getInterfaces()));
        new ForwardingWrapperTester()
            .testForwarding(
                interfaceType,
                new Function<Object, T>() {
                  @Override
                  public T apply(Object delegate) {
                    T mock = mock(forwarderClass, CALLS_REAL_METHODS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

    /**
     * Tests for {@code ForwardingDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    public class ForwardingDequeTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Deque.class,
                new Function<Deque, Deque<?>>() {
                  @Override
                  public Deque<?> apply(Deque delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class ForwardingListMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                ListMultimap.class,
                new Function<ListMultimap, ListMultimap<?, ?>>() {
                  @Override
                  public ListMultimap<?, ?> apply(ListMultimap delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class ForwardingListMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                ListMultimap.class,
                new Function<ListMultimap, ListMultimap<?, ?>>() {
                  @Override
                  public ListMultimap<?, ?> apply(ListMultimap delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top