Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 312 for _shouldn (0.05 sec)

  1. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            assertNotNull("FessWebResourceRoot class should exist", FessWebResourceRoot.class);
        }
    
        public void test_inheritance() {
            // Verify that FessWebResourceRoot extends StandardRoot
            assertTrue("FessWebResourceRoot should extend StandardRoot", StandardRoot.class.isAssignableFrom(FessWebResourceRoot.class));
            assertTrue("FessWebResourceRoot should implement WebResourceRoot",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

            valve1.setShowReport(true);
            valve1.setShowServerInfo(true);
    
            // valve2 should still have default values
            assertFalse("valve2 should have independent ShowReport setting", valve2.isShowReport());
            assertFalse("valve2 should have independent ShowServerInfo setting", valve2.isShowServerInfo());
        }
    
        public void test_toggleSettingsMultipleTimes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

                caughtSpecific = true;
            } catch (RuntimeException e) {
                caughtRuntime = true;
            }
    
            assertTrue("Should have caught DictionaryExpiredException", caughtSpecific);
            assertFalse("Should not have caught as RuntimeException", caughtRuntime);
        }
    
        public void test_rethrow() {
            // Test rethrowing the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            }
            return QueryBuilders.boolQuery()//
                    .should(QueryBuilders.matchPhraseQuery("title", query).boost(titleBoost))//
                    .should(QueryBuilders.matchPhraseQuery("content", query).boost(contentBoost))//
                    .should(QueryBuilders.fuzzyQuery("title", query).boost(0.01f).maxExpansions(10))//
                    .should(QueryBuilders.fuzzyQuery("content", query).boost(0.005f).maxExpansions(10))//
            ;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Same inputs and output should have same hash code
            assertEquals(item1.hashCode(), item2.hashCode());
    
            // Different inputs should have different hash code
            assertNotSame(item1.hashCode(), item3.hashCode());
    
            // Same inputs but different output should have different hash code
            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

                // If suppression is disabled, getSuppressed should return empty array
                assertEquals(0, exception.getSuppressed().length);
            } catch (Exception e) {
                // If an exception is thrown when trying to add suppressed, that's also valid
                // since suppression is disabled
            }
    
            // Stack trace should be empty since writableStackTrace is false
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            FessUserNotFoundException exception1 = new FessUserNotFoundException("user1");
            FessUserNotFoundException exception2 = new FessUserNotFoundException("user2");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        public void test_stackTrace() {
            // Test that the exception has a proper stack trace
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                }
            }
    
            // An empty file should return no items
            assertEquals("Empty file should have no items", 0, result.size());
            assertEquals("Empty file should have no records", 0, result.getAllRecordCount());
            assertEquals("Empty file should have no pages", 0, result.getAllPageCount());
        }
    
        // Test selectList method with valid data
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
            assertEquals("Default message should match", "{org.lastaflute.validator.constraints.UriType.message}", getDefaultMessage());
            assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertNotNull("Annotation should be present on field", annotation);
            assertEquals("Default message should match", "{jakarta.validation.constraints.Size.message}", getDefaultMessage());
            assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
            assertEquals("Default payload should be empty", 0, getDefaultPayload().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top