Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for test_convert (0.23 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class KatakanaToAlphabetConverterTest extends TestCase {
        public void test_convert() {
            KatakanaToAlphabetConverter katakanaToAlphabetConverter = new KatakanaToAlphabetConverter();
            assertTrue(katakanaToAlphabetConverter.convert("ケンサク", null).contains("kennsaku"));
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1007 bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class ReadingConverterChainTest extends TestCase {
        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverterChain chain = new ReadingConverterChain(); chain.addConverter(new KatakanaConverter());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/KatakanaConverterTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class KatakanaConverterTest extends TestCase {
        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverter converter = new KatakanaConverter(); converter.init(); assertEquals("ケンサク",
             * converter.convert("検索").get(0));
             */
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1001 bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java

            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("urlConvertHelper", UrlConvertHelper.class);
            urlConvertHelper = container.getComponent("urlConvertHelper");
        }
    
        public void test_convert() {
            String url;
    
            url = "http://hoge.com/http/fuga.html";
            assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));
    
            url = "tp://hoge.com/http/fuga.html";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            hoge.setRegularName("www.foo.com");
            hoge.setDuplicateHostName("www.foo.com:99");
            duplicateHostHelper.duplicateHostList.add(hoge);
        }
    
        public void test_convert() {
            String url;
            String result;
    
            url = "http://foo.com";
            result = "http://www.foo.com";
            assertEquals(result, duplicateHostHelper.convert(url));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_response/test_tutorial009b.py

    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009b.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 490 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_custom_response/test_tutorial009.py

    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 487 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_custom_response/test_tutorial008.py

    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial008.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 487 bytes
    - Viewed (0)
Back to top