- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for ABcd (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
url = server.url("/page1"), body = transferKind.newRequestBody("ABCD"), ), ) assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE)) .isEqualTo("Page 2") val page1 = server.takeRequest() assertThat(page1.requestLine).isEqualTo("POST /page1 HTTP/1.1") assertThat(page1.body?.utf8()).isEqualTo("ABCD") val page2 = server.takeRequest()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
val response = newResponse(responseBody("abcdef")) val p1 = response.peekBody(4) val p2 = response.peekBody(2) assertThat(response.body.string()).isEqualTo("abcdef") assertThat(p1.string()).isEqualTo("abcd") assertThat(p2.string()).isEqualTo("ab") } @Test fun negativeStatusCodeThrowsIllegalStateException() { assertFailsWith<IllegalStateException> { newResponse(responseBody("set status code -1"), -1)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
// Test case 1: Standard padding final byte[] data1 = "abc".getBytes(); assertEquals("YWJj", Base64Util.encode(data1)); // Test case 2: Single padding final byte[] data2 = "abcd".getBytes(); assertEquals("YWJjZA==", Base64Util.encode(data2)); // Test case 3: Double padding final byte[] data3 = "abcde".getBytes(); assertEquals("YWJjZGU=", Base64Util.encode(data3));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
r2 := bytes.NewReader([]byte("abc")) ok, msg := cmpReaders(r1, r2) if !ok || msg != "" { t.Fatalf("unexpected") } } { r1 := bytes.NewReader([]byte("abc")) r2 := bytes.NewReader([]byte("abcd")) ok, _ := cmpReaders(r1, r2) if ok { t.Fatalf("unexpected") } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
// Assert assertTrue(result, "isDotQuadIP should return true for dot-quad IP"); } @ParameterizedTest @ValueSource(strings = { "192.168.0", "abcd", "192.168" }) void isDotQuadIPRejectsNonDotQuad(String value) { assertFalse(UniAddress.isDotQuadIP(value), "isDotQuadIP should return false for non IP-like values"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertThat(response1.body.string()).isEqualTo("abcd") val response2 = get(server.url("/")) assertThat(response2.header("Alpha")).isEqualTo("α") assertThat(response2.header("β")).isEqualTo("Beta") assertThat(response2.header("Gamma")).isEqualTo("Γ") assertThat(response2.header("Δ")).isEqualTo("Delta") assertThat(response2.body.string()).isEqualTo("abcd") } @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
src/archive/tar/writer_test.go
testRemaining{0, 0}, }, }, { maker: makeSparse{makeReg{4, "abcd"}, sparseHoles{{2, 3}}, 8}, tests: []testFnc{ testReadFrom{fileOps{"ab", int64(3), "cd"}, 7, io.ErrUnexpectedEOF}, testRemaining{1, 0}, }, }, { maker: makeSparse{makeReg{4, "abcd"}, sparseHoles{{2, 3}}, 8}, tests: []testFnc{ testReadFrom{fileOps{"ab", int64(3), "cde"}, 7, errMissData},Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 40.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
} @Test fun hostnameLowercaseCharactersMappedDirectly() { assertThat(parse("http://abcd").host).isEqualTo("abcd") assertThat(parse("http://σ").host).isEqualTo("xn--4xa") } @Test fun hostnameUppercaseCharactersConvertedToLowercase() { assertThat(parse("http://ABCD").host).isEqualTo("abcd") assertThat(parse("http://Σ").host).isEqualTo("xn--4xa") } @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
assertTrue(emptyConcat.isEmpty()); } public void testConcat_infiniteIterable() throws IOException { CharSource source = CharSource.wrap("abcd"); Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source)); CharSource concatenated = CharSource.concat(cycle); String expected = "abcdabcd";
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded") } w.Close() w = NewDeadlineWriter(&sleepWriter{timeout: 100 * time.Millisecond}, 600*time.Millisecond) n, err := w.Write([]byte("abcd")) w.Close() if err != nil { t.Errorf("DeadlineWriter should succeed but failed with %s", err) } if n != 4 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.6K bytes - Viewed (0)