Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for test_available (0.1 seconds)

  1. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/container/LastaCrawlerContainerTest.java

        @Resource
        private CrawlerContainer crawlerContainer;
    
        @Override
        protected String prepareConfigFile() {
            return "crawler.xml";
        }
    
        @Test
        public void test_available() {
            // Container should be available after initialization
            assertTrue(crawlerContainer.available());
        }
    
        @Test
        public void test_getComponent_crawler() {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 16 13:52:11 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

     */
    public class TcpRdmaProviderTest {
    
        private TcpRdmaProvider provider;
    
        @BeforeEach
        public void setUp() {
            provider = new TcpRdmaProvider();
        }
    
        @Test
        public void testIsAvailable() {
            assertTrue(provider.isAvailable(), "TCP provider should always be available");
        }
    
        @Test
        public void testGetSupportedCapabilities() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
            pdis.readByte(); // position is 1
            pdis.align(0);
            assertEquals(3, pdis.available());
        }
    
        @Test
        public void testAvailable() throws IOException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(4, pdis.available());
            pdis.readByte();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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