- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 517 for assertThat (0.05 sec)
-
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Predicates.not; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.common.testing.EqualsTester; import java.util.ArrayList;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import assertk.assertThat import assertk.assertions.isEqualTo import okhttp3.internal.http2.hpackjson.HpackJsonUtil import okhttp3.internal.http2.hpackjson.Story import okio.Buffer /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
HostAndPort hp; try { hp = HostAndPort.fromString(hpString); } catch (IllegalArgumentException e) { // Make sure we expected this. assertThat(expectHost).isNull(); return; } assertThat(expectHost).isNotNull(); // Apply withDefaultPort(), yielding hp2. boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535; HostAndPort hp2 = null; try {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
HostAndPort hp; try { hp = HostAndPort.fromString(hpString); } catch (IllegalArgumentException e) { // Make sure we expected this. assertThat(expectHost).isNull(); return; } assertThat(expectHost).isNotNull(); // Apply withDefaultPort(), yielding hp2. boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535; HostAndPort hp2 = null; try {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
import static com.google.common.base.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.base.Verify.verify; import static com.google.common.base.Verify.verifyNotNull; import static com.google.common.truth.Truth.assertThat; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import junit.framework.AssertionFailedError;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
.build(); assertThat(set).containsExactly("a", "b", "c", "d", "e", "f", "g", "h", "i", "j").inOrder(); } public void testReuseBuilderWithNonDuplicateElements() { ImmutableSet.Builder<String> builder = this.<String>builder().add("a").add("b"); assertThat(builder.build()).containsExactly("a", "b").inOrder(); builder.add("c", "d");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
assertEquals(c, ImmutableSortedMultiset.of("a", "a", "b")); assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b")); assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b", "c", "d")); } public void testIterationOrder() { Collection<String> c = ImmutableSortedMultiset.of("a", "b", "a"); assertThat(c).containsExactly("a", "a", "b").inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
void checkEmpty(BlockingQueue<?> q) { try { assertTrue(q.isEmpty()); assertEquals(0, q.size()); assertThat(q.peek()).isNull(); assertThat(q.poll()).isNull(); assertThat(q.poll(0, MILLISECONDS)).isNull(); assertEquals("[]", q.toString()); assertThat(q.toArray()).isEmpty(); assertFalse(q.iterator().hasNext()); try { q.element();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
assertThrows( ArithmeticException.class, () -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP)); assertThat(expected).hasMessageThat().contains("1.0"); assertThat(expected).hasMessageThat().contains("UP"); } public void testCheckNoOverflow_success() { MathPreconditions.checkNoOverflow(true, "testCheckNoOverflow_success", 0, 0); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.truth.Truth.assertThat; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.testing.EqualsTester; import org.jspecify.annotations.NullMarked; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 3.3K bytes - Viewed (0)