- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 447 for getMessages (0.06 sec)
-
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
assertEquals(longName, exception.getComponentName()); } public void test_messageFormatting() { // Test message formatting for different constructors ContainerNotAvailableException exception1 = new ContainerNotAvailableException("service1"); assertEquals("service1 is not available.", exception1.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
assertEquals("SSO process failed", topLevel.getMessage()); assertEquals(level1, topLevel.getCause()); assertEquals("Level 1: Authentication service error", topLevel.getCause().getMessage()); assertEquals(level2, topLevel.getCause().getCause()); assertEquals("Level 2: User lookup failed", topLevel.getCause().getCause().getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
assertEquals("Thumbnail generation error", exception.getMessage()); assertEquals(middleCause, exception.getCause()); assertEquals("Processing failed", exception.getCause().getMessage()); assertEquals(innerCause, exception.getCause().getCause()); assertEquals("Invalid image format", exception.getCause().getCause().getMessage()); } public void test_serialization() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertEquals("Type1", exception1.getType()); assertEquals("Message1", exception1.getMessage()); assertEquals("Type2", exception2.getType()); assertEquals("Message2", exception2.getMessage()); assertNotSame(exception1, exception2); } public void test_serialVersionUID() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
final String s = MessageFormatter.getMessage("EMSG0000"); System.out.println(s); assertThat(s, is("[EMSG0000]test")); } /** * @throws Exception */ @Test public void testGetMessageWithArgs() throws Exception { final String s = MessageFormatter.getMessage("EMSG0001", "hoge"); System.out.println(s);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
assertEquals(message, exception.getMessage()); assertSame(cause, exception.getCause()); assertTrue(exception instanceof RuntimeException); } @Test public void testConstructorWithNullMessage() { CurlException exception = new CurlException(null); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// Verify the exception message indicates name resolution failure assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown") || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
try { processHelper.sendCommand("nonexistent", "test command"); fail("Expected JobNotFoundException"); } catch (JobNotFoundException e) { assertTrue(e.getMessage().contains("Job for nonexistent is not found")); } } public void test_startProcess_basicCommand() { String sessionId = "test_session";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange & Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(); // Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause); assertEquals(url, exception.getUrl()); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertFalse(exception.aborted()); } public void test_constructor_withUrlMessageExceptionAndAbortTrue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0)