Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_abbreviateLongText (0.09 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final String docId = systemHelper.generateDocId(Collections.emptyMap());
            assertNotNull(docId);
            assertEquals(32, docId.length());
        }
    
        public void test_abbreviateLongText() {
            assertEquals("", systemHelper.abbreviateLongText(""));
            assertEquals(4000, systemHelper.abbreviateLongText(Stream.generate(() -> "a").limit(4000).collect(Collectors.joining())).length());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top