- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for null_value (0.23 seconds)
-
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
sourceMap.put("string", "test"); sourceMap.put("integer", 42); sourceMap.put("long", 100L); sourceMap.put("double", 3.14); sourceMap.put("boolean", false); sourceMap.put("null_value", null); sourceMap.put("nested", nestedMap); event.setSourceMap(sourceMap); Map<String, Object> result = event.toSource(); assertEquals("test", result.get("string"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullKey)); Map<? extends Class<? extends Number>, Number> nullValue = singletonMap(Number.class, null); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullValue)); } public void testCopyOf_imap_empty() { Map<Class<?>, Object> in = emptyMap();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.lang; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
@Override public long process() { // This will cause NullPointerException when auto-unboxing Long nullValue = null; return nullValue; } } // Test class that throws RuntimeException private static class RuntimeExceptionScoreBooster extends ScoreBooster { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertEquals("present", presentOptional.get()); assertEquals("present", presentOptional.orElse("default")); // Test with null value String nullValue = null; OptionalEntity<String> emptyOptional = OptionalUtil.ofNullable(nullValue); assertFalse(emptyOptional.isPresent()); assertEquals("default", emptyOptional.orElse("default"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
() -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullKey)); Entry<Integer, @Nullable Integer> nullValue = ImmutableBiMapTest.<@Nullable Integer>entry(23, null); assertThrows( NullPointerException.class, () -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullValue)); } private static <T extends @Nullable Object> Entry<T, T> entry(T key, T value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
boolean permitsDuplicates, @Nullable String nullKey, @Nullable Integer nullValue) { multimap.clear(); multimap.put("foo", 1); multimap.put("foo", 2); multimap.put("foo", 3); multimap.put("bar", 5); multimap.put("bar", -1); multimap.put(nullKey, nullValue); multimap.put("foo", nullValue); multimap.put(nullKey, 5); multimap.put("foo", 2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
assertEquals(1, intValues.length); assertEquals("123", intValues[0]); String[] nullValues = defaultContentsParser.getFieldValues(document, "non_existent"); assertEquals(0, nullValues.length); } @Test public void test_parseSearchWords() throws Exception { String[] words = new String[] { "検索", "エンジン" };
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 12.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// null key InternalEntry<Object, Object, ?> nullEntry = segment.newEntryForTesting(null, hash, entry); Object nullValue = new Object(); WeakValueReference<Object, Object, ?> nullValueRef = segment.newWeakValueReferenceForTesting(nullEntry, nullValue); segment.setWeakValueReferenceForTesting(nullEntry, nullValueRef); segment.setTableEntryForTesting(index, nullEntry); // skip the null keyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// null key InternalEntry<Object, Object, ?> nullEntry = segment.newEntryForTesting(null, hash, entry); Object nullValue = new Object(); WeakValueReference<Object, Object, ?> nullValueRef = segment.newWeakValueReferenceForTesting(nullEntry, nullValue); segment.setWeakValueReferenceForTesting(nullEntry, nullValueRef); segment.setTableEntryForTesting(index, nullEntry); // skip the null keyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0)