- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 79 for trans1 (0.1 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(trans1.unwrap(SmbTransportImpl.class)).thenReturn(trans1); when(trans1.ensureConnected()).thenReturn(true); when(trans1.acquire()).thenReturn(trans1); doNothing().when(trans1).close(); // Return mocked transports doReturn(trans1).when(poolSpy).getSmbTransport(eq(ctx), eq(addr1), anyInt(), anyBoolean(), anyBoolean());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
import jcifs.ResourceNameFilter; import jcifs.SmbResource; import jcifs.SmbResourceLocator; import jcifs.internal.smb1.com.SmbComFindClose2; import jcifs.internal.smb1.trans2.Trans2FindFirst2; import jcifs.internal.smb1.trans2.Trans2FindFirst2Response; import jcifs.internal.smb1.trans2.Trans2FindNext2; @ExtendWith(MockitoExtension.class) class DirFileEntryEnumIterator1Test { @Mock SmbTreeHandleImpl tree; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} throw se; } } /** * @param trans * @param sess * @throws CIFSException * */ private void validateNegotiation(final SmbTransportImpl trans, final SmbSessionImpl sess) throws CIFSException { if (!trans.isSMB2() || trans.getDigest() == null || !sess.getConfig().isRequireSecureNegotiate()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99); assertNotNull(trans2); // Exception should be thrown when trying to write parameters byte[] buffer = new byte[256]; assertThrows(IllegalArgumentException.class, () -> { trans2.writeParametersWireFormat(buffer, 0); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.config.PropertyConfiguration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.smb1.trans.SmbComTransaction; import jcifs.internal.smb1.trans.SmbComTransactionResponse; class Trans2SetFileInformationResponseTest { private Trans2SetFileInformationResponse response; private Configuration config; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
static final int TRANSACTION_BUF_SIZE = 0xFFFF; /** * SMB TRANS2 subcommand for finding first matching files */ public static final byte TRANS2_FIND_FIRST2 = (byte) 0x01; /** * SMB TRANS2 subcommand for finding next matching files */ public static final byte TRANS2_FIND_NEXT2 = (byte) 0x02; /** * SMB TRANS2 subcommand for querying file system information */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
package jcifs.internal.smb1.trans2; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
package jcifs.internal.smb1.trans2; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
package jcifs.internal.smb1.trans2; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)