- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getTestShareGuestURL (0.09 sec)
-
src/test/java/jcifs/tests/SessionTest.java
checkConnection(f); f.resolve("test").exists(); } } @Test public void logonAnonymous () throws IOException { try ( SmbResource f = new SmbFile(getTestShareGuestURL(), withAnonymousCredentials()) ) { checkConnection(f); } catch ( SmbAuthException e ) { if ( e.getNtStatus() != NtStatus.NT_STATUS_ACCESS_DENIED ) { throw e;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
String testUser = getProperties().get(TestProperties.TEST_USER_NAME); Assume.assumeNotNull(testUser); return testUser; } protected String getTestShareGuestURL () { String testGuestShare = getProperties().get(TestProperties.TEST_SHARE_GUEST); Assume.assumeNotNull(testGuestShare); return "smb://" + getTestServer() + "/" + testGuestShare + "/"; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
try ( SmbFile defaultShareRoot = getDefaultShareRoot(); SmbResource f = new SmbFile(defaultShareRoot, makeRandomName()); SmbResource p = new SmbFile(getTestShareGuestURL(), getContext()); SmbResource tgt = new SmbFile(p, "other-share") ) { f.createNewFile(); boolean renamed = false; try { f.renameTo(tgt, true);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0)