fc9dbcf6cb1daa5e19bb3214012ed44154104cb0
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 32
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 4 | ||
| Rename Method public clearQueue() : Response renamed to public clearEventQueue() : Response in class org.keycloak.testsuite.client.resources.TestingResource | From | To | |
| Rename Method private create(id String, providerId String) : IdentityProviderRepresentation renamed to private createRep(id String, providerId String) : IdentityProviderRepresentation in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Rename Method public clearQueue() : Response renamed to public clearEventQueue() : Response in class org.keycloak.testsuite.rest.TestingResourceProvider | From | To | |
| Rename Method private create(id String, providerId String, config Map<String,String>) : IdentityProviderRepresentation renamed to private createRep(id String, providerId String, config Map<String,String>) : IdentityProviderRepresentation in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Rename Variable | 8 | ||
| Rename Variable user1Id : String to createdId : String in method private createUser(userRep UserRepresentation) : String in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Rename Variable id : String to createdId : String in method private createUser(userRep UserRepresentation) : String in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Rename Variable clientTemplateId : String to templateId : String in method private createTemplate(templateName String, protocol String) : String in class org.keycloak.testsuite.admin.client.ClientTemplateProtocolMapperTest | From | To | |
| Rename Variable clientId : String to clientUuid : String in method public roleMappings() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Rename Variable roleRep1 : RoleRepresentation to roleRep : RoleRepresentation in method private createRealmRole(roleName String) : RoleRepresentation in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Rename Variable rep : ClientRepresentation to foundClientRep : ClientRepresentation in method public deleteDefaultRole() : void in class org.keycloak.testsuite.admin.ClientTest | From | To | |
| Change Return Type | 1 | ||
| Change Return Type ClientTemplateResource to String in method private createTemplate(templateName String, protocol String) : String in class org.keycloak.testsuite.admin.client.ClientTemplateProtocolMapperTest | From | To | |
| Extract Attribute | 1 | ||
| Extract Attribute public PROVIDER_ID : String in class org.keycloak.testsuite.events.EventsListenerProviderFactory | From | To | |
| Parameterize Variable | 13 | ||
| Parameterize Variable id1 : String to id : String in method private removeUserFederationProvider(id String) : void in class org.keycloak.testsuite.admin.UserFederationTest | From | To | |
| Parameterize Variable newIdentityProvider : IdentityProviderRepresentation to idpRep : IdentityProviderRepresentation in method private create(idpRep IdentityProviderRepresentation) : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Parameterize Variable user : UserRepresentation to userRep : UserRepresentation in method private createUser(userRep UserRepresentation) : String in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Parameterize Variable template1Id : String to templateId : String in method private removeTemplate(templateId String) : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Parameterize Variable user1 : UserRepresentation to userRep : UserRepresentation in method private createUser(userRep UserRepresentation) : String in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Parameterize Variable id2 : String to id : String in method private removeUserFederationProvider(id String) : void in class org.keycloak.testsuite.admin.UserFederationTest | From | To | |
| Parameterize Variable template2Id : String to templateId : String in method private removeTemplate(templateId String) : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Parameterize Variable topGroup : GroupRepresentation to group : GroupRepresentation in method private createGroup(realm RealmResource, group GroupRepresentation) : GroupRepresentation in class org.keycloak.testsuite.admin.group.GroupTest | From | To | |
| Extract Variable | 13 | ||
| Extract Variable realmRoleRep : RoleRepresentation in method public roleMappings() : void from class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Variable clientRep : ClientRepresentation in method public before() : void from class org.keycloak.testsuite.admin.realm.RealmRolesTest | From | To | |
| Extract Variable found : ClientRepresentation in method public testCreateClient() : void from class org.keycloak.testsuite.admin.client.ClientTest | From | To | |
| Extract Variable roleRep1 : RoleRepresentation in method public scopes() : void from class org.keycloak.testsuite.admin.ClientTest | From | To | |
| Extract Variable clientRoleRep : RoleRepresentation in method public roleMappings() : void from class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Variable roleRep2 : RoleRepresentation in method public scopes() : void from class org.keycloak.testsuite.admin.ClientTest | From | To | |
| Extract Variable roleC : RoleRepresentation in method public before() : void from class org.keycloak.testsuite.admin.realm.RealmRolesTest | From | To | |
| Extract Variable realmRoleRep : RoleRepresentation in method public roleMappings() : void from class org.keycloak.testsuite.admin.group.GroupTest | From | To | |
| Extract Variable userRep : UserRepresentation in method private setupTestAppAndUser() : void from class org.keycloak.testsuite.admin.realm.RealmTest | From | To | |
| Extract Variable userId : String in method public delete() : void from class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Variable roleB : RoleRepresentation in method public before() : void from class org.keycloak.testsuite.admin.realm.RealmRolesTest | From | To | |
| Extract Variable clientRoleRep : RoleRepresentation in method public roleMappings() : void from class org.keycloak.testsuite.admin.group.GroupTest | From | To | |
| Extract Variable roleA : RoleRepresentation in method public before() : void from class org.keycloak.testsuite.admin.realm.RealmRolesTest | From | To | |
| Extract Method | 54 | ||
| Extract Method private removeUserFederationProvider(id String) : void extracted from public testCreateProvider() : void in class org.keycloak.testsuite.admin.UserFederationTest | From | To | |
| Extract Method private createUser(userRep UserRepresentation) : String extracted from public attributes() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private createUser(userRep UserRepresentation) : String extracted from public sendVerifyEmail() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private removeUserFederationProvider(id String) : void extracted from public testUpdateProvider() : void in class org.keycloak.testsuite.admin.UserFederationTest | From | To | |
| Extract Method private removeUserFederationProvider(id String) : void extracted from public testValidateAndCreateLdapProvider() : void in class org.keycloak.testsuite.admin.UserFederationTest | From | To | |
| Extract Method private updateUser(user UserResource, userRep UserRepresentation) : void extracted from public updateUserWithNewUsername() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private createUser(userRep UserRepresentation) : String extracted from public createUser(username String, email String) : String in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private createRealmRole(roleName String) : RoleRepresentation extracted from public testRemoveScopedRole() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Extract Method private updateUser(user UserResource, userRep UserRepresentation) : void extracted from public removeRequiredAction() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testNoExport() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testMappers() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private createAppClient() : ClientRepresentation extracted from public pushRevocation() : void in class org.keycloak.testsuite.admin.ClientTest | From | To | |
| Extract Method private createGroup(realm RealmResource, group GroupRepresentation) : GroupRepresentation extracted from public updateGroup() : void in class org.keycloak.testsuite.admin.group.GroupTest | From | To | |
| Extract Method private updateUser(user UserResource, userRep UserRepresentation) : void extracted from public sendResetPasswordEmail() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private createGroup(realm RealmResource, group GroupRepresentation) : GroupRepresentation extracted from public roleMappings() : void in class org.keycloak.testsuite.admin.group.GroupTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testUpdate() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private createAppClient() : ClientRepresentation extracted from public nodes() : void in class org.keycloak.testsuite.admin.ClientTest | From | To | |
| Extract Method private removeUserFederationProvider(id String) : void extracted from public testKerberosAuthenticatorEnabledAutomatically() : void in class org.keycloak.testsuite.admin.UserFederationTest | From | To | |
| Extract Method private createRealmRole(roleName String) : RoleRepresentation extracted from public testScopes() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Extract Method private updateUser(user UserResource, userRep UserRepresentation) : void extracted from public updateUserWithNewUsernameAccessingViaOldUsername() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private createGroup(realm RealmResource, group GroupRepresentation) : GroupRepresentation extracted from public groupMembership() : void in class org.keycloak.testsuite.admin.group.GroupTest | From | To | |
| Extract Method private createAppClient() : ClientRepresentation extracted from public offlineUserSessions() : void in class org.keycloak.testsuite.admin.ClientTest | From | To | |
| Extract Method private createGroup(realm RealmResource, group GroupRepresentation) : GroupRepresentation extracted from public createAndTestGroups() : void in class org.keycloak.testsuite.admin.group.GroupTest | From | To | |
| Extract Method private updateUser(user UserResource, userRep UserRepresentation) : void extracted from public sendVerifyEmail() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private createUser(userRep UserRepresentation) : String extracted from public sendResetPasswordEmailSuccess() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testCreate() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testSamlImportAndExport() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testMapperTypes() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testFindAll() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private removeUserFederationProvider(id String) : void extracted from public testSyncFederationProvider() : void in class org.keycloak.testsuite.admin.UserFederationTest | From | To | |
| Extract Method private updateUser(user UserResource, userRep UserRepresentation) : void extracted from public addRequiredAction() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private removeTemplate(templateId String) : void extracted from public testRemoveTemplate() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Extract Method private removeTemplate(templateId String) : void extracted from public testRemoveTemplateInUse() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Extract Method private updateUser(user UserResource, userRep UserRepresentation) : void extracted from public updateUserWithNewUsernameNotPossible() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private createUser(userRep UserRepresentation) : String extracted from public updateUserWithExistingUsername() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private removeTemplate(templateId String) : void extracted from public testRemoveScopedRole() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Extract Method private create(idpRep IdentityProviderRepresentation) : void extracted from public testRemove() : void in class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract Method private removeTemplate(templateId String) : void extracted from public testAddDuplicatedTemplate() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Extract Method private createUser(userRep UserRepresentation) : String extracted from public sendResetPasswordEmail() : void in class org.keycloak.testsuite.admin.UserTest | From | To | |
| Extract Method private removeTemplate(templateId String) : void extracted from public testScopes() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method private create(idpRep IdentityProviderRepresentation) : void extracted from public deleteDefaultRole() : void in class org.keycloak.testsuite.admin.ClientTest & moved to class org.keycloak.testsuite.admin.IdentityProviderTest | From | To | |
| Extract And Move Method protected removeClient(clientDbId String) : void extracted from public testRemoveTemplateInUse() : void in class org.keycloak.testsuite.admin.client.ClientTemplateTest & moved to class org.keycloak.testsuite.admin.client.AbstractClientTest | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter resourceName : String to protocolName : String in method protected testAddAllBuiltinMappers(resource ProtocolMappersResource, protocolName String, adminEventPath String) : void in class org.keycloak.testsuite.admin.client.AbstractProtocolMapperTest | From | To |