Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCompleteWireFormatWriting (0.21 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertEquals(0, trans2QueryFSInfo.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("Test complete wire format writing")
        void testCompleteWireFormatWriting() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO);
    
            byte[] setupBuffer = new byte[256];
            byte[] paramBuffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101
        }
    
        @Test
        @DisplayName("Test complete wire format writing")
        void testCompleteWireFormatWriting() {
            when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
            when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(50);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top