Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 177 for expects (0.05 seconds)

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

  1. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        public void test_shutdown_withoutListener() {
            // Call shutdown without setting listener
            try {
                scriptExecutor.shutdown();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior when no listener is set
            }
        }
    
        @Test
        public void test_addShutdownListener_replacesExisting() {
            // Add first listener
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute and expect exception to be handled
            try {
                String result = pingSearchEngineJob.execute();
                // Job should handle exception gracefully
                assertNotNull(result);
            } catch (Exception e) {
                // Exception is expected to be caught within the job
                assertTrue(e.getMessage().contains("Connection failed"));
    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)
  3. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
            assertEquals(expected, options.toString());
        }
    
        @Test
        public void test_initializeProbes() {
            // Test that initializeProbes doesn't throw exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                assertNotNull(result);
                assertTrue(result.contains("string"));
                assertTrue(result.contains("test"));
            } catch (IORuntimeException e) {
                // Expected in test environment due to OpenSearch XContent setup
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
        @Test
        public void test_getXContentString_withException() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            ldapManager.init();
    
            // Complex injection attempt should be fully escaped
            String injectionAttempt = "admin)(|(password=*";
            String expected = "admin\\29\\28|\\28password=\\2a";
            assertEquals(expected, ldapManager.escapeLDAPSearchFilter(injectionAttempt));
        }
    
        @Test
        public void test_escapeLDAPSearchFilter_withAllSpecialCharacters() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            value = "Fess,フェス";
            expected = Arrays.asList("Fess", "フェス");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/bug_report.md

    **To Reproduce**
    Steps to reproduce the behavior:
    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error
    
    **Expected behavior**
    A clear and concise description of what you expected to happen.
    
    **Screenshots**
    If applicable, add screenshots to help explain your problem.
    
    **Environment (please complete the following information):**
     - OS: [e.g. Windows 10]
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Aug 17 22:53:30 GMT 2020
    - 782 bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
            if (expected == null || actual == null) {
                fail("Arrays are not equal: one is null");
            }
            assertEquals("Array lengths differ", expected.length, actual.length);
            for (int i = 0; i < expected.length; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/20_contributor_feature_request.yml

            Provide a brief summary of the issue in the title above
      - type: textarea
        id: expected-behavior
        attributes:
          label: Expected Behavior
          description: Tell us how it should work
        validations:
          required: true
      - type: textarea
        id: current-behavior
        attributes:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Nov 27 15:48:22 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/plugins/form-validator/brazil.js

     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.3K bytes
    - Click Count (0)
Back to Top