Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 214 for expects (0.06 seconds)

  1. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            // Test that the exception is serializable
            ThemeException exception = new ThemeException("Serialization test");
    
            // Verify that the exception can be created and has the expected structure
            assertNotNull(exception);
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exception handling
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            try {
                aggregateLogJob.execute();
                fail("OutOfMemoryError should not be caught by Exception handler");
            } catch (OutOfMemoryError e) {
                // Expected - OutOfMemoryError is not caught by Exception handler
                assertEquals("Simulated OOM", e.getMessage());
            }
        }
    
        @Test
        public void test_execute_multipleDifferentExceptions() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            try {
                ThreadDumpUtil.processThreadDump(null);
                fail("Should throw NullPointerException for null consumer");
            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        @Test
        public void test_processThreadDump_multipleThreads() {
            AtomicInteger threadCount = new AtomicInteger(0);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            Map<String, Object> exceptionParams = new HashMap<>();
            exceptionParams.put("throwException", true);
    
            try {
                queryRescorer.evaluate(exceptionParams);
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        @Test
        public void test_evaluate_concurrency() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    field.setAccessible(true);
                    String value = (String) field.get(null);
    
                    // Convert field name to expected value
                    String fieldNamePart = field.getName().substring("LABELS_".length());
                    String expectedValuePart = fieldNamePart.toLowerCase()
                            .replace("_", ".")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

        }
    
        private
        fun String.assertContains(text: String) {
            assertTrue(contains(text)) {
                "Did not find expected error message in $this"
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 10 00:16:44 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        @Test
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
                // Expected that it may fail due to missing dependencies in test environment
                // but method should be callable
                assertNotNull(e, "Exception should not be null if thrown");
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                    cf.not(subCf -> subCf.setId_InScope(idList));
                }
            }));
        }
    
        /**
         * Imports crawling information and parameters from a CSV file.
         * The CSV format expected is: SessionId, SessionCreatedTime, Key, Value, CreatedTime.
         * Creates new crawling sessions if they don't exist and adds parameters to them.
         *
         * @param reader the Reader containing CSV data to import
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

            }
            val version = milestone.get()
            val parts = version.split(".")
            require(parts.size == 3 && parts[2].toIntOrNull()?.let { it != 0 } == true) {
                "Version '$version' is not a patch release. Expected format: x.y.z with z > 0."
            }
            val issues = getFixedIssues()
            require(!issues.isEmpty()) {
                "No fixed issues found for milestone ${milestone.get()}"
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. src/main/webapp/js/bootstrap.min.js

      * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
      * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
      */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 58.9K bytes
    - Click Count (0)
Back to Top