Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for getResponse (0.06 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertThat(getResponse(methodName).getResult()).isNull();
      }
    
      /**
       * 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());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            assertNotNull(result);
            assertFalse(result.hasFailure());
    
            runner.refresh();
    
            GetResponse getResponse =
                    runner.client().prepareGet().setIndex(suggester.getIndex()).setId(item.getId()).get(TimeValue.timeValueSeconds(30));
            assertTrue(getResponse.isExists());
        }
    
        @Test
        public void test_writeItemsWithUpdate() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  3. 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);
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertThat(getResponse(methodName).getResult()).isNull();
      }
    
      /**
       * 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());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            assertNotNull(authenticator.getLastResolver());
        }
    
        // Test getResponse method with different response types
        @Test
        public void test_getResponse_withMetadataType() {
            // Setup - Test with null response initially
            ActionResponse result = authenticator.getResponse(SsoResponseType.METADATA);
    
            // Verify initial state
            assertNull(result);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (1)
  6. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            assertEquals("testuser", ((TestLoginCredential) credential).username);
        }
    
        // Test getResponse() method
        @Test
        public void test_getResponse_whenNotAvailable() {
            currentSsoType = Constants.NONE;
            assertNull(ssoManager.getResponse(SsoResponseType.METADATA));
            assertNull(ssoManager.getResponse(SsoResponseType.LOGOUT));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertNotNull(processor);
            assertNotNull(processor.getResponse());
        }
    
        @Test
        public void testRequestProcessorGetResponse() {
            // Test RequestProcessor getResponse method
            CurlRequest.RequestProcessor processor = new CurlRequest.RequestProcessor("UTF-8", 2048);
            CurlResponse response = processor.getResponse();
            assertNotNull(response);
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        @Test
        public void test_completeOperation_ownInstance_deletesDoc() {
            setupMockFessConfig();
            final String getResponse = "{\"found\":true,\"_seq_no\":5,\"_primary_term\":1,"
                    + "\"_source\":{\"type\":\"operation\",\"name\":\"reindex\"," + "\"instanceId\":\"node1@host1\",\"status\":\"running\"}}";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/curl/CurlRequest.java

            connect(con -> {
                final RequestProcessor processor = new RequestProcessor(encoding, threshold);
                processor.accept(con);
                try (final CurlResponse res = processor.getResponse()) {
                    actionListener.accept(res);
                } catch (final IOException e) {
                    exceptionListener.accept(e);
                }
            }, exceptionListener);
        }
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SPNEGO Authenticator");
                }
                final HttpServletResponse response = LaResponseUtil.getResponse();
                final SpnegoHttpServletResponse spnegoResponse = new SpnegoHttpServletResponse(response);
    
                // client/caller principal
                final SpnegoPrincipal principal;
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
Back to Top