- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for testMkdir (0.1 seconds)
-
src/test/java/jcifs/smb/SmbFileTest.java
// Mock tree handle's getConfig() to return our mock config when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testMkdir() throws SmbException, CIFSException { // Arrange when(mockTreeHandle.isSMB2()).thenReturn(false); // Mock exists() check - mkdir checks if directory already exists
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testDeleteTempDir(null); // Test with existing directory File testDir = new File(tempDir, "test_delete_dir"); assertTrue(testDir.mkdir()); assertTrue(testDir.exists()); execJob.testDeleteTempDir(testDir); assertFalse(testDir.exists()); // Test with non-existent directory File nonExistentDir = new File(tempDir, "non_existent");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
Multiple files can be added. Files ending in '.zip' will be searched for 'xl.meta' files. Wildcards are accepted: 'testdir/*.txt' will compress all files in testdir ending with '.txt', directories can be wildcards as well. 'testdir/*/*.txt' will match 'testdir/subdir/b.txt', double stars means full recursive. 'testdir/**/xl.meta' will search for all xl.meta recursively. FLAGS: {{range .VisibleFlags}}{{.}} {{end}} `
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
context.getConfig().setProperty("jcifs.smb.client.directoryNotificationsEnabled", "true"); SmbFile dir = new SmbFile("smb://server/share/testdir/", context); SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context); // Get initial listing (establishes cache) SmbFile[] initialFiles = dir.listFiles(); // Create new file
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
internal/bucket/replication/replication_test.go
prefix: "testdir/", expectedNonRec: false, expectedRec: true, }, // case 5 - has filter with prefix and tags, here we are not matching on tags
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.4K bytes - Click Count (0) -
internal/store/queuestore_test.go
"testing" jsoniter "github.com/json-iterator/go" "github.com/valyala/bytebufferpool" ) type TestItem struct { Name string `json:"Name"` Property string `json:"property"` } var ( // TestDir queueDir = filepath.Join(os.TempDir(), "minio_test") // Sample test item. testItem = TestItem{Name: "test-item", Property: "property"} // Ext for test item testItemExt = ".test" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
@Test @DisplayName("getName should handle directory names with trailing slash") void testGetName_DirectoryWithSlash() throws CIFSException { // Given String expectedName = "testdir/"; when(mockResource.getName()).thenReturn(expectedName); // When String name = mockResource.getName(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)