- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testURLHandlerRegistration (0.53 sec)
-
src/test/java/jcifs/tests/ContextConfigTest.java
assertEquals("test-pw", setCredsNtlm.getPassword()); assertThat("anonymous", setCredsNtlm.isAnonymous(), CoreMatchers.is(false)); } @Test public void testURLHandlerRegistration () throws IOException { Config.registerSmbURLHandler(); URL u = new URL("smb://localhost/test"); assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class))); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0)