Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for subfolders (0.08 seconds)

  1. src/main/java/jcifs/internal/dtyp/ACE.java

            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
            case 0x02:
                return "This folder and subfolders";
            case 0x0A:
                return "Subfolders only";
            case 0x01:
                return "This folder and files";
            case 0x09:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dtyp/ACETest.java

        @ParameterizedTest
        @DisplayName("Test getApplyToText with different flag combinations")
        @CsvSource({ "0x00, This folder only", "'0x03', 'This folder, subfolders and files'", "0x0B, Subfolders and files only",
                "0x02, This folder and subfolders", "0x0A, Subfolders only", "0x01, This folder and files", "0x09, Files only",
                "0x08, Invalid" })
        void testGetApplyToText(String flagsHex, String expectedText) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/ACE.java

            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
            case 0x02:
                return "This folder and subfolders";
            case 0x0A:
                return "Subfolders only";
            case 0x01:
                return "This folder and files";
            case 0x09:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ACETest.java

            void shouldDefineGetApplyToText() {
                ACE ace = mock(ACE.class);
                when(ace.getApplyToText()).thenReturn("This folder, subfolders and files");
    
                String text = ace.getApplyToText();
                assertEquals("This folder, subfolders and files", text);
                verify(ace).getApplyToText();
            }
        }
    
        @Nested
        @DisplayName("Windows Access Check Algorithm Tests")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertTrue(entry1.isComplete());
            assertTrue(entry2.isComplete());
            assertTrue(entry1.hasChild("document.txt"));
            assertFalse(entry1.hasChild("subfolder"));
            assertTrue(entry2.hasChild("subfolder"));
            assertFalse(entry2.hasChild("document.txt"));
    
            // Test individual change notification
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/ACE.java

         *
         * @return the access mask
         */
        int getAccessMask();
    
        /**
         * Returns the 'Apply To' text for inheritance of ACEs on
         * directories such as 'This folder, subfolder and files'. For
         * files the text is always 'This object only'.
         *
         * @return descriptive text for the ACE scope
         */
        String getApplyToText();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test valid SMB paths")
        @ValueSource(strings = { "\\\\server\\share\\file.txt", "folder\\subfolder\\file.doc", "Documents\\Reports\\2024", "file.txt", "" })
        void testValidSmbPaths(String path) {
            assertDoesNotThrow(() -> InputValidator.validateSmbPath(path));
        }
    
        @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/FileNotifyInformationTest.java

                assertEquals(actionValue, mockFileNotifyInfo.getAction());
            }
    
            @ParameterizedTest
            @CsvSource({ "file.txt", "document.doc", "image.png", "folder/subfolder/file.txt", "C:\\Windows\\System32\\config.sys",
                    "/usr/local/bin/app", "file with spaces.txt", "''" // empty string
            })
            @DisplayName("Test getFileName with various file names")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "\\\\server\\share", "\\\\192.168.1.1\\share", "\\\\server.domain.com\\share", "\\\\server\\share\\subfolder",
                "\\\\s\\s" // Minimum path
        })
        @DisplayName("Should handle various valid path formats")
        void testVariousPathFormats(String path) throws Exception {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            void testVeryLongPaths() {
                StringBuilder longPath = new StringBuilder("\\server\\share");
                for (int i = 0; i < 100; i++) {
                    longPath.append("\\subfolder").append(i);
                }
    
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
                when(mockReferral.getNode()).thenReturn(longPath.toString());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
Back to Top