Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTestShareURL (0.12 sec)

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

                String[] list = smbFile.list();
                assertNotNull(list);
                assertTrue("No share found", list.length > 0);
                log.debug(Arrays.toString(list));
    
                String shareUrl = getTestShareURL();
                String link = shareUrl.substring(dfsRoot.length());
    
                Set<String> listLinks = new HashSet<>(Arrays.asList(list));
                int firstSep = link.indexOf('/');
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

            CIFSContext ctx = getContext().withCredentials(new NtlmNtHashAuthenticator(getTestUserDomain(), getTestUser(), hash));
            try ( SmbResource f = new SmbFile(getTestShareURL(), ctx); ) {
                checkConnection(f);
                f.resolve("test").exists();
            }
        }
    
    
        @Test
        public void logonAnonymous () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top