Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for getTargetHost (0.05 seconds)

  1. src/test/java/jcifs/smb/SmbTreeImplTest.java

        @Test
        void testTreeConnectSmb1() throws CIFSException, IOException {
            when(transport.isSMB2()).thenReturn(false);
            when(transport.getContext()).thenReturn(context);
            when(session.getTargetHost()).thenReturn("localhost");
    
            // Mock negotiate response for SMB1
            SmbComNegotiateResponse nego = mock(SmbComNegotiateResponse.class);
            ServerData serverData = new ServerData();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top