Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for test_ingest_withException (0.09 seconds)

  1. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Verify ingester was called
            assertEquals(1, ingester.processCalled);
            assertEquals("processed", result.get("status"));
        }
    
        @Test
        public void test_ingest_withException() {
            // Setup ingester that throws exception
            TestIngester failingIngester = new TestIngester() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            // Result should be the same as input doc when ingester is null or doesn't modify
            assertSame(doc, result);
        }
    
        // Test ingest with exception in ingester
        @Test
        public void test_ingest_withException() {
            final TestIngestFactory factory = (TestIngestFactory) ingestFactory;
            factory.setThrowException(true);
    
            final Map<String, Object> doc = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
Back to Top