Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for testAdd (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        assertTrue(iterator.hasNext());
        assertThat(iterator.next()).isEqualTo("a");
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertThat(iterator.next()).isEqualTo("a");
        assertThat(iterator.next()).isEqualTo("b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        assertTrue(iterator.hasNext());
        assertThat(iterator.next()).isEqualTo("a");
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertThat(iterator.next()).isEqualTo("a");
        assertThat(iterator.next()).isEqualTo("b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Files}.
     *
     * <p>Some methods are tested in separate files:
     *
     * <ul>
     *   <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}.
     *   <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}.
     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        /*
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 20:00:15 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is
     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Initialize CharMappingFile
            charMappingFile = new CharMappingFile("test_id", testFile.getAbsolutePath(), new Date());
            charMappingFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Create StopwordsFile instance
            stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            stopwordsFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        assertEquals(2, copy.size());
        assertThat(copy.iterator().next().member).isSameInstanceAs(copy);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is
     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/body.md

    <img src="/img/tutorial/body/image04.png">
    
    Isso não é por acaso, todo o framework foi construído em volta deste design.
    
    E foi imensamente testado na fase de design, antes de qualquer implementação, para garantir que funcionaria para todos os editores de texto.
    
    Houveram mudanças no próprio Pydantic para que isso fosse possível.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top