- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 365 for test_0 (0.03 seconds)
-
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
@Test public void test_getRelatedQueries_nullQueriesArray() { List<RelatedQuery> testData = new ArrayList<>(); testData.add(createRelatedQuery("test", null, "")); mockBhv.setTestData(testData); relatedQueryHelper.load(); String[] results = relatedQueryHelper.getRelatedQueries("test"); assertEquals(0, results.length); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
searchRequestParams = testParams; } // Test for hasConditionQuery method @Test public void test_hasConditionQuery_withQuery() { // Test with query parameter testParams.conditions.put(SearchRequestParams.AS_Q, new String[] { "test query" }); assertTrue(searchRequestParams.hasConditionQuery()); } @Test public void test_hasConditionQuery_withEmptyQuery() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 26.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
item.setNewInput(null); assertFalse(item.isDeleted()); } @Test public void test_hashCode() { // Test hashCode method StopwordsItem item1 = new StopwordsItem(1, "test"); StopwordsItem item2 = new StopwordsItem(1, "test"); StopwordsItem item3 = new StopwordsItem(2, "test"); StopwordsItem item4 = new StopwordsItem(1, "different");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
} @Test public void test_oneWayCryptography() { // Test that one-way cryptographer is available OneWayCryptographer cryptographer = securityResourceProvider.providePrimaryOneWayCryptographer(); assertNotNull(cryptographer); } @Test public void test_oneWayCryptography_consistency() { // Test that same cryptographer instance is returnedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
break; } } assertTrue(foundTestMethod); } @Test public void test_serialization() { // Test that the exception has serialVersionUID // This test verifies the exception is serializable String message = "Serialization test"; UnsupportedSearchException exception = new UnsupportedSearchException(message);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) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
} // Test annotation is documented @Test public void test_documented() { final Documented documented = UriType.class.getAnnotation(Documented.class); assertNotNull(documented, "Documented annotation should be present"); } // Test Constraint annotation @Test public void test_constraintAnnotation() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
} @Test public void test_stackTrace() { // Test that stack trace is properly captured JobNotFoundException exception = new JobNotFoundException("Stack trace test"); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify the stack trace contains this test method boolean foundTestMethod = false;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
assertEquals("test/path", emptyGenerator.expandPath("test/path")); assertNull(emptyGenerator.expandPath(null)); // Test with file path mappings emptyGenerator.filePathMap.put("${path}/test", "/usr/bin/test"); assertEquals("/usr/bin/test", emptyGenerator.expandPath("${path}/test")); assertEquals("other/path", emptyGenerator.expandPath("other/path")); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
} @Test public void test_constructor_withNullMessage() { // Test constructor with null message SsoLoginException exception = new SsoLoginException(null); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and null causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
booleanQueryCommand.register(); } // Test getQueryClassName method @Test public void test_getQueryClassName() { assertEquals("BooleanQuery", booleanQueryCommand.getQueryClassName()); } // Test execute method with valid BooleanQuery @Test public void test_execute_withBooleanQuery() { // Create a simple BooleanQuery with MUST clause
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.4K bytes - Click Count (0)