- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 707 for 1test (0.01 seconds)
-
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
} @Test public void test_serialVersionUID() { // Test that serialVersionUID is properly set CommandExecutionException exception1 = new CommandExecutionException("Test"); CommandExecutionException exception2 = new CommandExecutionException("Test"); // Both instances should be of the same classCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
inject(relatedContentHelper); inject(virtualHostHelper); } @Test public void test_init() { // Setup test data List<RelatedContent> testData = new ArrayList<>(); testData.add(createRelatedContent("test", "Test Content", "")); mockBhv.setTestData(testData); relatedContentHelper.init();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
} @Test public void test_getMessage() { // Test that getMessage returns null (no message set in constructor) UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertNull(exception.getMessage()); } @Test public void test_getCause() { // Test that getCause returns null (no cause set in constructor)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
GsaConfigException exception = new GsaConfigException("Serialization test"); // Verify the exception is serializable (has serialVersionUID) assertNotNull(exception); // The serialVersionUID field exists and is accessible at compile time assertTrue(exception instanceof java.io.Serializable); } @Test public void test_stackTrace() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
assertEquals("second line", callbackResults.get(1)); String output = thread.getOutput(); assertTrue(output.contains("integration test")); assertTrue(output.contains("second line")); } @Test public void test_defaultBufferSizeConstant() throws IOException { Process mockProcess = createMockProcess("test");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java
} catch (final LlmException e) { caught = true; assertEquals("Test exception", e.getMessage()); } assertTrue(caught); } @Test public void test_catchAsFessSystemException() { boolean caught = false; try { throw new LlmException("Test exception"); } catch (final FessSystemException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 04:19:06 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} @Test public void test_unescape() throws Exception { // Test with escaped characters (backslash sequences) String content = "test\\t1\n" + // escaped tab sequence "test\\n2\n" + // escaped newline sequence "test3\n"; // no escape // Write content to test file writeTestFile(content);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
} // Test main method with valid arguments @Test public void test_main_validArguments() { // Cannot directly test main as it calls System.exit // Test options parsing instead SuggestCreator.Options options = new SuggestCreator.Options(); options.sessionId = "test-session"; options.name = "test-name"; assertEquals("test-session", options.sessionId);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
} // Test annotation retention policy @Test public void test_annotationRetention() { java.lang.annotation.Retention retention = CronExpression.class.getAnnotation(java.lang.annotation.Retention.class); assertNotNull(retention); assertEquals(java.lang.annotation.RetentionPolicy.RUNTIME, retention.value()); } // Test annotation is documented @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerFactoryTest.java
} // Basic test to verify test framework is working @Test public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test"); assertEquals(1, 1); } // Test placeholder for future implementation @Test public void test_placeholder() { // This test verifies the test class can be instantiated and runCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.9K bytes - Click Count (0)