Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 384 of 384 for mockito (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            curlHelper.init();
            CurlRequest request = curlHelper.get("/test");
    
            assertNotNull(request);
            // The request should be properly created - we can't easily verify headers without mocking framework
        }
    
        public void test_post() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.post("/test");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        taskFaker.runTasks()
      }
    
      private fun connectHttp2(
        peer: MockHttp2Peer,
        realConnection: RealConnection,
        maxConcurrentStreams: Int,
      ): Http2Connection {
        // Write the mocking script.
        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        the entire connection to fail.
     *  Fix: Don’t crash on unexpected charsets in the logging interceptor.
     *  Fix: `OkHttpClient` is now non-final for the benefit of mocking frameworks.
        Mocking sophisticated classes like `OkHttpClient` is fragile and you
        shouldn’t do it. But if that’s how you want to live your life we won’t stand
        in your way!
    
    
    ## Version 3.0.1
    
    _2016-01-14_
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
     *       the {@code Converter} type using a mocking framework.
     *   <li>Pass two lambda expressions or method references to the {@link #from from} factory method.
     *   <li>Extend this class and implement its {@link #doForward} and {@link #doBackward} methods.
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top