Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLegacyURLConstructor (0.12 sec)

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

            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");
            try ( SmbResource f = new SmbFile(u) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top