Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getTestServer (0.15 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

                return dfsTargetServer;
            }
            return getTestServer();
        }
    
    
        private String getTestDC () {
            String dfsTargetServer = getProperties().get("test.domain.dc");
            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
            return getTestServer();
        }
    
    
        @Override
        @Before
        public void setUp () throws Exception {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
Back to top