Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 447 for getMessager (0.15 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    }
                }
            };
            try {
                manager.init();
                fail();
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Not found"));
            }
        }
    
        // Test getThumbnailPathOption
        public void test_getThumbnailPathOption() {
            String option = thumbnailManager.getThumbnailPathOption();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, offset));
            assertEquals("Structure size is not 16", exception.getMessage());
        }
    
        @DisplayName("Should parse different share types correctly")
        @ParameterizedTest
        @CsvSource({ "1, 1", // DISK
                "2, 2", // PIPE
                "3, 3", // PRINT
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                // Job should handle exception gracefully
                assertNotNull(result);
            } catch (Exception e) {
                // Exception is expected to be caught within the job
                assertTrue(e.getMessage().contains("Connection failed"));
            }
        }
    
        // Helper method to create mock ClusterHealthResponse
        private ClusterHealthResponse createMockHealthResponse(String clusterName, ClusterHealthStatus status) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            try {
                booleanQueryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException");
            } catch (InvalidQueryException e) {
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        // Test convertBooleanQuery with MUST clause
        public void test_convertBooleanQuery_withMustClause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                SuggestCreator.initializeProbes();
                // If no exception thrown, test passes
                assertTrue(true);
            } catch (Exception e) {
                fail("initializeProbes should not throw exception: " + e.getMessage());
            }
        }
    
        // Test process with properties path
        public void test_process_withPropertiesPath() {
            try {
                // Create temporary properties file
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            DocumentHelper documentHelper = new DocumentHelper();
    
            try {
                documentHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_getTitle() {
            DocumentHelper documentHelper = new DocumentHelper();
            ResponseData responseData = new ResponseData();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            CIFSException exception = assertThrows(CIFSException.class, () -> {
                response.getInfo(FileInternalInfo.class);
            });
    
            assertEquals("Incompatible file information class", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        public void test_init() {
            try {
                languageHelper.init();
                // Should not throw exception
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_updateDocument_withExistingLang() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("lang", "ja");
            doc.put("title", "タイトル");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

                Exception thrownException = assertThrows(Exception.class, mockSession::close, "close() should propagate exceptions");
                assertEquals("Test close exception", thrownException.getMessage());
            }
        }
    
        @Nested
        @DisplayName("Configuration Access Tests")
        class ConfigurationAccessTest {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                IllegalStateException exception = assertThrows(IllegalStateException.class, () -> {
                    testRequest.encode(buffer, 0);
                });
    
                assertTrue(exception.getMessage().contains("Wrong size calculation"));
            }
        }
    
        // Test implementation classes
        private static class TestServerMessageBlock2Request extends ServerMessageBlock2Request<TestServerMessageBlock2Response> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top