- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getDefaultShareRoot (0.27 sec)
-
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();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
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();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
} @Test public void testExclusiveLock () throws InterruptedException, MalformedURLException, UnknownHostException { String fname = makeRandomName(); try ( SmbFile sr = getDefaultShareRoot(); SmbResource exclFile = new SmbFile(sr, fname) ) { ExclusiveLockFirst f = new ExclusiveLockFirst(exclFile); ExclusiveLockSecond s = new ExclusiveLockSecond(f, exclFile);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:40:50 GMT 2021 - 17.6K bytes - Viewed (0) -
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 {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0)