Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWriteBytesWireFormatWithNullFileId (0.83 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null file ID should handle gracefully")
        void testWriteBytesWireFormatWithNullFileId() {
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            byte[] buffer = new byte[256];
    
            // Should throw NullPointerException when trying to copy null array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(testFlags, SMBUtil.readInt2(buffer, 2));
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null file ID should handle gracefully")
        void testWriteBytesWireFormatWithNullFileId() {
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            byte[] buffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top