- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 139 for mellom (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
serverIpv4.enqueue( MockResponse(body = "unexpected call to IPv4"), ) serverIpv6.enqueue( MockResponse(body = "hello from IPv6"), ) val call = client.newCall(Request(url)) val response = call.execute() assertThat(response.body.string()).isEqualTo("hello from IPv6") // In the process we made one successful connection attempt.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
assertThat(decompressed.header("Content-Encoding")).isNull() val responseString = decompressed.body.string() assertThat(responseString).isEqualTo("hello zstd world") } @Test fun testDecompressGzip() { val s = "hello gzip world".encodeUtf8().gzipCompress() val response = response("https://example.com/", s) { header("Content-Encoding", "gzip") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
.put("empty", "") .put("1 char", "0") .put("1 word", "hello") .put("2 words", "hello world") .put("\\n line break", "hello\nworld") .put("\\r line break", "hello\rworld") .put("\\r\\n line break", "hello\r\nworld") .put("\\n at EOF", "hello\nworld\n") .put("\\r at EOF", "hello\nworld\r") .put("lorem ipsum", LOREM_IPSUM) .buildOrThrow();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
} } @Test fun testFileDescriptorRead() { assertOnFileDescriptor(content = "Hello") { fd -> val requestBody = fd.toRequestBody() val buffer = Buffer() requestBody.writeTo(buffer) assertThat(buffer.readUtf8()).isEqualTo("Hello") } } @Test fun testFileDescriptorDefaultMediaType() { assertOnFileDescriptor { fd ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
} public void test_encodeUrl_already_encoded() { assertEquals("hello", DocumentUtil.encodeUrl("hello")); assertEquals("hello-world", DocumentUtil.encodeUrl("hello-world")); assertEquals("hello_world", DocumentUtil.encodeUrl("hello_world")); assertEquals("hello.world", DocumentUtil.encodeUrl("hello.world")); } public void test_encodeUrl_empty_and_null() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertHash(679745764, murmur3_32().hashUnencodedChars("k")); assertHash(1510782915, murmur3_32().hashUnencodedChars("hell")); assertHash(-675079799, murmur3_32().hashUnencodedChars("hello")); assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/")); assertHash( -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
return new Builder<>(); } /** * Verifies that {@code rowKey}, {@code columnKey} and {@code value} are non-null, and returns a * new entry with those values. */ static <R, C, V> Cell<R, C, V> cellOf(R rowKey, C columnKey, V value) { return immutableCell( checkNotNull(rowKey, "rowKey"), checkNotNull(columnKey, "columnKey"), checkNotNull(value, "value")); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
ranges = data.ranges, mappings = data.mappings, ) } @Test fun regularMappings() { assertThat("hello".map()).isEqualTo("hello") assertThat("hello-world".map()).isEqualTo("hello-world") assertThat("HELLO".map()).isEqualTo("hello") assertThat("Hello".map()).isEqualTo("hello") // These compound characters map their its components. assertThat("¼".map()).isEqualTo("1⁄4")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt
import okhttp3.Request import org.junit.jupiter.api.Test class SampleTest { private val server = MockWebServer() private val client = OkHttpClient() @Test fun passingTest() { assertThat("hello").isEqualTo("hello") } @Test fun testMockWebServer() { server.enqueue(MockResponse(body = "abc")) server.start() client.newCall(Request(url = server.url("/"))).execute().use {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt
} } @Test fun singlePart() { val expected = """ |--123 | |Hello, World! |--123-- | """.trimMargin().replace("\n", "\r\n") val body = MultipartBody .Builder("123") .addPart("Hello, World!".toRequestBody(null)) .build() assertThat(body.boundary).isEqualTo("123")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0)