- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 76 for isNotNull (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isInstanceOf import assertk.assertions.isNotNull import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop import okhttp3.TestUtil.assumeNetwork import okhttp3.internal.connectionAccessor
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.7K bytes - Click Count (0) -
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.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
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(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
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.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
*/ package okhttp3 import app.cash.burst.Burst import app.cash.burst.burstValues import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotEmpty import assertk.assertions.isNotNull import java.io.IOException import java.net.InetAddress import java.util.concurrent.CompletableFuture import java.util.concurrent.TimeUnit.SECONDS import javax.net.ssl.SNIHostName import javax.net.ssl.SNIMatcher
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0) -
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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 24.4K bytes - Click Count (0) -
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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 11:54:15 GMT 2026 - 10.7K bytes - Click Count (0) -
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 {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
new AtomicReference<WeakReference<?>>( (WeakReference<?>) sepFwrCons.newInstance(sepStopwatchA.get(), sepFrqA.get())); assertThat(sepStopwatchA.get()).isNotNull(); // Clear all references to the Stopwatch and wait for it to be gc'd. sepStopwatchA.set(null); GcFinalization.awaitClear(sepStopwatchRef.get());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
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 {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.2K bytes - Click Count (0)