- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 447 for getMessages (0.07 sec)
-
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
} public void test_init() { try { labelTypeHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_load() { int result = labelTypeHelper.load(); assertTrue(result >= 0); } public void test_refresh() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
logger.error("Failed to purge user info.", e); resultBuf.append(e.getMessage()).append("\n"); } // update job logs try { jobLogService.updateStatus(); } catch (final Exception e) { logger.error("Failed to purge job logs.", e); resultBuf.append(e.getMessage()).append("\n"); } return resultBuf.toString(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
void defaultConstructor_behavesAsExpected() { // Arrange & Act SMBProtocolDecodingException ex = new SMBProtocolDecodingException(); // Assert state assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
SMBSignatureValidationException ex = new SMBSignatureValidationException(msg); // Assert if (msg == null) { assertNull(ex.getMessage(), "Null message should remain null"); } else { assertEquals(msg, ex.getMessage(), "Message should be stored as provided"); } assertNull(ex.getCause(), "Cause should be null for message-only ctor");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
DcerpcException exception = new DcerpcException(errorCode); assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input."); assertTrue(exception.getMessage().contains("DCERPC_FAULT_ACCESS_DENIED"), "Message should contain the corresponding fault message."); } /** * Test constructor DcerpcException(int error) with an unknown error code. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
byte[] emptyToken = new byte[0]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(emptyToken, (byte) 0, keys)); assertEquals("Empty kerberos ticket", e.getMessage()); } @Test void testConstructorWithMalformedToken() { // Test that PACDecodingException is thrown for a malformed token byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
} catch (FessSystemException e) { assertEquals("Invalid format: 12", e.getMessage()); } try { IntervalControlHelper.parseTime("12:30:45"); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("Invalid format: 12:30:45", e.getMessage()); } try { IntervalControlHelper.parseTime("24:00");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
} catch (CurlException e) { assertTrue(e.getMessage().contains("Failed to access the content")); // The cause should be another CurlException from getContentAsStream() assertTrue(e.getCause() instanceof CurlException); CurlException innerException = (CurlException) e.getCause(); assertTrue(innerException.getMessage().contains("The content does not exist"));
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java
assertEquals(SmbException.getStatusByCode(-1), e.getNtStatus()); assertEquals(SmbException.getMessageByCode(-1), e.getMessage()); } @Test void zeroCodeProducesSuccess() { SmbAuthException e = new SmbAuthException(0); assertEquals("NT_STATUS_SUCCESS", e.getMessage()); assertEquals(SmbException.getStatusByCode(0), e.getNtStatus()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
} } public void test_writeThreadDump_withNullPath() { try { ThreadDumpUtil.writeThreadDump(null); // Should not throw exception but log warning } catch (Exception e) { fail("writeThreadDump should handle null path gracefully: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0)