- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 98 for overriding (0.11 seconds)
-
docs/en/docs/advanced/testing-dependencies.md
# Testing Dependencies with Overrides { #testing-dependencies-with-overrides } ## Overriding dependencies during testing { #overriding-dependencies-during-testing } There are some scenarios where you might want to override a dependency during testing. You don't want the original dependency to run (nor any of the sub-dependencies it might have).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
* This is only necessary for default components using @Typed that want to support overriding. * * As a non-default component this now gets a negative priority relative to other implementations * of the same interface. Since we want to allow overriding this doesn't matter in this case. * (if it did we could add @Priority of 0 to match the priority given to default components.) *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
import java.net.InetAddress import java.net.Socket import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory /** * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureSocket]. */ open class DelegatingSSLSocketFactory( private val delegate: SSLSocketFactory, ) : SSLSocketFactory() { @Throws(IOException::class) override fun createSocket(): SSLSocket {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
/** * A test which demonstrates maven's recursive inheritance where * a distinct value is taken from each parent contributing to * the final model of the project being assembled. There is no * overriding going on amongst the models being used in this test: * each model in the lineage is providing a value that is not present * anywhere else in the lineage. We are just making sure that values
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.5K bytes - Click Count (0) -
docs/es/docs/advanced/testing-dependencies.md
# Probando Dependencias con Overrides { #testing-dependencies-with-overrides } ## Sobrescribir dependencias durante las pruebas { #overriding-dependencies-during-testing } Hay algunos escenarios donde podrías querer sobrescribir una dependencia durante las pruebas. No quieres que la dependencia original se ejecute (ni ninguna de las sub-dependencias que pueda tener).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
import java.io.IOException import java.net.InetAddress import java.net.Socket import javax.net.SocketFactory /** * A [SocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureSocket]. */ open class DelegatingSocketFactory( private val delegate: SocketFactory, ) : SocketFactory() { @Throws(IOException::class) override fun createSocket(): Socket {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.1K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request import org.junit.jupiter.api.Assumptions.assumeTrue import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Tests for SNI overriding on Android. */ @Tag("Remote") class SniOverrideTest { var client = OkHttpClient .Builder() .build() @Test fun getWithCustomSocketFactory() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/en/docs/how-to/authentication-error-status-code.md
But if for some reason your clients depend on the old behavior, you can revert to it by overriding the method `make_not_authenticated_error` in your security classes. For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/en/docs/how-to/extending-openapi.md
/// info The parameter `summary` is available in OpenAPI 3.1.0 and above, supported by FastAPI 0.99.0 and above. /// ## Overriding the defaults { #overriding-the-defaults } Using the information above, you can use the same utility function to generate the OpenAPI schema and override each part that you need.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/es/docs/how-to/extending-openapi.md
/// info | Información El parámetro `summary` está disponible en OpenAPI 3.1.0 y versiones superiores, soportado por FastAPI 0.99.0 y superiores. /// ## Sobrescribir los valores por defecto { #overriding-the-defaults } Usando la información anterior, puedes usar la misma función de utilidad para generar el esquema de OpenAPI y sobrescribir cada parte que necesites.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.6K bytes - Click Count (0)