- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 141 for getMin (0.32 seconds)
-
guava-tests/test/com/google/common/math/StatsTest.java
assertEquivalent(stats.mean(), streamStats.getAverage()); assertEquivalent(stats.sum(), streamStats.getSum()); assertEquivalent(stats.max(), streamStats.getMax()); assertEquivalent(stats.min(), streamStats.getMin()); } } private static void assertEquivalent(double actual, double expected) { if (expected == POSITIVE_INFINITY) { assertThat(actual).isPositiveInfinity();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 33.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Test getting non-existing item OptionalEntity<ProtwordsItem> item = protwordsFile.get(999); assertFalse(item.isPresent()); } @Test public void test_get_withUnloadedData() { // Test getting item when data is not loaded yet OptionalEntity<ProtwordsItem> item = protwordsFile.get(1); assertTrue(item.isPresent());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
int andRecordCount = JsonPath.from(andResponse).getInt("record_count"); Map<String, String> params = new HashMap<>(); params.put("q", query); params.put("num", "100"); String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString(); assertTrue(JsonPath.from(response).getInt("record_count") > andRecordCount);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
} // Test basic property retrieval @Test public void test_get_basicProperty() { // Test getting a property from the config String value = fessConfig.get("domain.title"); assertEquals("Test Fess", value); // Test getting another property String engineType = fessConfig.get("search_engine.type"); assertEquals("opensearch", engineType); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @return the field value * @throws IllegalAccessRuntimeException {@link IllegalAccessException} if an error occurs * @see #getInt(Field, Object) */ public static int getInt(final Field field) throws IllegalAccessRuntimeException { assertArgumentNotNull("field", field); return getInt(field, null); } /** * Returns the value of a {@link Field} as an int. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
assertEquals(1, JsonPath.from(response).getInt("response.status")); // Test PUT /api/admin/crawlinginfo/logs final Map<String, Object> putBody = new HashMap<>(); putBody.put("size", 10); response = checkMethodBase(putBody).put("/api/admin/crawlinginfo/logs").asString(); assertEquals(0, JsonPath.from(response).getInt("response.status"));
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) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertEquals("01T", crawlingConfigHelper.getDefaultConfig(ConfigType.WEB).get().getId()); assertEquals("11T", crawlingConfigHelper.getDefaultConfig(ConfigType.FILE).get().getId()); assertEquals("21T", crawlingConfigHelper.getDefaultConfig(ConfigType.DATA).get().getId()); } @Test public void test_getId() { // Test getId method through reflection since it's protected try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
} private static final SID USER_SID = new SID() { @Override public SID getDomainSid() { return null; } @Override public int getRid() { return 0; } @Override public String toDisplayString() { return getDomainName() + "\\" + getAccountName(); } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
public void store(final ElevateWord elevateWord) { final boolean isNew = elevateWord.getId() == null; final String[] labelTypeIds = elevateWord.getLabelTypeIds(); elevateWordBhv.insertOrUpdate(elevateWord, op -> { op.setRefreshPolicy(Constants.TRUE); }); final String elevateWordId = elevateWord.getId(); if (labelTypeIds != null) { if (isNew) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
public void test_getId() { // Test getId method from parent class StopwordsItem item1 = new StopwordsItem(0, "word1"); assertEquals(0, item1.getId()); StopwordsItem item2 = new StopwordsItem(999, "word2"); assertEquals(999, item2.getId()); StopwordsItem item3 = new StopwordsItem(-1, "word3"); assertEquals(-1, item3.getId()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0)