Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for injection (0.17 sec)

  1. mockwebserver-junit5/README.md

    ```
    class MyTest {
      private final MockWebServer server;
    
      MyTest(MockWebServer server) {
        this.server = server;
      }
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Constructor injection is particularly concise in Kotlin:
    
    ```
    class MyTest(
      private val server: MockWebServer
    ) {
      @Test
      fun test() {
        ...
      }
    }
    ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        )
        server.enqueue(MockResponse())
        assertFailsWith<SSLPeerUnverifiedException> {
          execute(url)
        }
      }
    
      /**
       * Skips coalescing when hostname verifier is overridden since the intention of the hostname
       * verification is a black box.
       */
      @Test
      fun skipsWhenHostnameVerifierUsed() {
        val verifier = HostnameVerifier { name: String?, session: SSLSession? -> true }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    1018B..1018C  ; valid                  ;      ; NV8    # 7.0  GREEK ONE QUARTER SIGN..GREEK SINUSOID SIGN
    1018D..1018E  ; valid                  ;      ; NV8    # 9.0  GREEK INDICTION SIGN..NOMISMA SIGN
    1018F         ; disallowed                             # NA   <reserved-1018F>
    10190..1019B  ; valid                  ;      ; NV8    # 5.1  ROMAN SEXTANS SIGN..ROMAN CENTURIAL SIGN
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
Back to top