Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testIsErrorResponseStatus (0.15 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(fileName, notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Should test isErrorResponseStatus with various status codes")
        void testIsErrorResponseStatus() throws Exception {
            // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error
            setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR);
            assertFalse(response.isErrorResponseStatus());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            void testErrorContextCount() {
                assertEquals(0, testMessage.getErrorContextCount());
            }
    
            @Test
            @DisplayName("Should detect error response status")
            void testIsErrorResponseStatus() {
                assertFalse(testMessage.isErrorResponseStatus());
            }
        }
    
        @Nested
        @DisplayName("Chain Tests")
        class ChainTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top