Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 139 for extentions (0.06 seconds)

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

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withCauseChain() {
            // Test constructor with chained exceptions
            final Exception rootCause = new IllegalArgumentException("Invalid argument");
            final Exception middleCause = new RuntimeException("Runtime error", rootCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            final Path result = indexExportJob.buildFilePath("/export", "https://example.com/v1.0/page", new HtmlIndexExportFormatter());
            // v1.0 is a directory, page has no extension
            assertEquals(Path.of("/export/example.com/v1.0/page.html"), result);
        }
    
        @Test
        public void test_buildFilePath_multipleDotsInFilename() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                    """
                )
                withSettings("""include("v1", "v2", "binary-compatibility")""")
                withBuildScript(
                    """
                        import gradlebuild.identity.extension.GradleModuleExtension
    
                        plugins {
                            base
                            kotlin("jvm") version "$embeddedKotlinVersion" apply false
                        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertEquals(exception.getMessage(), exception.getLocalizedMessage());
        }
    
        @Test
        public void test_suppressedExceptions() {
            // Test suppressed exceptions functionality
            ResultOffsetExceededException mainException = new ResultOffsetExceededException("Main exception");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
        /**
         * Recursively deletes a directory and all its contents.
         * Does not throw exceptions, only logs warnings if deletion fails.
         *
         * @param dir the directory to delete
         */
        protected void closeQuietly(final Path dir) {
            if (Files.notExists(dir)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            if (thumbnailManager != null) {
                try {
                    thumbnailManager.destroy();
                } catch (Exception e) {
                    // Ignore exceptions during teardown
                }
            }
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
            }
            super.tearDown(testInfo);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/IndexExportJob.java

        /**
         * Builds a filesystem path from a document URL.
         *
         * @param exportPath the base export directory path
         * @param url the document URL
         * @param formatter the formatter to determine file extensions
         * @return the target file path
         */
        protected Path buildFilePath(final String exportPath, final String url, final IndexExportFormatter formatter) {
            try {
                final URI uri = new URI(url);
    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)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            shutdownMethod.setAccessible(true);
    
            // Invoke the method
            shutdownMethod.invoke(curtainFinallyHook);
    
            // Method should complete without throwing exceptions to the caller
            assertTrue(true);
        }
    
        // Test behavior when an exception occurs during reflection
        @Test
        public void test_shutdownCommonsHttpClient_withException() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top