- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 484 for assertThat (0.04 sec)
-
okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.matches import org.junit.jupiter.api.Test class OkHttpTest { @Test fun testVersion() { assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?")) }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 247 bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MultiIteratorTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.2K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder(); assertThat(multimap.get("google")).containsExactly(2, 6).inOrder(); assertThat(multimap.get("tree")).containsExactly(0, 4).inOrder(); } public void testOrderedKeySet() { TreeMultimap<String, Integer> multimap = createPopulate();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); assertThat(memoizedSupplier.toString()).isEqualTo("Suppliers.memoize(CountingSupplier)"); checkMemoize(countingSupplier, memoizedSupplier); // Calls to the original memoized supplier shouldn't affect its copy. Object unused = memoizedSupplier.get(); assertThat(memoizedSupplier.toString())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
double y1 = 3.4; double slope = Double.MIN_VALUE; LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope); assertThat(transformation.isVertical()).isFalse(); assertThat(transformation.isHorizontal()).isFalse(); assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope); // Note that we cannot test the actual mapping of points, as the results will be unreliable dueRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
double y1 = 3.4; double slope = Double.MIN_VALUE; LinearTransformation transformation = LinearTransformation.mapping(x1, y1).withSlope(slope); assertThat(transformation.isVertical()).isFalse(); assertThat(transformation.isHorizontal()).isFalse(); assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope); // Note that we cannot test the actual mapping of points, as the results will be unreliable dueRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt
operator.write(0, buffer1, 5) assertThat(buffer1.readUtf8()).isEqualTo(", World") val buffer2 = Buffer().writeUtf8("icopter!") operator.write(3, buffer2, 7) assertThat(buffer2.readUtf8()).isEqualTo("!") assertThat<ByteString>(snapshot()).isEqualTo("Helicopter".encodeUtf8()) } @Test fun readAndWrite() { val operator = FileOperator(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
call.afterCallbackOnResponse = { coroutineContext.job.cancel() } call.executeAsync() } } } assertThat(call.canceled).isTrue() assertThat(call.responseClosed).isTrue() } } /** A call that keeps track of whether its response body is closed. */ private class ClosableCall : FailingCall() { private val response =Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
ImmutableSetMultimap<String, Integer> multimap = zis.combine(zat).build(); assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder(); assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder(); assertThat(multimap.get("a")).containsExactly(1, 3).inOrder(); assertThat(multimap.get("b")).containsExactly(2); assertThat(multimap.get("c")).containsExactly(4); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0)