Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetInputStream (0.14 sec)

  1. src/test/java/jcifs/SmbPipeHandleTest.java

        }
    
        /**
         * Tests that the getter for the input stream returns the correct stream.
         * @throws CIFSException if an error occurs while getting the stream.
         */
        @Test
        public void testGetInputStream() throws CIFSException {
            assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileTest.java

                doReturn(mockFileHandle).when(smbFile).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
            }
    
            @Test
            void testGetInputStream() throws IOException {
                // Act
                var inputStream = smbFile.getInputStream();
    
                // Assert
                assertNotNull(inputStream);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top