Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testSeek (0.06 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

        }
    
        @Test
        void testGetFilePointer() throws SmbException {
            assertEquals(0, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testSeek() throws SmbException {
            long newPosition = 100L;
            smbRandomAccessFile.seek(newPosition);
            assertEquals(newPosition, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} leaks. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureLeakTest extends TestCase {
      public void testLeak() {
        TestCloseable closeable = new TestCloseable("closeable");
        awaitClear(leakClosingFuture(closeable));
        assertThat(closeable.awaitClosed()).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} leaks. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureLeakTest extends TestCase {
      public void testLeak() {
        TestCloseable closeable = new TestCloseable("closeable");
        awaitClear(leakClosingFuture(closeable));
        assertThat(closeable.awaitClosed()).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top