Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,510 for test_ (0.03 seconds)

  1. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

        public void test_add() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
    
            DuplicateHost testHost = new DuplicateHost();
            testHost.setRegularName("www.test.com");
            testHost.setDuplicateHostName("test.com");
    
            helper.add(testHost);
    
            assertNotNull(helper.duplicateHostList);
            assertEquals(1, helper.duplicateHostList.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class InputStreamThreadTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor() {
            String input = "test line";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            assertEquals(customPath, webApiRequest.getServletPath());
        }
    
        // Test wrapper functionality inheritance
        @Test
        public void test_inheritedMethods_areProperlyDelegated() {
            final String customPath = "/api/v1/test";
            final String testHeader = "X-Test-Header";
            final String testHeaderValue = "TestValue";
    
            mockRequest.addHeader(testHeader, testHeaderValue);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "test.sql"));
            }
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                assertEquals("text/x-plsql", mimeTypeHelper.getContentType(is, "test.plsql"));
            }
        }
    
        @Test
        public void test_init_malformedEntry_noEquals() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            assertTrue(result.contains("documents"));
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
            UpdateLabelJob job = new UpdateLabelJob();
            assertNotNull(job);
            assertNull(job.queryBuilder);
        }
    
        // Test processing documents with various URL conditions
        @Test
        public void test_execute_variousUrlConditions() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

    import java.util.Set;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("DcerpcError Test")
    class DcerpcErrorTest {
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_OTHER constant value")
        void testDcerpcFaultOther() {
            assertEquals(0x00000001, DcerpcError.DCERPC_FAULT_OTHER);
        }
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_ACCESS_DENIED constant value")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_constructor() {
            // Test that constructor works properly
            assertNotNull(new LtrQueryRescorer());
        }
    
        @Test
        public void test_evaluate_withBlankModelName() {
            // Test when model name is blank
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

        }
    
        @Test
        public void test_setCrawlerRunning() {
            IntervalControlHelper helper = new IntervalControlHelper();
    
            // Test default state
            assertTrue(helper.isCrawlerRunning());
    
            // Test setting to false
            helper.setCrawlerRunning(false);
            assertFalse(helper.isCrawlerRunning());
    
            // Test setting back to true
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        }
    
        @Test
        public void test_initialize_withValidParameters() {
            final CustomSize annotation = createBasicAnnotation();
            validator.initialize(annotation);
            // Test that initialization completes without exception
        }
    
        @Test
        public void test_classStructure() {
            // Test that the class exists and has the expected structure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top