- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 134 for containsExactly (1.47 sec)
-
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertThat(cache.asMap().keySet()).isEqualTo(ImmutableSet.of(key1, key2)); assertThat(cache.asMap().values()).containsExactly(value1, value2); assertThat(cache.asMap().entrySet()) .containsExactly(immutableEntry(key1, value1), immutableEntry(key2, value2)); } } public void testInvalidate() { for (LoadingCache<Key, String> cache : caches()) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2); } public void testImmediateDispatcher() { dispatcher = Dispatcher.immediate(); dispatcher.dispatch(1, integerSubscribers.iterator()); assertThat(dispatchedSubscribers) .containsExactly(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue 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 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
// Set<Entry<Object, Object>> entries = map.entrySet(); // assertThat(entries).containsExactly( // Maps.immutableEntry(three, one), Maps.immutableEntry(one, two)); // Set<Object> keys = map.keySet(); // assertThat(keys).containsExactly(one, three); // Collection<Object> values = map.values(); // assertThat(values).containsExactly(one, two); map.clear();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
service.startAsync().awaitRunning(); assertEquals(1, service.startUpCalled); assertEquals(Service.State.RUNNING, service.state()); assertThat(service.transitionStates).containsExactly(Service.State.STARTING); } public void testStart_failed() { Exception exception = new Exception("deliberate"); TestService service = new TestService() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
assertThat(Primitives.unwrap(String.class)).isEqualTo(String.class); } public void testAllPrimitiveTypes() { Set<Class<?>> primitives = Primitives.allPrimitiveTypes(); assertThat(primitives) .containsExactly( boolean.class, byte.class, char.class, double.class, float.class, int.class, long.class, short.class,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
makeUnmodifiable(types) .containsExactly( TypeToken.of(Interface1.class), TypeToken.of(Class1.class), TypeToken.of(Object.class)); assertSubtypeFirst(types); makeUnmodifiable(types.interfaces()).containsExactly(TypeToken.of(Interface1.class)); makeUnmodifiable(types.classes()) .containsExactly(TypeToken.of(Class1.class), TypeToken.of(Object.class)) .inOrder();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
ImmutableRangeSet.<Integer>builder() .add(Range.closed(5, 8)) .add(Range.closedOpen(1, 3)) .build(); assertThat(rangeSet.asRanges()) .containsExactly(Range.closedOpen(1, 3), Range.closed(5, 8)) .inOrder(); assertTrue(rangeSet.intersects(Range.closed(1, 2))); assertTrue(rangeSet.intersects(Range.open(5, 8)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.isBetween import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
.add("g", "h", "i", "j") .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)