- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 765 for Lock (0.31 sec)
-
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
private CurlHelper curlHelper; @Override public void setUp() throws Exception { super.setUp(); curlHelper = new CurlHelper(); } public void test_get() { // Mock FessConfig and ResourceUtil setupMockConfig("localhost:9200", "", ""); curlHelper.init(); CurlRequest request = curlHelper.get("/test"); assertNotNull(request);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If you must, mock `Call.Factory` which is the interface that `OkHttpClient` implements. #### Internal API changes The `okhttp3.internal` package is not a published API and we change it frequently without warning.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.9.md
* Support copying "options" in resolv.conf into pod sandbox when dnsPolicy is Default ([#54773](https://github.com/kubernetes/kubernetes/pull/54773), [@phsiao](https://github.com/phsiao)) * Fix support for configmap resource lock type in CCM ([#55125](https://github.com/kubernetes/kubernetes/pull/55125), [@jhorwit2](https://github.com/jhorwit2))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Tue Nov 16 10:46:27 UTC 2021 - 313.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
// Third call without SAStruts.method again mockRequest.setQueryString("page=1"); assertEquals(customPath, webApiRequest.getServletPath()); } // Simple mock implementation of HttpServletRequest for testing private static class MockHttpServletRequest implements HttpServletRequest { private String queryString; private String servletPath;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
assertTrue("ACCESS_CONTROL_MAX_AGE should be final", Modifier.isFinal(maxAgeField.getModifiers())); } // Helper method to create mock HttpServletRequest private HttpServletRequest createMockRequest() { return new HttpServletRequest() { @Override public String getAuthType() { return null;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
mockwebserver/README.md
server.close() } ``` Your unit tests might move the `server` into a field so you can shut it down from your test's `tearDown()`. ### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ### Java ```java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-nested-models.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
public class QueryContextTest extends UnitFessTestCase { private QueryContext queryContext; @Override public void setUp() throws Exception { super.setUp(); // Set up FessConfig mock ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getIndexFieldUrl() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.config.BaseConfiguration; import jcifs.internal.util.SMBUtil; import jcifs.smb.FileEntry; /** * Test class for NetServerEnum2Response */ class NetServerEnum2ResponseTest { @Mock private Configuration mockConfig;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)