Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 107 for extentions (0.04 seconds)

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

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

            assertEquals(complexMessageCode, exception.getMessageCode());
        }
    
        @Test
        public void test_causeChainPropagation() {
            // Setup - create a chain of exceptions
            final Exception rootCause = new IllegalArgumentException("Root cause");
            final Exception middleCause = new IllegalStateException("Middle cause", rootCause);
            final String message = "Top level SSO error";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                return running;
            }
    
            /**
             * Waits for the crawling thread to terminate.
             * This method blocks until the thread completes its execution.
             * Interrupted exceptions are caught and logged at debug level.
             */
            public void awaitTermination() {
                try {
                    join();
                } catch (final InterruptedException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

            assertFalse(AdminLogAction.isLogFilename(""));
        }
    
        @Test
        public void test_isLogFilename_withPathSeparators() {
            // isLogFilename only checks the file extension, not path components
            assertTrue(AdminLogAction.isLogFilename("subdir/fess.log"));
            assertTrue(AdminLogAction.isLogFilename("../fess.log"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            assertTrue(exception.getStackTrace().length > 0);
        }
    
        @Test
        public void test_multipleNestedExceptions() {
            // Test with multiple nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid image format");
            Exception middleCause = new RuntimeException("Processing failed", innerCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

            registerClassSafely(kryo, Arrays.asList().getClass());
        }
    
        /**
         * Safely registers a class with Kryo, logging any registration failures at WARN level.
         * <p>
         * This method catches exceptions for individual class registrations to ensure
         * that a failure to register one class doesn't prevent other classes from being registered.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Test polymorphic behavior
            SearchLogEvent[] events = { event1, event2, event3 };
    
            for (SearchLogEvent event : events) {
                // All methods should be callable without exceptions
                String id = event.getId();
                Long version = event.getVersionNo();
                Map<String, Object> source = event.toSource();
                String type = event.getEventType();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertTrue(RootAction.class.isAssignableFrom(TestAction.class));
            assertTrue(RootAction.class.isAssignableFrom(AdminAction.class));
    
            // Create exceptions with subclasses
            UserRoleLoginException exception1 = new UserRoleLoginException(TestAction.class);
            UserRoleLoginException exception2 = new UserRoleLoginException(AdminAction.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            for (final String[] testCase : testCases) {
                final String mimeType = testCase[0];
                final String expectedExtension = testCase[1];
                assertEquals("Extension for " + mimeType, expectedExtension, generator.getExtensionFromMimeType(mimeType));
            }
        }
    
        // Test non-image MIME types return empty string
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            assertTrue(outputStream instanceof ByteArrayOutputStream);
        }
    
        @Test
        public void test_getXContentString_success() {
            // Test that getXContentString method exists and handles exceptions properly
            ToXContent xContent = new ToXContent() {
                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
    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)
  10. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            } catch (final JobProcessingException e) {
                assertEquals("test error", e.getMessage());
            }
        }
    
        /**
         * Test that generic exceptions are caught and null is returned
         */
        @Test
        public void test_evaluate_genericExceptionReturnsNull() {
            final Map<String, Object> params = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
Back to Top