- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TestProperties (0.16 sec)
-
src/test/java/jcifs/tests/TestProperties.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.tests; /** * @author mbechler * */ public final class TestProperties { /** * */ private TestProperties () {} static final String TEST_SHARE_URL_MAIN = "test.share.main.url"; static final String TEST_SHARE_URL_DFSROOT = "test.share.dfsroot.url";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Feb 29 16:38:58 UTC 2020 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/SidTest.java
String sid = getRequiredProperty(TestProperties.TEST_GROUP_SID); SID s = new SID(sid); s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext())); assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName()); assertEquals(getRequiredProperty(TestProperties.TEST_GROUP_NAME), s.getAccountName());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
} protected String getTestDomain () { String testDomain = getProperties().get(TestProperties.TEST_DOMAIN); Assume.assumeNotNull(testDomain); return testDomain; } protected String getTestServer () { String testServer = getProperties().get(TestProperties.TEST_SERVER); Assume.assumeNotNull(testServer); return testServer; }
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/AllTests.java
if ( map.get(TestProperties.EXCLUDE_TEST_MUTATIONS) != null ) { excludes.addAll(Arrays.asList(map.get(TestProperties.EXCLUDE_TEST_MUTATIONS).split("\\s*,\\s*"))); } if ( applyMutations != null && applyMutations.length > 0 && map.get(TestProperties.TEST_MUTATIONS) != null ) { for ( String mutate : map.get(TestProperties.TEST_MUTATIONS).split("\\s*,\\s*") ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
private String getFifoPipeUrl () { String testFifoPipe = getProperties().get(TestProperties.TEST_FIFO_PIPE); Assume.assumeNotNull(testFifoPipe); return "smb://" + getTestServer() + "/IPC$/" + testFifoPipe; } private String getTransactPipeUrl () { String testTransactPipe = getProperties().get(TestProperties.TEST_TRANSACT_PIPE); Assume.assumeNotNull(testTransactPipe);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
assertTrue(dfs.isTrustedDomain(context, testDomain)); assertTrue(dfs.isTrustedDomain(context, testDomain.toLowerCase(Locale.ROOT))); String shortDom = getProperties().get(TestProperties.TEST_DOMAIN_SHORT); if ( shortDom != null ) { assertTrue(dfs.isTrustedDomain(context, shortDom.toUpperCase(Locale.ROOT)));
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/EnumTest.java
@Test public void testBrowseDomain () throws MalformedURLException, CIFSException { CIFSContext ctx = withAnonymousCredentials(); try ( SmbFile smbFile = new SmbFile("smb://" + getRequiredProperty(TestProperties.TEST_DOMAIN_SHORT), ctx) ) { // if domain is resolved through DNS this will be treated as a server and will enumerate shares instead
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0)