- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 62 for setResponse (1.06 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
*/ public Object get(final String key) { final GetResponse getResponse = client.prepareGet().setIndex(settingsIndexName).setId(settingsId).execute().actionGet(getSearchTimeout()); if (!getResponse.isExists()) { return null; } final Map<String, Object> map = getResponse.getSource(); return map.get(key); } /**
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 18.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */ public void assertPriorCallReturns(boolean expected, @Nullable String methodName) throws Exception { assertEquals(expected, getResponse(methodName).getResult()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
} @Test void testGetResponseNull() { // Test case for getResponse method when it returns null (no response yet) when(mockRequest.getResponse()).thenReturn(null); assertNull(mockRequest.getResponse(), "Response should be null when mocked to do so."); verify(mockRequest, times(1)).getResponse(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertSame(request, negotiation.getRequest()); } @Test @DisplayName("getResponse should return the same response instance") void testGetResponse() { // Verify getResponse returns the exact same instance SmbNegotiationResponse response = negotiation.getResponse(); assertSame(mockResponse, response); // Verify multiple calls return the same instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
return new SuggestWriterResult(); } for (final SuggestItem item : mergedItems) { final GetResponse getResponse = client.prepareGet().setIndex(index).setId(item.getId()).get(TimeValue.timeValueSeconds(30)); if (update && getResponse.isExists()) { final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
assertEquals("testuser", ((TestLoginCredential) credential).username); } // Test getResponse() method public void test_getResponse_whenNotAvailable() { currentSsoType = Constants.NONE; assertNull(ssoManager.getResponse(SsoResponseType.METADATA)); assertNull(ssoManager.getResponse(SsoResponseType.LOGOUT)); } public void test_getResponse_whenAvailableButNoAuthenticator() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
server.enqueue(response) assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/foo"))) assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/bar?baz=quux"))) assertThat(server.takeRequest().exchangeIndex).isEqualTo(1) assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/z"))) assertThat(server.takeRequest().exchangeIndex).isEqualTo(2)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
assertNotNull(authenticator.getLastResolver()); } // Test getResponse method with different response types public void test_getResponse_withMetadataType() { // Setup - Test with null response initially ActionResponse result = authenticator.getResponse(SsoResponseType.METADATA); // Verify initial state assertNull(result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */ public void assertPriorCallReturns(boolean expected, @Nullable String methodName) throws Exception { assertEquals(expected, getResponse(methodName).getResult()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
* @return The response. */ public RESPONSE getResponse() { return getResponse(1, TimeUnit.MINUTES); } /** * Returns the response. * @param time The time to wait. * @param unit The time unit. * @return The response. */ public RESPONSE getResponse(final long time, final TimeUnit unit) { try {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0)