- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 173 for isFull (0.03 sec)
-
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
assertThat(graph.removeEdge(1, 2)).isEqualTo("valueA"); assertThat(graph.removeEdge(1, 2)).isNull(); assertThat(graph.removeEdge(2, 1)).isEqualTo("valueB"); assertThat(graph.removeEdge(2, 1)).isNull(); assertThat(graph.removeEdge(2, 3)).isEqualTo("valueC"); assertThat(graph.removeEdge(2, 3)).isNull(); } @Test public void removeEdge_undirected() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/DefaultsTest.java
assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue()); assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d); assertThat(Defaults.defaultValue(void.class)).isNull(); assertThat(Defaults.defaultValue(String.class)).isNull(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertThat(cache.asMap().put(newKey, entry.getValue())).isNull(); // this getUnchecked() call shouldn't be a cache miss; verified below assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(newValue); assertThat(cache.getUnchecked(newKey)).isEqualTo(entry.getValue());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt
assertThat(cookies.size).isEqualTo(1) val cookie = cookies[0] assertThat(cookie.name).isEqualTo("a") assertThat(cookie.value).isEqualTo("android") assertThat(cookie.comment).isNull() assertThat(cookie.commentURL).isNull() assertThat(cookie.discard).isFalse() assertThat(cookie.maxAge).isGreaterThan(100000000000L) assertThat(cookie.path).isEqualTo("/path") assertThat(cookie.secure).isTrue()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13K bytes - Viewed (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
*/ package okhttp3.zstd import assertk.assertThat import assertk.assertions.hasMessage import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import com.squareup.zstd.okio.zstdCompress import java.io.IOException import kotlin.test.assertFailsWith import okhttp3.CompressionInterceptor import okhttp3.Gzip import okhttp3.MediaType.Companion.toMediaType
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersKotlinTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import java.time.Instant import java.util.Date import okhttp3.Headers.Companion.headersOf import org.junit.jupiter.api.Test class HeadersKotlinTest { @Test fun getOperator() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} /* * Tests for Predicates.isNull() */ public void testIsNull_apply() { Predicate<@Nullable Integer> isNull = Predicates.isNull(); assertTrue(isNull.apply(null)); assertFalse(isNull.apply(1)); } public void testIsNull_equality() { new EqualsTester() .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) .addEqualityGroup(Predicates.notNull())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
@GwtCompatible @NullMarked public class FunctionsTest extends TestCase { public void testIdentity_same() { Function<@Nullable String, @Nullable String> identity = Functions.identity(); assertThat(identity.apply(null)).isNull(); assertSame("foo", identity.apply("foo")); } public void testIdentity_notSame() { Function<Long, Long> identity = Functions.identity();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
assertFalse(equalTo1.apply(null)); Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null); assertFalse(isNull.apply("1")); assertFalse(isNull.apply("2")); assertTrue(isNull.apply(null)); new EqualsTester() .addEqualityGroup(equalTo1, Equivalence.equals().equivalentTo("1")) .addEqualityGroup(isNull) .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
assertEquals((Character) 'c', table.get("foo", 3)); assertThat(table.get("foo", 2)).isNull(); assertThat(table.get("bar", 3)).isNull(); assertThat(table.get("cat", 1)).isNull(); assertThat(table.get("foo", null)).isNull(); assertThat(table.get(null, 1)).isNull(); assertThat(table.get(null, null)).isNull(); } public void testIsEmpty() { assertTrue(table.isEmpty());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.6K bytes - Viewed (0)