- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for testMkdir (0.25 sec)
-
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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) { // probably URISyntaxException or IllegalArgumentException // fall back to copying URLs to files in the testDir == null block below } } if (testDir == null) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); assertEquals("testDir", sdd.path); assertEquals(ServerMessageBlock.SMB_COM_DELETE_DIRECTORY, sdd.command); } /** * Test writeParameterWordsWireFormat. */ @Test void testWriteParameterWordsWireFormat() { SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); byte[] dst = new byte[10];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir"); byte[] dst = new byte[10]; int result = smbCom.writeParameterWordsWireFormat(dst, 0); assertEquals(0, result); } @Test void testWriteBytesWireFormat() { // Test the byte format written by the class String directoryName = "\testDir";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
} Map getInitializationParams() { return [ publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'], apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path, projectRootDir: testDir.path, ] } String replaceAsInternal(String name) { return name.replace('gradlebuild', 'gradlebuild.internal') }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 2K bytes - Viewed (0) -
docs/ftp/README.md
ftp> ls runner/ 229 Entering Extended Passive Mode (|||39155|) 150 Opening ASCII mode data connection for file list drwxrwxrwx 1 nobody nobody 0 Jan 1 00:00 chunkdocs/ drwxrwxrwx 1 nobody nobody 0 Jan 1 00:00 testdir/ ... ``` Following example shows how to list an object and download it locally via `ftp` client: ``` ftp> ls runner/chunkdocs/metadata 229 Entering Extended Passive Mode (|||44269|)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 07 06:41:25 UTC 2024 - 7.8K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (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}} `
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 40.4K bytes - Viewed (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
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.4K bytes - Viewed (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" )
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0)