Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getNotifyInformation (2.25 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        @Test
        @DisplayName("Test constructor creates instance with empty notification list")
        void testConstructor() {
            assertNotNull(response);
            assertNotNull(response.getNotifyInformation());
            assertTrue(response.getNotifyInformation().isEmpty());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
            byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0);
            when(resp.getNotifyInformation()).thenReturn(info);
            setupSmb2(resp, new byte[16]);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
    
            List<FileNotifyInformation> result = sut.watch();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            // Verify each response maintains its own notifications
            assertEquals(1, response1.getNotifyInformation().size());
            assertEquals(mockNotifyInfo1, response1.getNotifyInformation().get(0));
    
            assertEquals(1, response2.getNotifyInformation().size());
            assertEquals(mockNotifyInfo2, response2.getNotifyInformation().get(0));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertTrue(resp instanceof ServerMessageBlock2);
            assertTrue(resp instanceof NotifyResponse);
            assertNotNull(resp.getNotifyInformation());
            assertEquals(0, resp.getNotifyInformation().size());
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top