Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for test_isAvailable (0.06 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator.destroy();
            // Call destroy multiple times to ensure it's safe
            emptyGenerator.destroy();
            emptyGenerator.destroy();
        }
    
        @Test
        public void test_isAvailable() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test that isAvailable returns true for EmptyGenerator
            assertTrue(emptyGenerator.isAvailable());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            Map<String, Object> docMap = new HashMap<>();
            docMap.put("mimetype", null);
            assertFalse(thumbnailGenerator.isTarget(docMap));
        }
    
        @Test
        public void test_isAvailable() {
            // Test availability check
            assertTrue(thumbnailGenerator.isAvailable());
        }
    
        @Test
        public void test_destroy() {
            // Test destroy method - should not throw exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

                return generateCalled;
            }
    
            public boolean isDestroyCalled() {
                return destroyCalled;
            }
        }
    
        @Test
        public void test_isAvailable() {
            // Test default implementation
            generator = new TestThumbnailGenerator();
            assertTrue(generator.isAvailable());
        }
    
        @Test
        public void test_isTarget() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
Back to Top