- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getTestToken (0.2 seconds)
-
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
void testUpload_ok() { // Create a test file content String fileContent = "Test file content for storage upload"; // Upload file Response response = given().header("Authorization", getTestToken()) .multiPart("file", NAME_PREFIX + "test.txt", fileContent.getBytes()) .when() .put(getApiPath() + "/upload/");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/ITBase.java
public static final String DEFAULT_TEST_TOKEN_ID = "testToken"; private static final String TEST_TOKEN = "test.token"; public static String getTestToken() { return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN); } public static String settingTestToken() { final String testToken = System.getProperty(TEST_TOKEN);
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) -
src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java
} refresh(); // Download CSV Response response = given().contentType("application/json").header("Authorization", getTestToken()).when().get(getApiPath() + "/download"); assertEquals(200, response.getStatusCode()); String body = response.getBody().asString(); assertTrue(body != null, "CSV response should not be null");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/BadWordTests.java
} refresh(); // Download CSV Response response = given().contentType("application/json").header("Authorization", getTestToken()).when().get(getApiPath() + "/download"); assertEquals(200, response.getStatusCode()); String body = response.getBody().asString(); assertTrue(body != null, "CSV response should not be null");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) -
src/test/java/org/codelibs/fess/it/CrudTestBase.java
// logger.debug(response.asString()); return response; } protected Response checkDeleteMethod(final String path) { return given().contentType("application/json").header("Authorization", getTestToken()).delete(getApiPath() + "/" + path); } protected List<Map<String, Object>> getItemList(final Map<String, Object> body) { String response = checkGetMethod(body, getListEndpointSuffix()).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)