Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 676 for assertEquals (0.05 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: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 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: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 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: 2024-11-01 12:43
    - Last Modified: 2024-07-23 14:22
    - 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: 2024-11-01 12:43
    - Last Modified: 2024-07-23 14:22
    - 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: 2024-10-31 13:40
    - Last Modified: 2024-07-24 08:54
    - 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: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 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: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 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: 2024-11-01 11:42
    - Last Modified: 2024-01-08 01:13
    - 8.9K bytes
    - Viewed (0)
  9. 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: 2024-10-31 13:40
    - Last Modified: 2024-02-22 01:37
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(0);
        written += 1;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        byte[] data = new byte[10];
        counter.write(data);
        written += 10;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
    Registered: 2024-11-01 12:43
    - Last Modified: 2023-09-06 17:04
    - 1.9K bytes
    - Viewed (0)
Back to top