Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testInsufficientBufferSize (0.11 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            assertTrue(exception.getMessage().contains("got: 64"));
        }
    
        /**
         * Test that insufficient buffer size is properly detected.
         */
        @Test
        public void testInsufficientBufferSize() {
            byte[] tooSmallBuffer = new byte[32]; // Much smaller than required 65 bytes
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

    Shinsuke Sugaya <******@****.***> 1755149504 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top