Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 826 for assertEquals (0.12 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            assertEquals(3, itemList1.size());
            assertEquals(3, itemList1.getAllRecordCount());
            assertEquals(1, itemList1.getCurrentPageNumber());
            assertEquals(20, itemList1.getPageSize());
    
            final PagingList<KuromojiItem> itemList2 = kuromojiFile.selectList(2, 2);
            assertEquals(1, itemList2.size());
            assertEquals(3, itemList2.getAllRecordCount());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

        public void test_formatNumber() {
            assertEquals("0", FessFunctions.formatNumber(0, "###,###"));
            assertEquals("1,000", FessFunctions.formatNumber(1000, "###,###"));
            assertEquals("1,000,000", FessFunctions.formatNumber(1000000, "###,###"));
        }
    
        public void test_formatFileSize() {
            assertEquals("0", FessFunctions.formatFileSize(0));
            assertEquals("1000", FessFunctions.formatFileSize(1000));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        in.readFully(actual);
        assertEquals('r', actual[0]);
        assertEquals(0, actual[1]);
        assertEquals((byte) 0xC9, actual[2]);
        assertEquals(0, actual[3]);
        assertEquals('s', actual[4]);
        assertEquals(0, actual[5]);
        assertEquals('u', actual[6]);
        assertEquals(0, actual[7]);
        assertEquals('m', actual[8]);
        assertEquals(0, actual[9]);
        assertEquals((byte) 0xC9, actual[10]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        in.readFully(actual);
        assertEquals('r', actual[0]);
        assertEquals(0, actual[1]);
        assertEquals((byte) 0xC9, actual[2]);
        assertEquals(0, actual[3]);
        assertEquals('s', actual[4]);
        assertEquals(0, actual[5]);
        assertEquals('u', actual[6]);
        assertEquals(0, actual[7]);
        assertEquals('m', actual[8]);
        assertEquals(0, actual[9]);
        assertEquals((byte) 0xC9, actual[10]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            final String virtualHost = "aaa";
    
            assertEquals(1, indexingHelper.deleteByVirtualHost(virtualHost));
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals("virtual_host", resultMap.get("field"));
            assertEquals(virtualHost, resultMap.get("value"));
        }
    
        public void test_calculateDocumentSize() {
            assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "";
            assertEquals("", ResourceUtil.resolve(value));
    
            value = "a";
            assertEquals(value, ResourceUtil.resolve(value));
    
            value = "${a}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            value = "$a";
            assertEquals(value, ResourceUtil.resolve(value));
    
            value = "${a";
            assertEquals(value, ResourceUtil.resolve(value));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/app/pager/DataConfigPagerTest.java

            dataconfigpager.clear();
            assertEquals(0, dataconfigpager.getAllRecordCount());
            assertEquals(0, dataconfigpager.getAllPageCount());
            assertEquals(false, dataconfigpager.isExistPrePage());
            assertEquals(false, dataconfigpager.isExistNextPage());
            assertEquals(25, dataconfigpager.getPageSize());
            assertEquals(1, dataconfigpager.getCurrentPageNumber());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertEquals(3, binarySearch(0, 5) { index -> 7.compareTo(table[index]) })
        assertEquals(4, binarySearch(0, 5) { index -> 9.compareTo(table[index]) })
    
        // Search for misses.
        assertEquals(-1, binarySearch(0, 5) { index -> 0.compareTo(table[index]) })
        assertEquals(-2, binarySearch(0, 5) { index -> 2.compareTo(table[index]) })
        assertEquals(-3, binarySearch(0, 5) { index -> 4.compareTo(table[index]) })
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            settings.elevateWord().add(elevateWord3);
    
            assertEquals(3, settings.elevateWord().get().length);
            assertEquals(elevateWord1.getElevateWord(), settings.elevateWord().get()[0].getElevateWord());
            assertEquals(elevateWord1.getBoost(), settings.elevateWord().get()[0].getBoost(), 0);
            assertEquals(elevateWord1.getReadings().get(0), settings.elevateWord().get()[0].getReadings().get(0));
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                }
            };
    
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName(null));
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName(""));
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName("ja"));
            assertEquals(Locale.JAPANESE, fessConfig.getQueryLocaleFromName("test_ja"));
            assertEquals(Locale.CHINESE, fessConfig.getQueryLocaleFromName("test_zh"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top