Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,772 for test$ (0.05 sec)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

        }
    
        @Test
        public void testCustomFailureDetection() throws CIFSException {
            // Create a fresh circuit breaker for this test to avoid state pollution
            SmbCircuitBreaker customCb = new SmbCircuitBreaker("custom-test", 3, 2, 1000, 3);
    
            try {
                // Test that without custom predicate, all failures count
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlTest.java

            assertEquals(Method.DELETE, Curl.delete("http://test.com").method());
            assertEquals(Method.HEAD, Curl.head("http://test.com").method());
            assertEquals(Method.OPTIONS, Curl.options("http://test.com").method());
            assertEquals(Method.CONNECT, Curl.connect("http://test.com").method());
        }
    
        @Test
        public void test_FactoryMethodsWithDifferentUrls() {
            // ## Test factory methods with various URL formats ##
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.NameServiceClient;
    import jcifs.NetbiosAddress;
    import jcifs.util.Hexdump;
    
    /**
     * Comprehensive test suite for Type2Message NTLM authentication message.
     * Tests all constructors, parsing, and serialization functionality.
     */
    @DisplayName("Type2Message Comprehensive Tests")
    class Type2MessageTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        }
    
        // Test destroyContainer private static method via reflection
        public void test_destroyContainer() throws Exception {
            // Test destroyContainer method - skip this test as it conflicts with container management
            // The test framework manages the container lifecycle
            assertTrue(true);
        }
    
        // Test process method with different options
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            // Test with null
            result = crawlJob.webConfigIds(null);
            assertNull(crawlJob.webConfigIds);
            assertSame(crawlJob, result);
    
            // Test with empty array
            result = crawlJob.webConfigIds(new String[0]);
            assertEquals(0, crawlJob.webConfigIds.length);
            assertSame(crawlJob, result);
        }
    
        // Test fileConfigIds setter
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            // Should match included path
            assertTrue(pattern.match("/test/path"));
    
            // Should not match non-included path
            assertFalse(pattern.match("/other/path"));
        }
    
        public void test_labelTypePattern_match_onlyExcluded() {
            LabelTypePattern pattern = new LabelTypePattern("test", null, "/exclude.*");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            }
            super.tearDown();
        }
    
        public void test_getName() {
            // Test getting the generator name
            assertEquals("TestGenerator", thumbnailGenerator.getName());
        }
    
        public void test_generate_withValidThumbnailId() {
            // Test successful thumbnail generation
            String thumbnailId = "test-thumbnail-001";
            assertTrue(thumbnailGenerator.generate(thumbnailId, tempOutputFile));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    "_id", "001", //
                    "config_id", "W01", //
                    "url", "http://test.com/001"//
            )));
            docList.add(new HashMap<>(Map.of(//
                    "_id", "002", //
                    "thumbnail", "http://test.com/002", //
                    "url", "http://test.com/002"//
            )));
            indexingHelper.sendDocuments(client, docList);
            assertEquals(0, docList.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

        }
    
        @Nested
        @DisplayName("Interface Implementation Tests")
        class InterfaceImplementationTests {
    
            @Test
            @DisplayName("Should implement AllocInfo interface")
            void shouldImplementAllocInfo() {
                assertTrue(AllocInfo.class.isAssignableFrom(FileFsFullSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should implement FileSystemInformation interface")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/SpnegoTokenTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.IOException;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SpnegoToken.
     * Uses a minimal concrete subclass to exercise abstract methods.
     */
    class SpnegoTokenTest {
    
        /**
         * Minimal concrete implementation for testing.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top