- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for assertTrue (0.19 sec)
-
src/test/java/jcifs/tests/EnumTest.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
*/ package jcifs.tests; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.net.MalformedURLException; import java.net.URL; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.nio.charset.UnsupportedCharsetException;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jun 06 10:48:05 GMT 2020 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
*/ package jcifs.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.net.MalformedURLException; import java.net.UnknownHostException; import java.util.Collection; import java.util.Date; import java.util.Map; import org.junit.Assert;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K 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)));
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/WatchTest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.tests; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.UnknownHostException; import java.util.Collection;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
SmbFile t = new SmbFile(d1, makeRandomName()) ) { try { f.copyTo(t); assertTrue(f.exists()); try ( SmbResource e2 = new SmbFile(t, "test") ) { assertTrue(e2.exists()); try ( InputStream is = e2.openInputStream() ) { ReadWriteTest.verifyRandom(bufSize, length, is);
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
props.put("jcifs.smb.client.password", "my-default-password"); CIFSContext auth = new BaseContext(new PropertyConfiguration(props)); assertTrue(auth.hasDefaultCredentials()); assertTrue( auth.getCredentials() instanceof NtlmPasswordAuthenticator); NtlmPasswordAuthenticator pa = (NtlmPasswordAuthenticator) auth.getCredentials();
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
* @param f1 * @param f2 * @throws CIFSException */ private static void connectionMatches ( SmbResource f1, SmbResource f2 ) throws CIFSException { Assert.assertTrue(f1 instanceof SmbFile); Assert.assertTrue(f2 instanceof SmbFile); try ( SmbTreeHandleInternal th1 = (SmbTreeHandleInternal) ( (SmbFile) f1 ).getTreeHandle();
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
try { f.createNewFile(); assertTrue("Did not see error", false); } catch ( SmbException e ) { if ( e.getCause() instanceof ConnectionTimeoutException ) { long timeout = System.currentTimeMillis() - start; assertTrue( String.format( "Timeout %d outside expected range (%f)",
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.UnknownHostException;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Nov 14 17:40:50 GMT 2021 - 17.6K bytes - Viewed (0)