- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 447 for getMessages (0.06 sec)
-
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertTrue(exception instanceof Throwable); } public void test_getMessage() { // Test that getMessage returns null (no message set in constructor) UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertNull(exception.getMessage()); } public void test_getCause() { // Test that getCause returns null (no cause set in constructor)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
Throwable cause = ((java.lang.reflect.InvocationTargetException) exception).getCause(); assertTrue(cause instanceof CIFSException); assertTrue(cause.getMessage().contains("Failed to create multi-channel transport")); } @Test @DisplayName("createChannelTransport should handle localhost addresses")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
}, "A PACDecodingException should be thrown for a non-empty string with a zero pointer."); // Verify the exception message assertEquals("Non-empty string", exception.getMessage(), "The exception message is not correct."); } /** * Tests the {@link PacUnicodeString#check(String)} method with a string of incorrect length. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
when(handle.ensureTreeConnected()).thenThrow(boom); // Act + Assert CIFSException ex = assertThrows(CIFSException.class, out::ensureTreeConnected); assertEquals("tree-fail", ex.getMessage()); verify(handle, times(1)).ensureTreeConnected(); } @Test @DisplayName("ensureOpen delegates and returns the file handle") void ensureOpen_delegatesAndReturns() throws Exception {
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/jcifs/smb/Kerb5ContextTest.java
CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(data)); assertTrue(ex.getMessage().contains("Failed to calculate MIC")); } @Test @DisplayName("calculateMIC with null data throws NPE") void calculateMIC_nullData() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
} catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior assertTrue(e.getMessage().contains("dir") && e.getMessage().contains("file.conf")); } } public void test_getClassesPath() { Path classesPath = ResourceUtil.getClassesPath("test.class"); assertNotNull(classesPath);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
return true; } catch (ClassNotFoundException e) { log.debug("DiSNI not available: {}", e.getMessage()); return false; } catch (UnsatisfiedLinkError e) { log.debug("DiSNI native libraries not available: {}", e.getMessage()); return false; } } @Override public Set<RdmaCapability> getSupportedCapabilities() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
"Should throw exception when length < 24"); assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match"); } @Test @DisplayName("Test decode throws exception with zero length") void testDecodeThrowsExceptionWithZeroLength() { byte[] buffer = new byte[28];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
provider.provide(null); fail("Should throw exception for null classification name"); } catch (ProvidedClassificationNotFoundException e) { // expected assertTrue(e.getMessage().contains("Not found the classification: null")); } catch (NullPointerException e) { // Also acceptable if null is not handled explicitly } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0)