- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for FILE_ACTION_MODIFIED (0.55 sec)
-
src/test/java/jcifs/internal/NotifyResponseTest.java
when(mockNotifyInfo1.getFileName()).thenReturn("test1.txt"); when(mockNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED); when(mockNotifyInfo2.getFileName()).thenReturn("test2.txt"); } @Test @DisplayName("Test NotifyResponse interface with empty notification list")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
assertEquals(0x00000002, FileNotifyInformation.FILE_ACTION_REMOVED); } @Test @DisplayName("Verify FILE_ACTION_MODIFIED constant value") void testFileActionModified() { assertEquals(0x00000003, FileNotifyInformation.FILE_ACTION_MODIFIED); } @Test @DisplayName("Verify FILE_ACTION_RENAMED_OLD_NAME constant value")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
// Verify third notification assertEquals("file3.txt", notifications.get(2).getFileName()); assertEquals(FileNotifyInformation.FILE_ACTION_MODIFIED, notifications.get(2).getAction()); } @Test @DisplayName("Test readParametersWireFormat with empty buffer") void testReadParametersWireFormatEmptyBuffer() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
@DisplayName("Test decode with valid single entry") void testDecodeValidSingleEntry() throws SMBProtocolDecodingException { String fileName = "document.pdf"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED; byte[] buffer = createValidNotificationBuffer(fileName, action); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length); assertTrue(bytesRead > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
when(fileNotifyInfo1.getFileName()).thenReturn("newfile.txt"); when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED); when(fileNotifyInfo2.getFileName()).thenReturn("existingfile.txt"); when(fileNotifyInfo3.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_REMOVED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
switch (action) { case FILE_ACTION_ADDED: return DirectoryChangeType.FILE_ADDED; case FILE_ACTION_REMOVED: return DirectoryChangeType.FILE_REMOVED; case FILE_ACTION_MODIFIED: return DirectoryChangeType.FILE_MODIFIED; case FILE_ACTION_RENAMED_OLD_NAME: case FILE_ACTION_RENAMED_NEW_NAME: return DirectoryChangeType.DIRECTORY_RENAMED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
} /** * SMB2 File Action constants */ private static final int FILE_ACTION_ADDED = 0x00000001; private static final int FILE_ACTION_REMOVED = 0x00000002; private static final int FILE_ACTION_MODIFIED = 0x00000003; private static final int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004; private static final int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005; /** * SMB2 File Notify Change constants
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/FileNotifyInformation.java
*/ int FILE_ACTION_ADDED = 0x00000001; /** * File has been removed */ int FILE_ACTION_REMOVED = 0x00000002; /** * File has been modified */ int FILE_ACTION_MODIFIED = 0x00000003; /** * File has been renamed (old name) */ int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004; /** * File has been renamed (new name) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertTrue(response.isErrorResponseStatus()); } @DisplayName("Should handle various file actions") @ParameterizedTest @CsvSource({ "1, FILE_ACTION_ADDED", "2, FILE_ACTION_REMOVED", "3, FILE_ACTION_MODIFIED", "4, FILE_ACTION_RENAMED_OLD_NAME", "5, FILE_ACTION_RENAMED_NEW_NAME", "6, FILE_ACTION_ADDED_STREAM", "7, FILE_ACTION_REMOVED_STREAM", "8, FILE_ACTION_MODIFIED_STREAM" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)