Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 164 for expects (0.04 seconds)

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

  1. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior - method throws exception for non-existent files
                assertTrue(e.getMessage().contains("nonexistent.conf"));
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), protwordsFile.getPath());
        }
    
        @Test
        public void test_getSimpleName() {
            String expected = testFile.getName();
            assertEquals(expected, protwordsFile.getSimpleName());
        }
    
        @Test
        public void test_get_found() {
            // Load data first
            protwordsFile.reload(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  3. architecture/standards/0004-use-a-platform-architecture.md

    ## Status
    
    - ACCEPTED on 2024-02-07
    
    ## Context
    
    The Gradle code base is essentially a large monolith, without strong internal boundaries.
    This has a number of negative effects on productivity, including:
    
    - Unclear ownership of code.
    - Difficult to focus on one particular area.
    - Unintended coupling between areas of the code, including tests.
    
    ## Decision
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            // Test with a long message
            String message = "This is a very long error message that describes in detail why the job was not found. "
                    + "The job with identifier XYZ123 was expected to be in the system but could not be located "
                    + "after searching through all available job registries and scheduled task databases.";
    
            JobNotFoundException exception = new JobNotFoundException(message);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                // We primarily want to ensure the method can be called without compilation errors
    
                // Log the exception for debugging purposes but don't fail the test
                System.out.println("Expected exception in test environment: " + t.getClass().getSimpleName() + ": " + t.getMessage());
    
                // Verify that it's a system-related exception, not a method signature issue
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.finishCrawling = true;
            indexUpdater.destroy();
            // finishCrawling should be set when max empty list count is exceeded
            // In test environment this may not work as expected
            // assertTrue(indexUpdater.finishCrawling);
        }
    
        // Test addFinishedSessionId
        @Test
        public void test_addFinishedSessionId() {
            final String sessionId = "session123";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt

                    } else {
                        line
                    }
                }
            )
            require(lineFound) {
                "File '$docFile' does not contain the expected compatibility line: '$linePrefix'"
            }
        }
    
        protected
        fun fetchVersionsFromMavenMetadata(url: String): List<String> =
            DocumentBuilderFactory.newInstance().apply {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Oct 24 09:10:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

            for (Element tr : children(classDoc.getMethodsTable(), "tr")) {
                List<Element> cells = children(tr, "td");
                if (cells.size() != 1) {
                    throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr));
                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

            } catch (Exception e) {
                // Expected in test environment
                assertTrue(true);
            }
        }
    
        @Test
        public void test_getUserInfo_nullUserCode() {
            try {
                var result = searchLogHelper.getUserInfo(null);
                assertFalse(result.isPresent());
            } catch (Exception e) {
                // Expected in test environment
                assertTrue(true);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            return LaServletContextUtil.getServletContext();
        }
    
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         * @param errorHook the error hook to call if verification fails
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
Back to Top