Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_normalize (0.56 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java

            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("encodingHelper", EncodingHelper.class);
            encodingHelper = container.getComponent("encodingHelper");
        }
    
        public void test_normalize() {
            String enc;
    
            enc = "UTF-8";
            assertEquals("UTF-8", encodingHelper.normalize(enc));
    
            enc = "Shift_JIS";
            assertEquals("Shift_JIS", encodingHelper.normalize(enc));
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Test
        public void test_normalize() throws Exception {
            Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DecimalFormatUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testNormalize() throws Exception {
            assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
            assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top