Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for is_true (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

            toClose.add(it)
          }
        set("a", "a", "a")
        assertThat(filesystem.exists(dir / "a.0")).isTrue()
        assertThat(filesystem.exists(dir / "a.1")).isTrue()
        assertThat(filesystem.exists(dir / "journal")).isTrue()
      }
    
      @Test
      fun fileDeletedExternally() {
        set("a", "a", "a")
        filesystem.delete(getCleanFile("a", 1))
        assertThat(cache["a"]).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
        assertWithMessage("step3.statusFuture().isCancelled()")
            .that(step3.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is still open.
        assertStillOpen(closeable3);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
        assertWithMessage("step3.statusFuture().isCancelled()")
            .that(step3.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is still open.
        assertStillOpen(closeable3);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.EOFException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicInteger
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(Thread.interrupted()).isTrue();
        stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(2);
        assertThat(stats.loadSuccessCount()).isEqualTo(0);
        assertThat(stats.loadExceptionCount()).isEqualTo(2);
        assertThat(stats.hitCount()).isEqualTo(0);
    
        cache.refresh(new Object());
        assertThat(Thread.interrupted()).isTrue();
        checkLoggedCause(e);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
        assertThat(new TypeToken<List<? extends Number>>() {}.isSupertypeOf(fieldType)).isTrue();
        assertThat(new TypeToken<List<? extends Iterable<?>>>() {}.isSupertypeOf(fieldType)).isTrue();
        assertThat(new TypeToken<List<? extends Iterable<Number>>>() {}.isSupertypeOf(fieldType))
            .isFalse();
      }
    
      public void testArrayClassPreserved() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(Thread.interrupted()).isTrue();
        stats = cache.stats();
        assertThat(stats.missCount()).isEqualTo(2);
        assertThat(stats.loadSuccessCount()).isEqualTo(0);
        assertThat(stats.loadExceptionCount()).isEqualTo(2);
        assertThat(stats.hitCount()).isEqualTo(0);
    
        cache.refresh(new Object());
        assertThat(Thread.interrupted()).isTrue();
        checkLoggedCause(e);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
        assertThat(new TypeToken<List<? extends Number>>() {}.isSupertypeOf(fieldType)).isTrue();
        assertThat(new TypeToken<List<? extends Iterable<?>>>() {}.isSupertypeOf(fieldType)).isTrue();
        assertThat(new TypeToken<List<? extends Iterable<Number>>>() {}.isSupertypeOf(fieldType))
            .isFalse();
      }
    
      public void testArrayClassPreserved() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import assertk.assertions.hasMessage
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import assertk.fail
    import java.io.IOException
    import java.net.HttpURLConnection
    import java.net.SocketTimeoutException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.BlockingQueue
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
Back to Top