Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for url (0.18 sec)

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

                    b.createNewFile();
                    c.createNewFile();
    
                    CIFSContext tc = withTestNTLMCredentials(ctx);
    
                    String url = getTestShareURL() + f.getName() + "a/";
    
                    try ( SmbFile f2 = new SmbFile(url, tc) ) {
                        f2.list();
                    }
                }
                finally {
                    f.delete();
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ContextConfigTest.java

            Config.registerSmbURLHandler();
            URL u = new URL("smb://localhost/test");
            assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class)));
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testLegacyURLConstructor () throws IOException {
            Config.registerSmbURLHandler();
            URL u = new URL("smb://DOMAIN;foo:bar@localhost/test");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                    Assume.assumeTrue(false);
                }
                throw e;
            }
        }
    
    
        protected void testCredentialUrl ( String url, String user, String pass, String dom ) throws SmbException, MalformedURLException {
            try ( SmbFile f = new SmbFile(url) ) {
                Credentials creds = f.getContext().getCredentials();
    
                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
Back to top