- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 324 for getMessages (2.96 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex)); assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
"Should throw CIFSException for incompatible class"); assertEquals("Incompatible file information class", exception.getMessage()); } @Test @DisplayName("Test writeBytesWireFormat returns 0") void testWriteBytesWireFormat() { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
log.warn("Failed to destroy SecretKey: {}", e.getMessage()); } } // Remove from KeyStore if (keyStore != null) { try { keyStore.deleteEntry("smb.session." + sessionId); } catch (Exception e) { log.debug("Failed to remove key from KeyStore: {}", e.getMessage()); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] actualBuffer = (byte[]) outputBufferField.get(response); assertSame(outputBuffer, actualBuffer); } catch (Exception e) { fail("Failed to access outputBuffer field: " + e.getMessage()); } } @Test void testWriteSetupWireFormat() { // Test that writeSetupWireFormat returns 0 byte[] dst = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
String malformedUrl = "invalid-url"; CIFSException thrown = assertThrows(CIFSException.class, () -> { cifsContextWrapper.get(malformedUrl); }); assertTrue(thrown.getMessage().contains("Invalid URL")); assertTrue(thrown.getCause() instanceof MalformedURLException); } @Test void testGetPipe() throws CIFSException, MalformedURLException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
} catch (IOException e) { assertTrue(e.getMessage().contains("endpoint is blank")); } // Second call should also fail with the same error try { conn.connect(); fail("Should throw IOException"); } catch (IOException e) { assertTrue(e.getMessage().contains("endpoint is blank")); } } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
try { validator.validatePath("\\share\\forbidden\\file.txt"); fail("Should block blacklisted path"); } catch (SmbException e) { assertTrue(e.getMessage().contains("not allowed")); } // Should allow other paths String allowed = validator.validatePath("\\share\\allowed\\file.txt"); assertEquals("\\share\\allowed\\file.txt", allowed);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java
@Test public void testSIndexOutOfBoundsExceptionString() { final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge"); assertThat(clIndexOutOfBoundsException.getMessage(), is("hoge")); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} catch (RuntimeException e) { assertEquals("Simulated processing error", e.getMessage()); // If InputStream wasn't properly closed, this would leak resources // try-with-resources ensures cleanup happens } catch (IOException e) { fail("Should not throw IOException: " + e.getMessage()); } } /** * Test resource content integrity.
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0)