Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getTestServer (0.34 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/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)
  3. 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)
  4. 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)
  5. 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