Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getDFSRootURL (0.19 sec)

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

                return testShare;
            }
    
            testShare = getTestShare();
            return "smb://" + getTestServer() + "/" + testShare + "/";
        }
    
    
        protected String getDFSRootURL () {
            String testDfsShare = getProperties().get(TestProperties.TEST_SHARE_URL_DFSROOT);
            Assume.assumeNotNull(testDfsShare);
            return testDfsShare;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/DfsTest.java

        }
    
    
        /**
         * @return
         * @throws URISyntaxException
         */
        private String getDFSShare () throws URISyntaxException {
            URI dfsRoot = new URI(getDFSRootURL());
            String dfsRootPath = dfsRoot.getPath();
            int firstSep = dfsRootPath.indexOf('/', 1);
            String dfsShare;
            if ( firstSep > 0 ) {
                dfsShare = dfsRootPath.substring(1, firstSep);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

                Assume.assumeTrue(false);
            }
        }
    
    
        @Test
        public void testDFSShareEnum () throws CIFSException, MalformedURLException {
            String dfsRoot = getDFSRootURL();
            try ( SmbFile smbFile = new SmbFile(dfsRoot, withTestNTLMCredentials(getContext())) ) {
                String[] list = smbFile.list();
                assertNotNull(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)
Back to top