- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for assertNotNull (0.16 sec)
-
src/test/java/jcifs/tests/EnumTest.java
String[] names = f.list(); assertNotNull(names); assertEquals(3, names.length); Arrays.sort(names); Assert.assertArrayEquals(new String[] { "a", "b", "c" }, names); SmbFile[] files = f.listFiles(); assertNotNull(files); assertEquals(3, files.length);
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/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;
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/ContextConfigTest.java
} @Test public void testSingletonInit () { assertNotNull(this.context.getBufferCache()); assertNotNull(this.context.getNameServiceClient()); assertNotNull(this.context.getTransportPool()); assertNotNull(this.context.getUrlHandler()); assertNotNull(this.context.getCredentials()); } @Test public void testCredentials () {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
assertNotNull(f); f.connect(); f.exists(); assertNotNull(f); try ( SmbTreeHandleInternal treeHandle = (SmbTreeHandleInternal) f.getTreeHandle(); SmbSessionInternal session = treeHandle.getSession().unwrap(SmbSessionInternal.class) ) { assertNotNull(session);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0)