Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for isNotNull (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

          if (property == JAVA_EXT_DIRS) {
            continue;
          }
          assertWithMessage(property.toString()).that(property.value()).isNotNull();
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        // repeat a few times to make sure we don't stumble upon a bad Locale
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
      }
    
      public void testNulls() throws Exception {
        new ClassSanityTester()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.fail
    import javax.net.ssl.SSLSocket
    import kotlin.reflect.KClass
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(parse(ascii, "a=b; domain=foo.bar.elb.amazonaws.com")).isNotNull()
        assertThat(parse(ascii, "a=b; domain=bar.elb.amazonaws.com")).isNull()
        assertThat(parse(ascii, "a=b; domain=com")).isNull()
        val unicode = "https://長.長.長崎.jp".toHttpUrl()
        assertThat(parse(unicode, "a=b; domain=長.長崎.jp")).isNotNull()
        assertThat(parse(unicode, "a=b; domain=長崎.jp")).isNull()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ThreadPoolExecutor executor =
            new ThreadPoolExecutor(1, 2, 3, SECONDS, new ArrayBlockingQueue<Runnable>(1));
        assertThat(application.getExitingExecutorService(executor)).isNotNull();
        assertTrue(executor.getThreadFactory().newThread(() -> {}).isDaemon());
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      public void testInstantiate_constructorAcceptsNull() throws Exception {
        assertThat(tester.instantiate(ConstructorAcceptsNull.class).name).isNull();
      }
    
      public void testInstantiate_constructorDoesNotAcceptNull() throws Exception {
        assertThat(tester.instantiate(ConstructorDoesNotAcceptNull.class).name).isNotNull();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import java.io.EOFException
    import java.net.ProtocolException
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ThreadPoolExecutor executor =
            new ThreadPoolExecutor(1, 2, 3, SECONDS, new ArrayBlockingQueue<Runnable>(1));
        assertThat(application.getExitingExecutorService(executor)).isNotNull();
        assertTrue(executor.getThreadFactory().newThread(() -> {}).isDaemon());
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        // testing simple creation
        ImmutableSortedSet.Builder<SelfComparableExample> natural = ImmutableSortedSet.naturalOrder();
        assertThat(natural).isNotNull();
        ImmutableSortedSet.Builder<SelfComparableExample> reverse = ImmutableSortedSet.reverseOrder();
        assertThat(reverse).isNotNull();
      }
    
      private static class SuperComparableExample extends SelfComparableExample {}
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        byte[] chunk3 = newPreFilledByteArray(20); // More data to file
    
        out.write(chunk1);
        assertThat(out.getFile()).isNull();
    
        out.write(chunk2);
        assertThat(out.getFile()).isNotNull();
        assertThat(source.read()).isEqualTo(concat(chunk1, chunk2));
    
        out.write(chunk3);
        assertThat(source.read()).isEqualTo(concat(chunk1, chunk2, chunk3));
    
        out.reset();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top