Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for subfolder (0.05 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    		{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the zip.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    		"emptyfolder":          {Mode: 0o755 | os.ModeDir},
    		"file.go":              {Data: []byte("hello")},
    		"subfolder/another.go": {Data: []byte("world")},
    		"symlink.go":           {Mode: 0o777 | os.ModeSymlink, Data: []byte("file.go")},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	var buf bytes.Buffer
    	tw := NewWriter(&buf)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  4. 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();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. 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:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertEquals("share", concreteShare);
            }
    
            @Test
            @DisplayName("Should get path")
            void testGetPath() {
                String path = "folder\\subfolder\\file.txt";
    
                // Test with mock
                when(mockReferralData.getPath()).thenReturn(path);
                assertEquals(path, mockReferralData.getPath());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top