Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 76 for isNotNull (0.05 seconds)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(CharMatcher.class)).isNotNull();
        assertThat(ArbitraryInstances.get(Currency.class).getCurrencyCode()).isNotNull();
        assertThat(ArbitraryInstances.get(Locale.class)).isNotNull();
        assertThat(ArbitraryInstances.get(Joiner.class).join(ImmutableList.of("a"))).isNotNull();
        assertThat(ArbitraryInstances.get(Splitter.class).split("a,b")).isNotNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(CharMatcher.class)).isNotNull();
        assertThat(ArbitraryInstances.get(Currency.class).getCurrencyCode()).isNotNull();
        assertThat(ArbitraryInstances.get(Locale.class)).isNotNull();
        assertThat(ArbitraryInstances.get(Joiner.class).join(ImmutableList.of("a"))).isNotNull();
        assertThat(ArbitraryInstances.get(Splitter.class).split("a,b")).isNotNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

        }
    
      fun assertHandshake() =
        apply {
          val handshake = response!!.handshake!!
          assertThat(handshake.tlsVersion).isNotNull()
          assertThat(handshake.cipherSuite).isNotNull()
          assertThat(handshake.peerPrincipal).isNotNull()
          assertThat(handshake.peerCertificates.size).isEqualTo(1)
          assertThat(handshake.localPrincipal).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          other.proxyAddress
        }
        other.use {
          other.start()
          assertThat(other.socketAddress).isNotNull()
          assertThat(other.hostName).isNotNull()
          assertThat(other.port).isNotNull()
          assertThat(other.proxyAddress).isNotNull()
        }
      }
    
      @Test
      fun startIsIdempotentIfAddressIsConsistent() {
        val other = MockWebServer()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val handshake = request.handshake
        assertThat(handshake!!.tlsVersion).isNotNull()
        assertThat(handshake.cipherSuite).isNotNull()
        assertThat(handshake.localPrincipal).isNotNull()
        assertThat(handshake.localCertificates.size).isEqualTo(1)
        assertThat(handshake.peerPrincipal).isNotNull()
        assertThat(handshake.peerCertificates.size).isEqualTo(1)
      }
    
      @Test
      fun shutdownTwice() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

      @Test
      fun buildsWhenJdk9() {
        platform.assumeJdk9()
        assertThat(buildIfSupported()).isNotNull()
      }
    
      @Test
      fun buildsWhenJdk8() {
        platform.assumeJdk8()
        try {
          SSLSocket::class.java.getMethod("getApplicationProtocol")
          // also present on JDK8 after build 252.
          assertThat(buildIfSupported()).isNotNull()
        } catch (nsme: NoSuchMethodException) {
          assertThat(buildIfSupported()).isNull()
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ResourcesTest.java

        assertThat(e).hasMessageThat().isEqualTo("resource no such resource not found.");
      }
    
      public void testGetResource() {
        assertThat(Resources.getResource("com/google/common/io/testdata/i18n.txt")).isNotNull();
      }
    
      public void testGetResource_relativePath_notFound() {
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            .that(annotationClass.getAnnotation(TesterAnnotation.class))
            .isNotNull();
        Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertWithMessage(rootLocaleFormat("%s must have a @Retention annotation.", annotationClass))
            .that(retentionPolicy)
            .isNotNull();
        assertEquals(
            rootLocaleFormat("%s must have RUNTIME RetentionPolicy.", annotationClass),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

              }
            };
    
        Class<?> finalizerCopy = decoupledLoader.loadFinalizer();
    
        assertThat(finalizerCopy).isNotNull();
        assertThat(finalizerCopy).isNotEqualTo(Finalizer.class);
    
        assertThat(FinalizableReferenceQueue.getStartFinalizer(finalizerCopy)).isNotNull();
      }
    
      static class DecoupledClassLoader extends URLClassLoader {
    
        public DecoupledClassLoader(URL[] urls) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        assertThat(e).hasMessageThat().isEqualTo("resource no such resource not found.");
      }
    
      public void testGetResource() {
        assertThat(Resources.getResource("com/google/common/io/testdata/i18n.txt")).isNotNull();
      }
    
      public void testGetResource_relativePath_notFound() {
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
Back to Top