- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getTransport (0.06 sec)
- 
				
				src/test/java/jcifs/smb/SmbSessionInternalTest.java} // Happy path: transport is returned and verified @Test @DisplayName("getTransport returns mocked transport") void getTransport_happy() { when(session.getTransport()).thenReturn(transport); assertSame(transport, session.getTransport()); verify(session).getTransport(); } // Happy path: connect to logon share completes without exception @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SmbSessionInternal.java*/ byte[] getSessionKey() throws CIFSException; /** * Returns the SMB transport associated with this session. * * @return the transport for this session */ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/smb/SmbTreeImplTest.javavoid setUp() throws Exception { MockitoAnnotations.openMocks(this); when(session.getConfig()).thenReturn(config); when(session.getContext()).thenReturn(context); when(session.getTransport()).thenReturn(transport); when(session.acquire()).thenReturn(session); when(config.isTraceResourceUsage()).thenReturn(false); when(context.getConfig()).thenReturn(config); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java} @Test void testConstructor() { assertEquals("test-channel", channelInfo.getChannelId()); assertEquals(mockTransport, channelInfo.getTransport()); assertEquals(localInterface, channelInfo.getLocalInterface()); assertEquals(remoteInterface, channelInfo.getRemoteInterface()); assertEquals(ChannelState.DISCONNECTED, channelInfo.getState());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.javachannel.setState(ChannelState.ESTABLISHED); // Verify channel properties assertEquals("test-channel", channel.getChannelId()); assertEquals(mockTransport, channel.getTransport()); assertEquals(localNic, channel.getLocalInterface()); assertEquals(remoteNic, channel.getRemoteInterface()); assertEquals(ChannelState.ESTABLISHED, channel.getState()); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0)