Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 214 for expects (0.03 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                    generator.saveImage(input, outputFile);
                }
                assertImageSize(outputFile, 100, 100);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                if (e.getMessage().contains("Not initialized")) {
                    // Skip test when container is not available
                    return;
                }
                throw e;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            TestHttpServletResponse response = new TestHttpServletResponse();
            TestFilterChain chain = new TestFilterChain();
    
            try {
                manager.process(request, response, chain);
                fail("Expected ServletException");
            } catch (ServletException e) {
                assertEquals("Test error", e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

        }
    
        @Test
        public void test_fessConfig_ignoreEmptyContent() {
            final FessConfig config = ComponentUtil.getFessConfig();
            // Verify the config returns the expected default value (false)
            assertFalse(config.isCrawlerDocumentFileIgnoreEmptyContent());
        }
    
        @Test
        public void test_responseData_defaultValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

    /**
     * Manages a dictionary file for stemmer overrides.
     * This class handles reading, parsing, and updating files that contain
     * stemmer override rules, where each rule maps an input word to an
     * output stem. The file format is expected to be `input => output`.
     *
     * The class provides methods for retrieving, adding, updating, and
     * deleting stemmer override items, as well as reloading the dictionary
     * from its source file.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                // May not throw exception but return unexpected result
                assertNotNull(result);
            } catch (Exception e) {
                assertTrue(true); // Expected exception
            }
        }
    
        @Test
        public void test_getJarFile_exists() throws IOException {
            // Create a mock jar file
            Path jarPath = tempDir.resolve("test-theme.jar");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            paramMap.put("url_exclude_pattern", ".*");
    
            try {
                indexUpdateCallback.isUrlCrawlable(paramMap, null);
                fail("Expected NullPointerException for null URL");
            } catch (NullPointerException e) {
                // Expected behavior - the method doesn't handle null URLs
            }
        }
    
        @Test
        public void test_isUrlCrawlable_nullUrlWithoutPattern() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            assertNotNull(version, "Version should not be null");
    
            logger.info("Stats version: {}", version);
            logger.info("Stats status: {}", status);
    
            // Verify stats contain expected fields
            // Note: The actual fields may vary depending on the implementation
            // Common fields might include: document count, index size, etc.
            assertTrue(res.size() > 0, "Response should contain stats data");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
         * @param dictId The dictionary ID.
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) {
            if (crudMode != expectedMode) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                logger.warn("Failed to export documents.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
        /**
         * Exports a single document as a file.
         *
         * @param source the document source map
         * @param exportPath the base export directory path
         * @param excludeFields the set of field names to exclude from output
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            try {
                queryProcessor.execute(context, termQuery, 1.0f);
                fail();
            } catch (InvalidQueryException e) {
                // expected
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        @Test
        public void test_convertPrefixQuery_withDefaultField() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top