- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 275 for isEqualTo (0.14 sec)
-
android-test-app/src/androidTest/kotlin/okhttp/android/testapp/PublicSuffixDatabaseTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.android import assertk.assertThat import assertk.assertions.isEqualTo import okhttp3.HttpUrl.Companion.toHttpUrl import org.junit.Test /** * Run with "./gradlew :android-test-app:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestCommonTest.kt
Request( url = url, headers = headers, method = method, body = body, ) assertThat(request.url).isEqualTo(url) assertThat(request.headers).isEqualTo(headers) assertThat(request.method).isEqualTo(method) assertThat(request.body).isEqualTo(body) assertThat(request.tags).isEmpty() } @Test fun constructorNoBodyNoMethod() { val url = "https://example.com/".toHttpUrl()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
assertThat(iia.indexOf(1)).isEqualTo(0); assertThat(iia.indexOf(8)).isEqualTo(5); assertThat(iia.indexOf(4)).isEqualTo(-1); assertThat(ImmutableIntArray.of(13).indexOf(13)).isEqualTo(0); assertThat(ImmutableIntArray.of().indexOf(21)).isEqualTo(-1); assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0); } public void testLastIndexOf() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 20.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
assertThat(decoded.version).isEqualTo(0L) assertThat(decoded.algorithmIdentifier).isEqualTo(AlgorithmIdentifier(RSA_ENCRYPTION, null)) assertThat(decoded.privateKey.size).isEqualTo(607) val encoded = CertificateAdapters.privateKeyInfo.toDer(decoded) assertThat(encoded).isEqualTo(privateKeyInfoByteString) } @Test fun `RSA issuer and signature`() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
.that(UnsignedLong.fromLongBits(value).bigIntegerValue()) .isEqualTo(expected); } } public void testValueOfLong() { for (long value : TEST_LONGS) { boolean expectSuccess = value >= 0; try { assertThat(UnsignedLong.valueOf(value).longValue()).isEqualTo(value); assertThat(expectSuccess).isTrue(); } catch (IllegalArgumentException e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/PlatformTest.kt
fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() { assertThat(Platform().toString()).isEqualTo("Platform") } @Test fun testNotAndroid() { platform.assumeNotAndroid() // This is tautological so just confirms that it runs. assertThat(isAndroid).isEqualTo(false) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(expected).hasMessageThat().isEqualTo("null"); } public void testCheckArgument_nullMessageWithArgs_failure() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> checkArgument(false, null, "b", "d")); assertThat(e).hasMessageThat().isEqualTo("null [b, d]"); } public void testCheckArgument_nullArgs_failure() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/Jdk9PlatformTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.platform import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import javax.net.ssl.SSLSocket import okhttp3.DelegatingSSLSocket import okhttp3.internal.platform.Jdk9Platform.Companion.buildIfSupported
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
// View should be updated. assertThat(transpose.edgesConnecting(N1, N2)).containsExactly(E21); assertThat(transpose.edgeConnecting(N1, N2).get()).isEqualTo(E21); assertThat(transpose.edgeConnectingOrNull(N1, N2)).isEqualTo(E21); AbstractNetworkTest.validateNetwork(transpose); } @Test public void inducedSubgraph_graph() { Set<Integer> nodeSubset = ImmutableSet.of(N1, N2, N4);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 24.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); assertThat(immutableValueGraph).isNotInstanceOf(MutableValueGraph.class); assertThat(immutableValueGraph).isEqualTo(mutableValueGraph); mutableValueGraph.addNode("B"); assertThat(immutableValueGraph).isNotEqualTo(mutableValueGraph); } @Test public void copyOfImmutableValueGraph_optimized() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0)