Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 371 for assertNull (0.04 sec)

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

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with both null message and cause
            FessSystemException exception = new FessSystemException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            String type = "OAuth2";
            String message = null;
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertEquals(messageCode, exception.getMessageCode());
        }
    
        public void test_constructor_twoParametersWithBothNull() {
            // Execute
            final SsoMessageException exception = new SsoMessageException(null, null);
    
            // Verify
            assertNotNull(exception);
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertNull(exception.getMessageCode());
        }
    
        public void test_inheritanceFromFessSystemException() {
            // Setup
            final String message = "Test inheritance hierarchy";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            assertFalse(ssoManager.available());
    
            // Verify all operations return null
            assertNull(ssoManager.getLoginCredential());
            assertNull(ssoManager.getResponse(SsoResponseType.METADATA));
            assertNull(ssoManager.getResponse(SsoResponseType.LOGOUT));
            assertNull(ssoManager.logout(FessUserBean.empty()));
        }
    
        // Helper classes for testing
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        }
    
        // Test default constructor
        public void test_constructor() {
            FacetInfo info = new FacetInfo();
            assertNull(info.field);
            assertNull(info.query);
            assertNull(info.size);
            assertNull(info.minDocCount);
            assertNull(info.sort);
            assertNull(info.missing);
        }
    
        // Test init method with various configurations
        public void test_init_withAllFields() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with both null message and cause
            SsoProcessException exception = new SsoProcessException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            assertNotNull(exception);
            assertEquals("Not Found: http://example.com/child Parent: http://example.com/parent", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullParentUrl() {
            // Test with null parent URL
            String parentUrl = null;
            String url = "http://example.com/child";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

        }
    
        public void test_encode() {
            assertNull(permissionHelper.encode(null));
            assertNull(permissionHelper.encode(""));
            assertNull(permissionHelper.encode(" "));
            assertNull(permissionHelper.encode("{user}"));
            assertNull(permissionHelper.encode("{role}"));
            assertNull(permissionHelper.encode("{group}"));
            assertNull(permissionHelper.encode("(allow)"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withLongUsername() {
            // Test with a very long username
            String username = "verylongusername".repeat(10);
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: " + username, exception.getMessage());
            assertNull(exception.getCause());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top