Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for write_stringVariants (0.11 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(8)); // long and double
        }
    
        @Test
        @DisplayName("writeBytes(): writes string bytes; writeChars(): 2x length")
        void write_stringVariants() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false));
            doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
    
            raf.writeBytes("hi");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top