Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for assertEquals (0.18 sec)

  1. src/test/java/jcifs/tests/RandomAccessFileTest.java

                        writeRandom(bufSize, l, raf);
                        assertEquals(l, raf.getFilePointer());
                        raf.seek(0);
                        assertEquals(0, raf.getFilePointer());
                        verifyRandom(bufSize, l, raf);
                        assertEquals(l, raf.getFilePointer());
                    }
                    assertEquals(l, f.length());
                }
                finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ReadWriteTest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ConcurrencyTest.java

                        log.debug("Failures " + failCount.get() + " wrote " + writeCount.get() + " read " + readCnt);
                    }
                    assertEquals("Read less than we wrote", writeCount.get(), readCnt);
                    assertEquals(n, failCount.get() + writeCount.get());
                }
                finally {
                    f.delete();
                }
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/PipeTest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    
    import java.io.IOException;
    import java.util.Collection;
    import java.util.Map;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(ntcreds.getUsername());
                assertEquals(user, ntcreds.getUsername());
                assertNotNull(ntcreds.getUserDomain());
                if ( dom != null ) {
                    assertEquals(dom, ntcreds.getUserDomain());
                }
                assertNotNull(ntcreds.getPassword());
                assertEquals(pass, ntcreds.getPassword());
    
                f.exists();
            }
        }
    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)
Back to top