Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_empty_list (0.23 sec)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("key", listWithNulls);
    
            String[] result = DocumentUtil.getValue(doc, "key", String[].class);
            assertArrayEquals(new String[] { "a", "b", "c" }, result);
        }
    
        public void test_empty_list() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key", new ArrayList<>());
    
            assertNull(DocumentUtil.getValue(doc, "key", String.class));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertSame(set, set.subSet("c", "f"));
      }
    
      public void testEmpty_first() {
        SortedSet<String> set = of();
        assertThrows(NoSuchElementException.class, () -> set.first());
      }
    
      public void testEmpty_last() {
        SortedSet<String> set = of();
        assertThrows(NoSuchElementException.class, () -> set.last());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
Back to top