- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 177 for containsExactly (0.95 seconds)
-
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,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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> {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
addNode(N1); assertThat(graph.nodes()).containsExactly(N1); } @Test public void nodes_noNodes() { assertThat(graph.nodes()).isEmpty(); } @Test public void adjacentNodes_oneEdge() { putEdge(N1, N2); assertThat(graph.adjacentNodes(N1)).containsExactly(N2); assertThat(graph.adjacentNodes(N2)).containsExactly(N1); } @Test
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.3K bytes - Click Count (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"Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/EndpointPairTest.java
EndpointPair<String> unordered = EndpointPair.unordered("chicken", "egg"); assertThat(unordered.isOrdered()).isFalse(); assertThat(unordered).containsExactly("chicken", "egg"); assertThat(ImmutableSet.of(unordered.nodeU(), unordered.nodeV())) .containsExactly("chicken", "egg"); assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/EndpointPairTest.java
EndpointPair<String> unordered = EndpointPair.unordered("chicken", "egg"); assertThat(unordered.isOrdered()).isFalse(); assertThat(unordered).containsExactly("chicken", "egg"); assertThat(ImmutableSet.of(unordered.nodeU(), unordered.nodeV())) .containsExactly("chicken", "egg"); assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 9.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.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 assertk.assertions.hasMessage import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import java.io.IOException import java.security.cert.Certificate
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0) -
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()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.1K bytes - Click Count (0)