- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 158 for containsExactly (0.09 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11); assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12); assertTrue(networkAsMutableNetwork.removeEdge(E11)); assertThat(network.edgesConnecting(N1, N1)).isEmpty(); assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12); } @Test public void concurrentIteration() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
.<String, Integer>immutable() .putEdgeValue("A", "B", 10) .build(); assertThat(graph.nodes()).containsExactly("A", "B"); assertThat(graph.edges()).containsExactly(EndpointPair.ordered("A", "B")); assertThat(graph.edgeValueOrDefault("A", "B", null)).isEqualTo(10); } @Test public void immutableValueGraphBuilder_putEdgeFromEndpointPair() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.util.ArrayDeque import java.util.Deque class RecordingCookieJar : CookieJar { private val requestCookies: Deque<List<Cookie>> = ArrayDeque()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
), ), ).containsExactly( Mapping(0x0000, 0x002e, TYPE_VALID, ByteString.EMPTY), ) } @Test fun withSectionStartsSplits() { assertThat( withoutSectionSpans( listOf( Mapping(0x40000, 0x40180, TYPE_DISALLOWED, ByteString.EMPTY), ), ), ).containsExactly( Mapping(0x40000, 0x4007f, TYPE_DISALLOWED, ByteString.EMPTY),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
ImmutableListMultimap<String, Integer> multimap = builder.build(); assertThat(multimap.keySet()).containsExactly("d", "c", "b", "a").inOrder(); assertThat(multimap.values()).containsExactly(2, 4, 3, 6, 5, 2).inOrder(); assertThat(multimap.get("a")).containsExactly(5, 2).inOrder(); assertThat(multimap.get("b")).containsExactly(3, 6).inOrder(); } public void testBuilderOrderKeysByDuplicates() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 25.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
assertThat(map.entrySet()) .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveLast() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.remove("quux"); assertThat(map.entrySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
} public void testFindClassesToTest_noCorrespondingTestClass() { assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class); assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class))) .containsExactly(Foo.class); } public void testFindClassesToTest_publicApiOnly() { sanityTests.publicApiOnly();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 21:37:55 UTC 2019 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
+ " version we released in a separate artifact com.google.guava:listenablefuture.") .that(ListenableFuture.class.getDeclaredMethods()) .asList() .containsExactly( ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class)); assertWithMessage( "Do not add new supertypes to ListenableFuture. Its API needs to continue to match the"
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 19:48:16 UTC 2023 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
public void testOf_headSet() { SortedSet<String> set = of("e", "f", "b", "d", "c"); assertTrue(set.headSet("e") instanceof ImmutableSortedSet); assertThat(set.headSet("e")).containsExactly("b", "c", "d").inOrder(); assertThat(set.headSet("g")).containsExactly("b", "c", "d", "e", "f").inOrder(); assertSame(this.<String>of(), set.headSet("a")); assertSame(this.<String>of(), set.headSet("b")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
.add("kit:kat") // Space after colon is not required. .build() assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak") assertThat(headers.values("key")).containsExactly("value") assertThat(headers.values("ping")).containsExactly("pong") assertThat(headers.values("kit")).containsExactly("kat") } @Test fun addThrowsOnEmptyName() { assertFailsWith<IllegalArgumentException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0)