Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for isNotNull (1.05 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      public void testLexicographicalComparatorChoice() {
        Comparator<byte[]> defaultComparator = UnsignedBytes.lexicographicalComparator();
        assertThat(defaultComparator).isNotNull();
        assertThat(UnsignedBytes.lexicographicalComparator()).isSameInstanceAs(defaultComparator);
        if (unsafeComparatorAvailable()) {
          assertThat(defaultComparator).isInstanceOf(UnsafeComparator.class);
        } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(response1.body.string()).isEqualTo("ABC")
        assertThat(response1.handshake!!.cipherSuite).isNotNull()
    
        // Cached!
        val response2 = get(server.url("/"))
        assertThat(response2.body.string()).isEqualTo("ABC")
        assertThat(response2.handshake!!.cipherSuite).isNotNull()
    
        // 2 direct + 2 redirect = 4
        assertThat(cache.requestCount()).isEqualTo(4)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        Object getResult() {
          if (throwable != null) {
            throw new AssertionError(throwable);
          }
          return result;
        }
    
        Throwable getThrowable() {
          assertThat(throwable).isNotNull();
          return throwable;
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Object key = new Object();
        assertThat(cache.getUnchecked(key)).isNotNull();
    
        CacheTesting.simulateValueReclamation(cache, key);
    
        // this blocks if computation can't deal with partially-collected values
        assertThat(cache.getUnchecked(key)).isNotNull();
        assertThat(cache.size()).isEqualTo(1);
        assertThat(countingLoader.getCount()).isEqualTo(2);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        Object key = new Object();
        assertThat(cache.getUnchecked(key)).isNotNull();
    
        CacheTesting.simulateValueReclamation(cache, key);
    
        // this blocks if computation can't deal with partially-collected values
        assertThat(cache.getUnchecked(key)).isNotNull();
        assertThat(cache.size()).isEqualTo(1);
        assertThat(countingLoader.getCount()).isEqualTo(2);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesTest.java

      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isIn
    import assertk.assertions.isLessThan
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isNotNull
    import assertk.assertions.isNotSameAs
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import assertk.assertions.matches
    import assertk.assertions.prop
    import assertk.assertions.startsWith
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // of our sleep calls can be arbitrarily delayed we should just assert that there is a time
        // recorded.
        assertThat(startupTimes.get(b)).isNotNull();
      }
    
      public void testServiceStartStop() {
        Service a = new NoOpService();
        Service b = new NoOpService();
        ServiceManager manager = new ServiceManager(asList(a, b));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PredicatesTest.java

        } catch (RuntimeException e) {
          actualRuntimeException = e;
        }
    
        assertEquals(expectedResult, actualResult);
        if (expectedRuntimeException != null) {
          assertThat(actualRuntimeException).isNotNull();
          assertEquals(expectedRuntimeException.getClass(), actualRuntimeException.getClass());
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
Back to top