Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 206 for causes (0.31 seconds)

  1. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

        }
    
        // Helper methods for creating mock objects
        private SearchRequestParams createMockSearchRequestParams() {
            return new MockSearchRequestParams();
        }
    
        // Mock classes
        private static class MockFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
    
            @Override
            public String getCookieSearchParameterRequiredKeys() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.testDistributionServerUrl: Provider<String>
        get() = gradleProperty(TEST_DISTRIBUTION_SERVER_URL)
    
    
    // Controls the test distribution partition size. The test classes smaller than this value will be merged into a "partition"
    val Project.maxTestDistributionPartitionSecond: Long?
        get() = systemProperty(TEST_DISTRIBUTION_PARTITION_SIZE).orNull?.toLong()
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top