- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for Test (0.15 sec)
-
src/test/java/jcifs/tests/NamingTest.java
PropertyConfiguration cfg = new PropertyConfiguration(prop); BaseContext c = new BaseContext(cfg); c.getNameServiceClient().getByName(getRequiredProperty("test.server.netbios")); c.getNameServiceClient().getAllByName(getRequiredProperty("test.server.netbios"), true); } @Parameters ( name = "{0}" ) public static Collection<Object> configs () {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jun 06 10:48:05 GMT 2020 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
import org.junit.Assert; import org.junit.Test; import jcifs.pac.PACDecodingException; import jcifs.pac.PacMac; import jcifs.util.Hexdump; /** * @author mbechler * */ @SuppressWarnings ( { "nls", "javadoc", "restriction" } ) public class PACTest { @Test public void testNFold () { // rfc3961 test vectors verifyNfold(64, "012345", "be072631276b1955");
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/NtlmTest.java
import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import java.io.IOException; import org.junit.Before; import org.junit.Test; import jcifs.CIFSContext; import jcifs.context.SingletonContext; import jcifs.ntlmssp.NtlmFlags; import jcifs.ntlmssp.Type1Message; import jcifs.ntlmssp.Type2Message; import jcifs.ntlmssp.Type3Message;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 16 10:38:43 GMT 2018 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/SidTest.java
} @Test public void resolveUserSID () throws IOException { String sid = getRequiredProperty(TestProperties.TEST_USER_SID); SID s = new SID(sid); s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext())); assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
} @Test public void testBaseFile () throws MalformedURLException, CIFSException { try ( SmbResource f = getDefaultShareRoot() ) { checkConnection(f); if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) { assertEquals(SmbConstants.TYPE_SHARE, f.getType()); } } } @Test
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
} } } assertTrue("Test directory enum-test/a/b/c/ not found", names.contains("c/")); } try ( SmbFile r = getDefaultShareRoot(); SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) { f.exists(); } } @Test public void testEnumDeepVirgin () throws IOException {
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) -
src/test/java/jcifs/tests/DfsTest.java
private String getTestDfsTargetServer () { String dfsTargetServer = getProperties().get("test.server.dfs"); if ( dfsTargetServer != null ) { return dfsTargetServer; } return getTestServer(); } private String getTestDC () { String dfsTargetServer = getProperties().get("test.domain.dc"); if ( dfsTargetServer != null ) { return dfsTargetServer; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/WatchTest.java
assertNotNull(f); f.get(5, TimeUnit.SECONDS); } } @Test public void testWatchRecursive () throws InterruptedException, ExecutionException, IOException { try ( SmbResource subdir = this.base.resolve("test/") ) { subdir.mkdir(); try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, true) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* * @param challenge The server challenge. * @param dest The destination array in which the user session key will be * placed. * @param offset The offset in the destination array at which the * session key will start. */ void getUserSessionKey(byte[] challenge, byte[] dest, int offset) throws SmbException { if (hashesExternal) return; try {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
SmbResource c = new SmbFile(r, "test?#foo") ) { assertEquals("test?#foo", c.getName()); try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) { assertEquals("test%3f#foo", t.getName()); } } } @Test public void testBindingAddress () throws DcerpcException, MalformedURLException, CIFSException, IOException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 08 13:16:07 GMT 2020 - 23K bytes - Viewed (0)