Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 163 for causes (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/ExecJobTest.java

            assertTrue(execJob.jvmOptions.contains("-Xdebug"));
            assertTrue(execJob.jvmOptions.stream().anyMatch(opt -> opt.startsWith("-Xlog:gc")));
        }
    
        // Test edge cases and boundary conditions
        @Test
        public void test_edgeCases() {
            // Test with empty strings
            execJob.sessionId("");
            assertEquals("", execJob.sessionId);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Secured secured = SecuredInterfaceImpl.class.getAnnotation(Secured.class);
            assertNull(secured); // Interface annotations are not inherited by implementing classes
        }
    
        // Test annotation array immutability
        @Test
        public void test_annotationValueImmutability() {
            Secured secured = MultipleRolesClass.class.getAnnotation(Secured.class);
    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)
  3. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            } catch (NullPointerException e) {
                // May occur if ServletContext is not fully initialized
                // This is acceptable in test environment
            }
        }
    
        // Helper test classes
        private static class TestProcessHelper extends ProcessHelper {
            boolean startProcessCalled = false;
            String capturedSessionId;
            List<String> capturedCmdList;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            final String result = indexExportJob.query(QueryBuilders.termQuery("host", "example.com")).execute();
    
            assertEquals("Exported 0 documents.", result);
        }
    
        // --- Edge cases ---
    
        @Test
        public void test_buildFilePath_emptyString() {
            // Empty string is a valid relative URI with null host and empty path
    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)
  5. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                Thread.sleep(100);
            }
    
            // Clean up the thread
            indexUpdater.setFinishCrawling(true);
            indexUpdater.interrupt();
            indexUpdater.join(2000);
    
            // Test passes if no exception is thrown and thread terminates properly
            assertFalse("Thread should have terminated", indexUpdater.isAlive());
        }
    
        // Test run with component not available
        @Test
    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)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                    }
                }
            }
            return null;
        }
    
        /**
         * Stores the document IDs associated with a search query for tracking purposes.
         * This method caches the document IDs returned for a specific query to enable click tracking and analytics.
         *
         * @param queryId the unique identifier for the search query
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                """
            ) {
    
                assertHasNoInformation()
                assertHasNoWarning()
                assertHasErrors(
    
                    // Kotlin file-facade classes are ignored by the @since rule
                    listOf("Class com.example.SourceKt: Is not annotated with @Incubating."),
    
                    added("Field", "cathedral"),
                    added("Method", "SourceKt.foo()"),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("plugin", artifact.getName());
            assertEquals("", artifact.getVersion());
        }
    
        // Test inner classes
        @Test
        public void test_Artifact_constructor() {
            Artifact artifact = new Artifact("test", "1.0.0", "http://test.com/test.jar");
            assertEquals("test", artifact.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

        }
    
        // ===================================================================================
        //                                                                    Helper Classes
        //                                                                    ================
    
        /**
         * Testable subclass that bypasses ComponentUtil dependencies.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        protected Set<String> waitingThreadNames = Collections.synchronizedSet(new HashSet<>());
    
        /**
         * Initializes the SystemHelper.
         * This method sets up system properties, caches, and other initial configurations.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
Back to Top