Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestUser (0.05 sec)

  1. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            testFessConfig.ldapAdminSyncPassword = false;
    
            boolean result = ldapChain.changePassword("testuser", "newpassword");
    
            assertFalse(result); // returns !changed || syncPassword = !true || false = false
            assertEquals("testuser", testLdapManager.changePasswordUsername);
            assertEquals("newpassword", testLdapManager.changePasswordPassword);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

        public void test_constructor_withValidUsername() {
            // Test with a normal username
            String username = "testuser";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: testuser", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withEmptyUsername() {
    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