Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for testAdd (0.04 sec)

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

        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
        assertEquals("b", iterator.previous());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.getLast(), is("1"));
            list.getLastEntry().remove();
            assertThat(list.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAdd() throws Exception {
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            list.add(1, "4");
            assertThat(list.get(1), is("4"));
            assertThat(list.get(2), is("2"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link SetMultimap#asMap}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. dbflute_fess/dfprop/sourceCopyright.dfprop

    # sourceCopyright: (NotRequired - Default '')
    #
    # The copyright for all class sources.
    # This property is NOT map style.
    # You should specify before your first generating.
    #
    #/*
    # * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved.
    # */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 344 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingObject.java

     * object being tested for equality to the custom interface. {@code ForwardingObject} implements no
     * such custom interfaces directly; they are implemented only in subclasses. Therefore, forwarding
     * {@code equals} would break symmetry, as the forwarding object might consider itself equal to the
     * object being tested, but the reverse could not be true. This behavior is consistent with the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/Feature.java

     */
    
    package com.google.common.collect.testing.features;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Set;
    
    /**
     * Base class for enumerating the features of an interface to be tested.
     *
     * @param <T> The interface whose features are to be enumerated.
     * @author George van den Driessche
     */
    @GwtCompatible
    public interface Feature<T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/DocMap.java

            return parent.isEmpty();
        }
    
        /**
         * Returns true if this map contains a mapping for the specified key.
         *
         * @param key the key whose presence in this map is to be tested
         * @return true if this map contains a mapping for the specified key
         */
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

    import org.junit.Ignore;
    
    /**
     * Testers for {@link com.google.common.collect.ListMultimap#asMap}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

    import org.junit.Ignore;
    
    /**
     * Testers for {@link com.google.common.collect.ListMultimap#asMap}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top