Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_getData_wrongName (0.11 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            final Object obj = textTransformer.getData(accessResultData);
            assertNotNull(obj);
            assertTrue(obj instanceof String);
            assertEquals("xyz", obj.toString());
        }
    
        public void test_getData_wrongName() throws Exception {
            final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
            accessResultData.setTransformerName("transformer");
            accessResultData.setData("xyz".getBytes());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            assertNotNull(obj);
            assertTrue(obj instanceof InputStream);
            assertEquals("xyz", new String(IOUtils.toByteArray((InputStream) obj)));
        }
    
        public void test_getData_wrongName() throws Exception {
            final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
            accessResultData.setTransformerName("transformer");
            accessResultData.setData("xyz".getBytes());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            final Object obj = fileTransformer.getData(accessResultDataImpl);
            assertTrue(obj instanceof File);
            assertEquals(new File(fileTransformer.baseDir, "hoge.txt"), obj);
        }
    
        public void test_getData_wrongName() throws Exception {
            final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl();
            accessResultDataImpl.setData("hoge.txt".getBytes());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            accessResultDataImpl.setTransformerName("xpathTransformer");
    
            final Object obj = xpathTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
        public void test_getData_wrongName() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
                    + "<field name=\"title\">タイトル</field>\n"//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            accessResultDataImpl.setTransformerName("xmlTransformer");
    
            final Object obj = xmlTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
        public void test_getData_wrongName() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
                    + "<field name=\"title\">タイトル</field>\n"//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            accessResultDataImpl.setTransformerName("htmlTransformer");
    
            final Object obj = htmlTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
        public void test_getData_wrongName() throws Exception {
            final String value = "<html><body>hoge</body></html>";
            final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top