Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for testReadSetupWireFormat (0.13 sec)

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

            // Should always return 0
            assertEquals(0, written);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = 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

            // Verify encode was called with correct offset
            verify(mockFileInfo).encode(buffer, offset);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[256];
            int read = trans2SetFileInfo.readSetupWireFormat(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // Test with different offset
            result = response.writeDataWireFormat(dst, 75);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            byte[] buffer = new byte[100];
            int result = response.readSetupWireFormat(buffer, 0, 100);
            assertEquals(0, result);
    
            // Test with different parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top