Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 76 for havde (0.02 seconds)

  1. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertNotNull(paramAnnotations, "Parameter annotations should exist");
            assertEquals("Should have one parameter", 1, paramAnnotations.length);
            assertEquals("Parameter should have one annotation", 1, paramAnnotations[0].length);
    
            final UriType annotation = (UriType) paramAnnotations[0][0];
    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)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    labelConstantCount++;
                }
            }
    
            assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount);
            assertTrue("Should have many label constants", labelConstantCount > 100);
        }
    
        /**
         * Test that label constant values match their field names
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  3. CONTRIBUTING.md

    For any non-trivial change, we need to be able to answer these questions:
    
    * Why is this change done? What's the use case?
    * For user-facing features, what will the API look like?
    * What test cases should it have? What could go wrong?
    * How will it roughly be implemented? We'll happily provide code pointers to save you time.
    
    We may ask you to answer these questions directly in the GitHub issue or (for large changes) in a shared Google Doc.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            QueryContext context = new QueryContext("test", false);
    
            try {
                boostQueryCommand.execute(context, termQuery, 1.0f);
                fail("Should have thrown InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("Unknown q:"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            assertTrue(logs.size() > 0, "Should have at least one failure URL log");
    
            // Verify response structure
            Integer status = JsonPath.from(response).get("response.status");
            assertEquals(0, status);
    
            // Verify log structure
            Map<String, Object> firstLog = logs.get(0);
            assertTrue(firstLog.containsKey("id"), "Log should have id field");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            } catch (SearchQueryException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught SearchQueryException");
            }
        }
    
        @Test
        public void test_throwWithCauseAndCatch() {
            // Test throwing with cause and catching
            String expectedMessage = "Test with cause";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                            String path = htmlNext.getRoutingPath();
                            assertTrue("Admin field should have /admin/ path: " + fieldName + " -> " + path, path.startsWith("/admin/"));
                            adminPaths.add(path);
                        }
                    }
                }
            }
            assertTrue("Should have admin paths", adminPaths.size() > 0);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

            assertTrue(logs.size() > 0, "Should have at least one job log");
    
            // Verify response structure
            Integer status = JsonPath.from(response).get("response.status");
            assertEquals(0, status);
    
            // Verify log structure
            Map<String, Object> firstLog = logs.get(0);
            assertTrue(firstLog.containsKey("id"), "Log should have id field");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            // Verify that multiple threads were processed
            assertTrue("Should process at least one thread", threadCount.get() >= 1);
            assertTrue("Should have stack trace elements", stackTraceCount.get() > 0);
            assertTrue("Should have more stack traces than threads", stackTraceCount.get() > threadCount.get());
        }
    
        @Test
        public void test_processThreadDump_withException() {
    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)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

                }
            };
    
            assertEquals("Custom message should match", "Test message", customAnnotation.message());
            assertEquals("Custom groups should have one element", 1, customAnnotation.groups().length);
            assertEquals("Custom payload should have one element", 1, customAnnotation.payload().length);
            assertEquals("Custom minKey should match", "custom.min", customAnnotation.minKey());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top