- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getTestShareURL (0.19 sec)
-
src/test/java/jcifs/tests/DfsTest.java
Assume.assumeTrue("Is domain DFS", isStandalone()); CIFSContext context = getContext(); context = withTestNTLMCredentials(context); try ( SmbResource root = context.get(getTestShareURL()) ) { root.exists(); try ( SmbResource t = root.resolve(makeRandomName()) ) { try { t.createNewFile(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
CIFSContext ctx = getContext().withCredentials(new Kerb5Authenticator(s, getTestUserDomainRequired(), getTestUser(), getTestUserPassword())); try ( SmbResource f = new SmbFile(getTestShareURL(), ctx) ) { f.exists(); } catch ( SmbUnsupportedOperationException e ) { Assume.assumeTrue("Using short names", false); } } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
String[] list = smbFile.list(); assertNotNull(list); assertTrue("No share found", list.length > 0); log.debug(Arrays.toString(list)); String shareUrl = getTestShareURL(); String link = shareUrl.substring(dfsRoot.length()); Set<String> listLinks = new HashSet<>(Arrays.asList(list)); int firstSep = link.indexOf('/');
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
} protected SmbFile getDefaultShareRoot () throws MalformedURLException { return new SmbFile(getTestShareURL(), withTestNTLMCredentials(getContext())); } protected SmbResource getDefaultShareRoot ( CIFSContext ctx ) throws MalformedURLException { return new SmbFile(getTestShareURL(), withTestNTLMCredentials(ctx)); }
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/SessionTest.java
CIFSContext ctx = getContext().withCredentials(new NtlmNtHashAuthenticator(getTestUserDomain(), getTestUser(), hash)); try ( SmbResource f = new SmbFile(getTestShareURL(), ctx); ) { checkConnection(f); f.resolve("test").exists(); } } @Test public void logonAnonymous () 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) -
src/test/java/jcifs/tests/TimeoutTest.java
// use separate context here as the settings stick to the transport CIFSContext ctx = lowTimeout(withTestNTLMCredentials(getNewContext())); try ( SmbFile f = new SmbFile(new SmbFile(getTestShareURL(), ctx), makeRandomName()) ) { int soTimeout = ctx.getConfig().getSoTimeout(); f.createNewFile(); try { try ( OutputStream os = f.getOutputStream() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0)