- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for withTestNTLMCredentials (0.13 sec)
-
src/test/java/jcifs/tests/DfsTest.java
} } @Test public void resolveDomains () throws CIFSException { CIFSContext context = getContext(); context = withTestNTLMCredentials(context); DfsResolver dfs = context.getDfs(); String testDomain = getTestDomain(); assertTrue(dfs.isTrustedDomain(context, testDomain));
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/ReadWriteTest.java
try ( SmbNamedPipe s = new SmbNamedPipe(getFifoPipeUrl(), SmbPipeResource.PIPE_TYPE_WRONLY, withTestNTLMCredentials(getContext())); SmbNamedPipe t = new SmbNamedPipe(getFifoPipeUrl(), SmbPipeResource.PIPE_TYPE_RDONLY, withTestNTLMCredentials(getContext())) ) { try ( SmbPipeHandle sp = s.openPipe(); SmbPipeHandle tp = t.openPipe() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
} } @Test public void testShareEnum () throws MalformedURLException, CIFSException { try ( SmbFile smbFile = new SmbFile("smb://" + getTestServer(), withTestNTLMCredentials(getContext())) ) { String[] list = smbFile.list(); assertNotNull(list); assertTrue("No share found", list.length > 0); log.debug(Arrays.toString(list)); }
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/SessionTest.java
log.error("Exception", e); throw e; } } @Test public void transportReuseSimple () throws CIFSException { CIFSContext ctx = withTestNTLMCredentials(getContext()); String loc = getTestShareURL(); try ( SmbResource f1 = ctx.get(loc) ) { f1.exists(); try ( SmbResource f2 = ctx.get(loc) ) { f2.exists();
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/ConcurrencyTest.java
e.printStackTrace(); } } }); try { CIFSContext c = getContext(); c = withTestNTLMCredentials(c); try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true) .unwrap(SmbTransportInternal.class);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
@Test public void testTimeoutOpenFile () throws IOException, InterruptedException { // 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();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0)