- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for WORLD (0.01 sec)
-
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
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) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
// Read remaining bytes byte[] remaining = new byte[20]; int remainingBytes = stream.read(remaining); assertEquals(8, remainingBytes); // ", World!" assertEquals(", World!", new String(remaining, 0, remainingBytes, "UTF-8")); } }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K 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) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
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() { assertEquals("", DocumentUtil.encodeUrl(""));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java
BooleanFunction<String> startsWithHello = s -> s != null && s.startsWith("hello"); assertTrue(startsWithHello.apply("hello world")); assertTrue(startsWithHello.apply("hello")); assertFalse(startsWithHello.apply("hi world")); assertFalse(startsWithHello.apply("")); assertFalse(startsWithHello.apply(null)); } public void test_method_reference() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 2.5K bytes - Viewed (0) -
mockwebserver/README.md
// Responses are returned in the same order that they are enqueued. Chat chat = new Chat(baseUrl); chat.loadMore(); assertEquals("hello, world!", chat.messages()); chat.loadMore(); chat.loadMore(); assertEquals("" + "hello, world!\n" + "sup, bra?\n" + "yo dog", chat.messages()); // Optional: confirm that your app made the HTTP requests you were expecting.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8)); w.println("hello"); w.println(""); w.println(" world "); w.println(""); w.close(); assertEquals("hello", Files.readFirstLine(temp, UTF_8)); assertEquals(ImmutableList.of("hello", "", " world ", ""), Files.readLines(temp, UTF_8)); assertTrue(temp.delete()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
index++; } return index; } }; assertThat(e.escape("\0HeLLo \uD800\uDC00 WorlD!\n")) .isEqualTo("\0HELLO \uD800\uDC00 WORLD!\n"); } public void testCodePointAt_indexOutOfBoundsException() { assertThrows( IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
index++; } return index; } }; assertThat(e.escape("\0HeLLo \uD800\uDC00 WorlD!\n")) .isEqualTo("\0HELLO \uD800\uDC00 WORLD!\n"); } public void testCodePointAt_indexOutOfBoundsException() { assertThrows( IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
/** */ public int intField; /** */ public String stringField; /** */ public static final int INT_DATA = 987654321; /** */ public static final String STRING_DATA = "Hello World!"; /** * @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0)