- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 154 for dabc (0.02 sec)
-
native-image-tests/src/main/kotlin/okhttp3/SampleTest.kt
} @Test fun testMockWebServer(server: MockWebServer) { server.enqueue(MockResponse(body = "abc")) val client = clientRule.newClient() client.newCall(Request(url = server.url("/"))).execute().use { assertThat(it.body.string()).isEqualTo("abc") } } @Test fun testExternalSite() { val client = clientRule.newClient()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
server.enqueue( MockResponse.Builder() .body("ABC") .build(), ) server.enqueue( MockResponse.Builder() .body("ABC") .build(), ) val request1 = Request.Builder().url(server.url("/")).build() val response1 = client.newCall(request1).execute() assertThat(response1.body.string()).isEqualTo("ABC") val request2 = Request.Builder().url(server.url("/")).build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java
assertFalse(request.isHiraganaQuery("こ犬")); assertFalse(request.isHiraganaQuery("abc")); assertFalse(request.isHiraganaQuery("カキク")); assertFalse(request.isHiraganaQuery("あカ")); assertFalse(request.isHiraganaQuery("アか")); assertFalse(request.isHiraganaQuery("abcあ")); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/kms-handlers_test.go
query: map[string]string{"key-id": "abc-test-key"}, asRoot: true, wantStatusCode: http.StatusOK, }, { name: "key status as root want success", method: http.MethodGet, path: kmsKeyStatusPath, query: map[string]string{"key-id": "abc-test-key"}, asRoot: true, wantStatusCode: http.StatusOK, wantResp: []string{"abc-test-key"}, }, {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs_contrib_test.go
length int resExpected string errExpected error }{ {"abcd", 1, 1, "a", nil}, {"abcd", -1, 1, "a", nil}, {"abcd", 999, 999, "", nil}, {"", 999, 999, "", nil}, {"测试abc", 1, 1, "测", nil}, {"测试abc", 5, 5, "c", nil}, } for i, tc := range evalCases { res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length) if res != tc.resExpected || err != tc.errExpected {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
} public void testEmptiesFirst() { Optional<String> empty = Optional.empty(); Optional<String> abc = Optional.of("abc"); Optional<String> z = Optional.of("z"); Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length)); testComparator(comparator, empty, z, abc); // Just demonstrate that no explicit type parameter is required
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
MockResponse(socketPolicy = ResetStreamAtStart(ErrorCode.REFUSED_STREAM.httpCode)), ) server.enqueue(MockResponse(body = "abc")) val request = Request(server.url("/")) val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("abc") assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
text = "abc"; queries = new String[] { "abc" }; assertEquals("<strong>abc</strong>", viewHelper.replaceHighlightQueries(text, queries)); text = "1ABC2"; queries = new String[] { "abc" }; assertEquals("1<strong>abc</strong>2", viewHelper.replaceHighlightQueries(text, queries)); text = "abc on exy"; queries = new String[] { "on" };
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 15.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
@Tag("Slowish") class MultipartReaderTest { @Test fun `parse multipart`() { val multipart = """ |--simple boundary |Content-Type: text/plain; charset=utf-8 |Content-ID: abc | |abcd |efgh |--simple boundary |Content-Type: text/plain; charset=utf-8 |Content-ID: ijk | |ijkl |mnop | |--simple boundary--
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
.url(server.url("/")) .addHeader("Original-Header", "foo") .method("PUT", "abc".toRequestBody("text/plain".toMediaType())) .build() client.newCall(request).execute() val recordedRequest = server.takeRequest() assertThat(recordedRequest.body.readUtf8()).isEqualTo("ABC") assertThat(recordedRequest.headers["Original-Header"]).isEqualTo("foo")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0)