Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for makeRandomDirectoryName (0.21 sec)

  1. src/test/java/jcifs/tests/FileOperationsTest.java

            try ( SmbFile defaultShareRoot = getDefaultShareRoot();
                  SmbFile d = createTestDirectory();
                  SmbResource d1 = new SmbFile(defaultShareRoot, makeRandomDirectoryName());
                  SmbFile d2 = new SmbFile(d, makeRandomDirectoryName()) ) {
                d1.mkdir();
                boolean renamed = false;
                try {
                    d1.renameTo(d2);
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    return bufSize[ 0 ];
                }
            });
            ctx = withTestNTLMCredentials(ctx);
            try ( SmbResource root = ctx.get(getTestShareURL());
                  SmbResource f = root.resolve(makeRandomDirectoryName()) ) {
    
                try ( SmbTreeHandle treeHandle = ( (SmbFile) root ).getTreeHandle() ) {
                    Assume.assumeTrue("Not SMB2", treeHandle.isSMB2());
                }
    
                f.mkdir();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
Back to top