- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for filters (0.15 sec)
-
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
return request } /** * Flattens a test filter into a list of specific test descriptors, usually individual method in a * test class annotated with @Test. */ fun findTests(selectors: List<DiscoverySelector>): List<TestDescriptor> { val request: LauncherDiscoveryRequest = buildRequest(selectors) val testEngine = buildTestEngine() val filters = listOf<PostDiscoveryFilter>()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
import android.net.http.UrlRequest.Callback import android.net.http.UrlRequest.REQUEST_PRIORITY_MEDIUM import android.net.http.UrlResponseInfo import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SdkSuppress import androidx.test.platform.app.InstrumentationRegistry import java.net.HttpURLConnection import java.net.URL import java.nio.ByteBuffer import java.util.concurrent.CompletableFuture
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 24 13:19:43 GMT 2024 - 6.2K bytes - Viewed (0) -
android-test-app/src/main/AndroidManifest.xml
android:name=".TestApplication" > <activity android:name=".MainActivity" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application>
XML - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Dec 23 14:46:51 GMT 2023 - 683 bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
"seqno=$testCase.seqno", testCase.headersList, hpackReader.getAndResetHeaderList(), ) } } companion object { /** * Reads all stories in the folders provided, asserts if no story found. */ @JvmStatic protected fun createStories(interopTests: Array<String>): List<Any> { if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
mockwebserver/README.md
Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to dispatch on the request path. You can, for example, filter the request instead of using `server.enqueue()`. ```java final Dispatcher dispatcher = new Dispatcher() { @Override public MockResponse dispatch (RecordedRequest request) throws InterruptedException {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
fun get(): Platform = platform fun resetForTests(platform: Platform = findPlatform()) { this.platform = platform } fun alpnProtocolNames(protocols: List<Protocol>) = protocols.filter { it != Protocol.HTTP_1_0 }.map { it.toString() } // This explicit check avoids activating in Android Studio with Android specific classes // available when running plugins inside the IDE. val isAndroid: Boolean
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
val handshake = makeRequest(client) assertThat(handshake.cipherSuite).isIn(*expectedModernTls13CipherSuites.toTypedArray()) // TODO: filter down to TLSv1.3 when only activated. // Probably something like // TLS_AES_128_GCM_SHA256 // TLS_AES_256_GCM_SHA384 // TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
assertThat(response.body.string()).isNotEmpty() } if (!platform.isJdk8()) { val connectCount = listener.eventSequence.stream() .filter { event: CallEvent? -> event is ConnectStart } .count() assertThat(connectCount).isEqualTo(1) } } /** Test which headers are sent unencrypted to the HTTP proxy. */ @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
// In the process we made one successful connection attempt. assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(2) assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(1) assertThat(listener.recordedEventTypes().filter { it == "ConnectEnd" }).hasSize(1) } @Test fun reachesIpv6WhenIpv4IsDown() { serverIpv4.shutdown()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.3K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
}, ) } fun historicOkHttp(version: String): Client { val enabled = FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) { this.readUtf8().lines().filter { it.isNotBlank() }.map { SuiteId(id = null, name = it.trim()) } } return Client( userAgent = "OkHttp", version = version, enabled = enabled, ) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 2.5K bytes - Viewed (0)