Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 204 for invalidAt (0.24 seconds)

  1. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception innerCause = new IllegalArgumentException("Invalid LDAP parameter");
            RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause);
            LdapOperationException exception = new LdapOperationException("LDAP operation failed", middleCause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and Exception cause
            String message = "SSO token validation error";
            Exception cause = new RuntimeException("Invalid token format");
            SsoProcessException exception = new SsoProcessException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            ComponentUtil.setFessConfig(mockConfig);
    
            // Setup mock request manager with invalid format
            RequestManager mockRequestManager = createMockRequestManager("invalid_locale_format");
    
            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify - invalid format should return empty due to exception in LocaleUtils.toLocale
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

         */
        protected int getSessionTimeoutMinutes() {
            final int value = ComponentUtil.getFessConfig().getRagChatSessionTimeoutMinutesAsInteger();
            if (value <= 0) {
                logger.warn("Invalid session timeout: {}. Using default: 30", value);
                return 30;
            }
            return value;
        }
    
        /**
         * Gets the maximum session cache size.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If the page size is not set or is invalid (≤0), returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

         */
        public void setExistNextPage(final boolean existNextPage) {
            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records per page.
         * If not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * An exception thrown when LDAP configuration is invalid.
     */
    public class LdapConfigurationException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        @Test
        public void test_valueOf_invalidName() {
            // Test valueOf with invalid name throws exception
            try {
                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
        @Test
        public void test_valueOf_null() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseTest.groovy

            where:
            input   | expected
            "9.4.0" | "9.4.1"
            "9.4.1" | "9.4.2"
            "8.0.0" | "8.0.1"
            "1.2.3" | "1.2.4"
        }
    
        def "invalid version format is rejected"() {
            when:
            ReleasedVersionsHelperKt.bumpPatchVersion(version)
    
            then:
            thrown(IllegalArgumentException)
    
            where:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            // Test unavailable SID type (type 6 - DELETED)
            assertNull(sambaHelper.getAccountId(createMockSID(6, "Deleted Account")));
    
            // Test unavailable SID type (type 7 - INVALID)
            assertNull(sambaHelper.getAccountId(createMockSID(7, "Invalid Account")));
        }
    
        @Test
        public void test_getAccountId_smb1_basic() throws SmbException {
            // Note: SMB1 SID testing is limited due to interface constraints
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
Back to Top