Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for test_add (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_add() {
            fileTypeHelper.add("application/pdf", "pdf");
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
    
            fileTypeHelper.add("text/plain", "text");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            assertEquals(1, helper.duplicateHostList.size());
            assertEquals("www.test.com", helper.duplicateHostList.get(0).getRegularName());
        }
    
        public void test_add() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
    
            DuplicateHost testHost = new DuplicateHost();
            testHost.setRegularName("www.test.com");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

     */
    package org.codelibs.fess.ingest;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class IngestFactoryTest extends UnitFessTestCase {
    
        public void test_add_1() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(1));
            factory.add(new TestIngester(2));
            factory.add(new TestIngester(3));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/resources/test_app.xml

    Shinsuke Sugaya <******@****.***> 1755612576 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 390 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                assertTrue(generator.generate("test_id", outputFile));
            } finally {
                outputFile.delete();
            }
        }
    
        public void test_generate_outputFile_null() throws Exception {
            generator.setCommandList(Collections.singletonList("echo test"));
            try {
                generator.generate("test_id", null);
                fail("Should throw exception for null output file");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Initialize ProtwordsFile
            protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            protwordsFile.manager(dictionaryManager);
        }
    
        @Override
        public void tearDown() throws Exception {
            if (testFile != null && testFile.exists()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java

    import org.dbflute.utflute.lastaflute.WebContainerTestCase;
    
    public abstract class UnitFessTestCase extends WebContainerTestCase {
        @Override
        protected String prepareConfigFile() {
            return "test_app.xml";
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            target.add(4);
            C addThenFilter = filter(createUnfiltered(target), EVEN);
    
            assertThat(filterThenAdd).containsExactlyElementsIn(addThenFilter);
          }
        }
    
        public void testAdd() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int toAdd = 0; toAdd < 10; toAdd++) {
              boolean expectedResult = createUnfiltered(contents).add(toAdd);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top