Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getDefaultShareRoot (0.24 sec)

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

        }
    
    
        @Test
        public void testRenameFile () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbFile defaultShareRoot = getDefaultShareRoot();
                  SmbResource f = new SmbFile(defaultShareRoot, makeRandomName());
                  SmbFile f2 = new SmbFile(defaultShareRoot, makeRandomName()) ) {
                f.createNewFile();
    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/FileAttributesTest.java

        public void testShareSize () throws IOException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                long l = f.length();
                Assume.assumeTrue("No share size reported", l != 0);
            }
        }
    
    
        @Test
        public void testShareFreeSize () throws IOException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                long fs = f.getDiskFreeSpace();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                "smb2",
                "smb2-nego",
                "smb30",
                "smb31");
        }
    
    
        @Test
        public void logonUser () throws IOException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                checkConnection(f);
                f.resolve("test").exists();
            }
        }
    
    
        @Test
        public void logonUserHash () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/EnumTest.java

            }
    
            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) {
                f.exists();
            }
    
        }
    
    
        @Test
        public void testEnumDeepVirgin () throws IOException {
    
            try ( SmbFile r = getDefaultShareRoot();
                  SmbFile f = new SmbFile(r, "x-test/") ) {
    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