28bfa93b8134b11951c33c61b450a806928ed9fc
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Variable | 4 | ||
Inline Variable result : AuthenticationResult in method public shouldFindAndAuthenticateUserAndReturnAuthStrategyResult() : void from class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Inline Variable result : AuthenticationResult in method public shouldFindAndAuthenticateUserAndReturnPasswordChangeIfRequired() : void from class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Inline Variable result : AuthenticationResult in method public shouldFailAuthenticationIfUserIsNotFound() : void from class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Inline Variable result : AuthenticationResult in method public shouldFindAndAuthenticateUserSuccessfully() : void from class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method | 8 | ||
Extract Method private assertLoginGivesResult(username String, password String, expectedResult AuthenticationResult) : void extracted from public shouldFindAndAuthenticateUserAndReturnAuthStrategyResult() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method private createUser(username String, password String, pwd_change boolean) : User extracted from public shouldFindAndAuthenticateUserAndReturnPasswordChangeIfRequired() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method private createUser(username String, password String, pwd_change boolean) : User extracted from public shouldFailAuthenticationIfUserIsNotFound() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method private assertLoginGivesResult(username String, password String, expectedResult AuthenticationResult) : void extracted from public shouldFindAndAuthenticateUserSuccessfully() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method private createUser(username String, password String, pwd_change boolean) : User extracted from public shouldFindAndAuthenticateUserAndReturnAuthStrategyResult() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method private assertLoginGivesResult(username String, password String, expectedResult AuthenticationResult) : void extracted from public shouldFindAndAuthenticateUserAndReturnPasswordChangeIfRequired() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method private assertLoginGivesResult(username String, password String, expectedResult AuthenticationResult) : void extracted from public shouldFailAuthenticationIfUserIsNotFound() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To | |
Extract Method private createUser(username String, password String, pwd_change boolean) : User extracted from public shouldFindAndAuthenticateUserSuccessfully() : void in class org.neo4j.server.security.auth.BasicAuthManagerTest | From | To |