- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getTestServer (0.15 sec)
-
src/test/java/jcifs/tests/DfsTest.java
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/PipeTest.java
} @Test public void testSRVS () throws DcerpcException, IOException { try ( DcerpcHandle handle = DcerpcHandle .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) { MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs()); handle.sendrecv(rpc); assertEquals(0, rpc.retval);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
CIFSContext cifsContext = getNewContext().withCredentials(new NtlmPasswordAuthenticator("wrong", "wrong", "wrong")); try ( SmbFile f = new SmbFile("smb://" + getTestServer() + "/IPC$/test", cifsContext); ) { f.connect(); assertFalse(true); } catch ( SmbAuthException e ) { // ignore }
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/OplockTests.java
c = withTestNTLMCredentials(c); try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true) .unwrap(SmbTransportInternal.class); SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
return "smb://" + getTestServer() + "/" + testGuestShare + "/"; } protected String getTestShareURL () { String testShare = getProperties().get(TestProperties.TEST_SHARE_URL_MAIN); if ( testShare != null ) { return testShare; } testShare = getTestShare(); return "smb://" + getTestServer() + "/" + testShare + "/"; }
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/ReadWriteTest.java
Assume.assumeNotNull(testFifoPipe); return "smb://" + getTestServer() + "/IPC$/" + testFifoPipe; } private String getTransactPipeUrl () { String testTransactPipe = getProperties().get(TestProperties.TEST_TRANSACT_PIPE); Assume.assumeNotNull(testTransactPipe); return "smb://" + getTestServer() + "/IPC$/" + testTransactPipe; }
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/ConcurrencyTest.java
c = withTestNTLMCredentials(c); try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true) .unwrap(SmbTransportInternal.class); SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
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/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);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0)