Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for makeRandomDirectoryName (0.18 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/BaseCIFSTest.java

            try ( SmbFile defaultShareRoot = getDefaultShareRoot() ) {
                SmbFile f = new SmbFile(defaultShareRoot, makeRandomDirectoryName());
                f.mkdir();
                return f;
            }
        }
    
    
        protected void cleanupTestDirectory ( SmbResource f ) throws CIFSException {
            if ( f != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  3. 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