Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 170 for testConstructor (0.18 seconds)

  1. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class DictionaryExpiredExceptionTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor() {
            // Test default constructor
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertNotNull(exception);
            assertNull(exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            String result = updateLabelJob.execute();
            assertNotNull(result);
            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
    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)
  3. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.register(null, "scriptEngineFactory");
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_constructor() {
            // Test that constructor creates an instance
            ScriptExecutor executor = new ScriptExecutor();
            assertNotNull(executor);
            assertTrue(executor instanceof JobExecutor);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        // Test default constructor
        @Test
        public void test_constructor() {
            assertNotNull(testScriptEngine);
        }
    
        // Test register method
        @Test
        public void test_register() {
            testScriptEngine.register();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            PopularWordsRequest request = new PopularWordsRequest();
            request.setSeed("test-seed");
    
            assertNotNull(request.buildRescore());
        }
    
        @Test
        public void test_constructor() throws Exception {
            PopularWordsRequest request = new PopularWordsRequest();
            assertNotNull(request);
        }
    
        private void indexQueryItems() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            // Test subclass
        }
    
        // Another mock subclass for testing
        private static class AdminAction extends RootAction {
            // Test admin subclass
        }
    
        @Test
        public void test_constructor() {
            // Test constructor with RootAction class
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            logNotificationJob = new LogNotificationJob();
        }
    
        @Test
        public void test_constructor() {
            LogNotificationJob job = new LogNotificationJob();
            assertNotNull(job);
        }
    
        @Test
        public void test_execute_disabled() {
            TestFessConfig fessConfig = new TestFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            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
    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/exec/ThumbnailGeneratorTest.java

        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_constructor() {
            // Test default constructor
            ThumbnailGenerator generator = new ThumbnailGenerator();
            assertNotNull(generator);
        }
    
        @Test
        public void test_Options_defaultValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Test default constructor
        @Test
        public void test_constructor() {
            PurgeThumbnailJob job = new PurgeThumbnailJob();
            assertNotNull(job);
            assertEquals(30L * 24 * 60 * 60 * 1000L, job.getExpiry());
        }
    
        // Test getExpiry with default value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top