- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for testSend (2.58 sec)
-
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertThrows(SmbException.class, () -> tree.treeConnect(null, null)); // After failure, state should be reset to disconnected assertEquals(0, tree.connectionState); } @Test void testSend() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:"); tree.connectionState = 2; // Connected state tree.tid = 123;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
void testConstructor() { // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper) // and the credentials. The delegate is tested implicitly by calling super's methods. // We can directly test getCredentials() to ensure it returns the initial credentials.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
String field = "content"; List<String> readings = converter.convert(text, field, "en", "ja", "fr"); assertNotNull(readings); assertEquals(3, readings.size()); assertEquals("TEST_en", readings.get(0)); assertEquals("TEST_ja", readings.get(1)); assertEquals("TEST_fr", readings.get(2)); } @Test public void testConvertWithNoLanguages() throws IOException {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertEquals(Integer.MAX_VALUE, negotiationResponse.getTransactionBufferSize()); // Test negative values (though not typical, should be tested) when(negotiationResponse.getSendBufferSize()).thenReturn(-1); when(negotiationResponse.getReceiveBufferSize()).thenReturn(-1); when(negotiationResponse.getTransactionBufferSize()).thenReturn(-1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
oplockLevelField.setAccessible(true); assertEquals(oplockLevel, oplockLevelField.get(notification)); // Log the test for clarity logger.debug("Tested oplock level: {} ({})", oplockLevel, description); } private static Stream<Arguments> provideOplockLevels() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
byte[] decrypted2 = context.decryptMessage(encrypted2); assertArrayEquals(plaintext2, decrypted2); // Old encrypted data would need old keys to decrypt (not tested here) context.close(); } @Test @DisplayName("Should rotate keys with SecureKeyManager") void testKeyRotationWithSecureKeyManager() throws Exception { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)