Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FILE_ACTION_RENAMED_NEW_NAME (0.18 sec)

  1. src/test/java/jcifs/FileNotifyInformationTest.java

            }
    
            @Test
            @DisplayName("Verify FILE_ACTION_RENAMED_NEW_NAME constant value")
            void testFileActionRenamedNewName() {
                assertEquals(0x00000005, FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME);
            }
    
            @Test
            @DisplayName("Verify FILE_ACTION_ADDED_STREAM 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)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        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
         */
        private static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            when(renamedOld.getFileName()).thenReturn("oldname.txt");
    
            FileNotifyInformation renamedNew = mock(FileNotifyInformation.class);
            when(renamedNew.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME);
            when(renamedNew.getFileName()).thenReturn("newname.txt");
    
            List<FileNotifyInformation> notifications = Arrays.asList(addedFile, removedFile, modifiedFile, renamedOld, renamedNew);
    
    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. docs/smb3-features/04-directory-leasing-design.md

                case FILE_ACTION_MODIFIED: return DirectoryChangeType.FILE_MODIFIED;
                case FILE_ACTION_RENAMED_OLD_NAME:
                case FILE_ACTION_RENAMED_NEW_NAME: return DirectoryChangeType.DIRECTORY_RENAMED;
                default: return DirectoryChangeType.ATTRIBUTES_CHANGED;
            }
        }
        
        private int getNotificationFilter() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/FileNotifyInformation.java

        /**
         * File has been renamed (old name)
         */
        int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004;
    
        /**
         * File has been renamed (new name)
         */
        int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005;
    
        /**
         * File stream has been added
         */
        int FILE_ACTION_ADDED_STREAM = 0x00000006;
        /**
         * File stream has been removed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

                FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
                FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, FileNotifyInformation.FILE_ACTION_ADDED_STREAM,
                FileNotifyInformation.FILE_ACTION_REMOVED_STREAM, FileNotifyInformation.FILE_ACTION_MODIFIED_STREAM,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

                FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
                FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, FileNotifyInformation.FILE_ACTION_ADDED_STREAM,
                FileNotifyInformation.FILE_ACTION_REMOVED_STREAM, FileNotifyInformation.FILE_ACTION_MODIFIED_STREAM })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        @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" })
        void testDifferentFileActions(int action, String description) throws Exception {
            // Given
    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