- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 76 for isNotNull (0.18 seconds)
-
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
CollectionFeature.SUPPORTS_ITERATOR_REMOVE) .createTestSuite()); return suite; } public void testComparator() { assertThat(create().comparator()).isNotNull(); } public void testCeilingEntry() { assertThat(create().ceilingEntry("a")).isNull(); } public void testCeilingKey() { assertThat(create().ceilingKey("a")).isNull(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
* limitations under the License. */ package okhttp3.internal.connection import assertk.assertThat import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.IOException import java.security.cert.CertificateException import javax.net.ssl.SSLHandshakeException import javax.net.ssl.SSLSocket
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
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()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
WeakReference<Object> weakRef = getWeakReferenceToStripe(striped); WeakReference<Object> garbage = createGarbage(); GcFinalization.awaitClear(garbage); assertThat(weakRef.get()).isNotNull(); } } public void testMaximalWeakStripedLock() { Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE); for (int i = 0; i < 10000; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
WeakReference<Object> weakRef = getWeakReferenceToStripe(striped); WeakReference<Object> garbage = createGarbage(); GcFinalization.awaitClear(garbage); assertThat(weakRef.get()).isNotNull(); } } public void testMaximalWeakStripedLock() { Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE); for (int i = 0; i < 10000; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
assertThat(connectionAcquired.connection.protocol()) .isEqualTo(expectedProtocol) } val callFailed = eventRecorder.removeUpToEvent<CallFailed>() assertThat(callFailed.ioe).isNotNull() assertThat(request.ioe).isNotNull() } private inner class NonCompletingRequestBody : RequestBody() { private val chunk: ByteArray? = ByteArray(1024 * 1024) var ioe: IOException? = null
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
if (property == JAVA_EXT_DIRS) { continue; } assertWithMessage(property.toString()).that(property.value()).isNotNull(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 2.6K bytes - Click Count (0) -
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()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 18.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
// Array length is highest character value + 1 assertThat(replacementArray).hasLength(65536); // The final element should always be non-null. assertThat(replacementArray[replacementArray.length - 1]).isNotNull(); // Exhaustively check all mappings (an int index avoids wrapping). for (int n = 0; n < replacementArray.length; n++) { char c = (char) n; String expected = map.get(c); if (expected == null) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import okhttp3.HttpUrl.Companion.defaultPort import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okio.buffer import okio.source
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.7K bytes - Click Count (0)