Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for returnsFour_whenStructureSizeIsFour (1.1 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

        class ReadBytesWireFormat {
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 5, 10 })
            @DisplayName("Reads structure size 4 and returns 4 for various start indexes")
            void returnsFour_whenStructureSizeIsFour(int start) throws Exception {
                // Arrange: build a buffer that has the little-endian value 4 at 'start'
                int len = start + 2; // need at least two bytes from start
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top