Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_getData_wrongName (0.15 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)
Back to top