Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testMultipleEncodeOperations (0.57 sec)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            assertEquals(0, SMBUtil.readInt4(buffer, 16)); // name length = 0
            assertEquals(20, bytesWritten);
        }
    
        @Test
        @DisplayName("Test multiple encode operations")
        void testMultipleEncodeOperations() {
            String fileName = "test.txt";
            FileRenameInformation2 info = new FileRenameInformation2(fileName, true);
    
            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals("EndOfFileInformation[endOfFile=" + Long.MAX_VALUE + "]", info3.toString());
        }
    
        @Test
        @DisplayName("Test multiple encode operations")
        void testMultipleEncodeOperations() {
            long endOfFile = 0x1234567890ABCDEFL;
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
            // Encode multiple times to verify consistency
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top