Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToStringWithDifferentOplockLevels (0.7 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @DisplayName("Should format different oplock levels correctly")
            @CsvSource({ "0, 0", "1, 1", "2, 2", "8, 8", "255, -1" // byte 255 is -1 when printed as signed
            })
            void testToStringWithDifferentOplockLevels(int inputValue, String expectedDisplay) throws Exception {
                byte oplockLevel = (byte) inputValue;
    
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top