- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getTestDomain (0.07 sec)
-
src/test/java/jcifs/tests/DfsTest.java
@Test public void resolveDC () throws CIFSException { CIFSContext context = withAnonymousCredentials(); DfsResolver dfs = context.getDfs(); try ( SmbTransport dc = dfs.getDc(context, getTestDomain()) ) { Address addr = dc.getRemoteAddress(); String remoteHostName = dc.getRemoteHostName(); assertNotNull(addr); assertNotNull(remoteHostName);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
} protected CIFSContext withAnonymousCredentials () { return getContext().withAnonymousCredentials(); } protected String getTestDomain () { String testDomain = getProperties().get(TestProperties.TEST_DOMAIN); Assume.assumeNotNull(testDomain); return testDomain; } protected String getTestServer () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
throw e; } Assume.assumeNoException(e); } @Test public void logonUserNoDomain () throws IOException { Assume.assumeTrue(getTestDomain().equalsIgnoreCase(getTestUserDomain())); // without a domain name, at this point we do not resolve the domain DFS roots Assume.assumeTrue(getProperties().get("test.share.dfsroot.url") == null);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
} } @Test public void testDomainSeverEnum () throws MalformedURLException, CIFSException { try ( SmbFile smbFile = new SmbFile("smb://" + getTestDomain(), withTestNTLMCredentials(getContext())) ) { String[] list = smbFile.list(); assertNotNull(list); log.debug(Arrays.toString(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)