Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 114 for getList (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      public void testSubList_startNegative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(-1, 0));
      }
    
      public void testSubList_endTooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(0, getNumElements() + 1));
      }
    
      public void testSubList_startGreaterThanEnd() {
        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      public void testSubList_startNegative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(-1, 0));
      }
    
      public void testSubList_endTooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(0, getNumElements() + 1));
      }
    
      public void testSubList_startGreaterThanEnd() {
        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
            assertTrue(JsonPath.from(response).getInt("record_count") > 0);
            List<Map<String, Object>> docs = JsonPath.from(response).getList("data");
            for (Map<String, Object> doc : docs) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            assertEquals(1, itemList.size());
            return itemList.get(0);
        }
    
        protected static List<String> getSchedulerIds(final String namePrefix) {
            final String response = getJsonResponse("/api/admin/scheduler/settings");
            final List<String> idList = JsonPath.from(response).getList(getResponsePath(namePrefix) + ".id");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs");
    
            logger.info("Page 1: {}", page1);
    
            // Get second page
            searchBody.put("page", 2);
            response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
            List<Map<String, Object>> page2 = JsonPath.from(response).getList("response.logs");
    
            logger.info("Page 2: {}", page2);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            searchBody.put("q", NAME_PREFIX + "*");
    
            String response = checkMethodBase(searchBody).get(SEARCHLIST_API_PATH + "/docs").asString();
            List<Map<String, Object>> docs = JsonPath.from(response).getList("response.docs");
    
            for (Map<String, Object> doc : docs) {
                String docId = doc.get("doc_id").toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

            List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs");
    
            logger.info("Page 1: {}", page1);
    
            // Get second page
            searchBody.put("page", 2);
            response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
            List<Map<String, Object>> page2 = JsonPath.from(response).getList("response.logs");
    
            logger.info("Page 2: {}", page2);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

         * @return The list of retrieved objects.
         */
        protected <T> List<T> getList(final Class<T> clazz, final String sessionId, final QueryBuilder queryBuilder, final Integer from,
                final Integer size, final SortBuilder<?>... sortBuilders) {
            return getList(clazz, builder -> {
                if (StringUtil.isNotBlank(sessionId)) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                    .execute());
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
                    if (searchHits.getHits().length == 0) {
                        break;
                    }
    
                    for (final SearchHit searchHit : searchHits) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertEquals(0, jsonPath.getInt("response.status"));
            List<Map<String, Object>> logs = jsonPath.getList("response.logs");
            assertTrue(logs.size() >= 1);
    
            // Test with pagination
            searchBody.put("size", 10);
            searchBody.put("page", 1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
Back to Top