Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for checkMethodBase (0.21 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/fileconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/webconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/webconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            Response response = checkMethodBase(body).get(getApiPath() + "/" + path);
            // logger.debug(response.asString());
            return response;
        }
    
        protected Response checkPostMethod(final Map<String, Object> body, final String path) {
            Response response = checkMethodBase(body).post(getApiPath() + "/" + path);
            // logger.debug(response.asString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            Map<String, Object> labelBody = new HashMap<>();
            labelBody.put("name", name);
            labelBody.put("value", value);
            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/BackupTests.java

            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        @AfterEach
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/ITBase.java

        }
    
        public static String getEsUrl() {
            return System.getProperty("test.search_engine.url", DEFAULT_SEARCH_ENGINE_URL);
        }
    
        protected static RequestSpecification checkMethodBase(final Map<String, Object> body) {
            return given().contentType("application/json")
                    .header("Authorization", getTestToken())
                    .body(body, ObjectMapperType.JACKSON_2)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

            Map<String, Object> labelBody = new HashMap<>();
            labelBody.put("name", CRAWL_LABEL);
            labelBody.put("value", CRAWL_LABEL);
            labelBody.put("included_paths", ".*");
            Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting");
            JsonPath jsonPath = JsonPath.from(response.asString());
            assertTrue(jsonPath.getBoolean("response.created"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

                refresh();
            }
    
            checkUpdate();
        }
    
        @Override
        protected List<Map<String, Object>> getItemList(final Map<String, Object> body) {
            final String response = checkMethodBase(body).get(getApiPath() + "/" + getListEndpointSuffix()).asString();
            final List<Map<String, Object>> results = JsonPath.from(response).getList("response.docs");
            return results;
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 12 02:18:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/LogTests.java

            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        @AfterEach
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top