6d04247947685984b38e01e0ef97c2ed45b967ed
Files Diff
- Added: 8
- Removed: 19
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public login(username String, password String, scopes String...) : void from class org.keycloak.testsuite.adapter.page.PhotozClientAuthzTestApp to public loginFormWithScopesWithPossibleConsentPage(user UserRepresentation, validator JavascriptStateValidator, oAuthGrantPage OAuthGrant, scopes String...) : JavascriptTestExecutorWithAuthorization from class org.keycloak.testsuite.util.javascript.JavascriptTestExecutorWithAuthorization | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute protected jsDriverTestRealmLoginPage : OIDCLogin from class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest to protected jsDriverTestRealmLoginPage : OIDCLogin from class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozJavascriptExecutorTest | From | To | |
Pull Up Attribute private REALM_NAME : String from class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest to protected REALM_NAME : String from class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozJavascriptExecutorTest | From | To | |
Pull Up Attribute protected jsDriver : WebDriver from class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest to protected jsDriver : WebDriver from class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozJavascriptExecutorTest | From | To | |
Extract Attribute | 1 | ||
Extract Attribute protected ALICE_ALBUM_NAME : String in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest | From | To | |
Move Class | 5 | ||
Move Class org.keycloak.testsuite.adapter.javascript.ResponseValidator moved to org.keycloak.testsuite.util.javascript.ResponseValidator | From | To | |
Move Class org.keycloak.testsuite.adapter.javascript.JavascriptTestExecutor moved to org.keycloak.testsuite.util.javascript.JavascriptTestExecutor | From | To | |
Move Class org.keycloak.testsuite.adapter.javascript.JavascriptStateValidator moved to org.keycloak.testsuite.util.javascript.JavascriptStateValidator | From | To | |
Move Class org.keycloak.testsuite.adapter.javascript.XMLHttpRequest moved to org.keycloak.testsuite.util.javascript.XMLHttpRequest | From | To | |
Move Class org.keycloak.testsuite.adapter.javascript.JSObjectBuilder moved to org.keycloak.testsuite.util.javascript.JSObjectBuilder | From | To | |
Merge Variable | 1 | ||
Merge Variable [deletedAlbums : int, deletedPhotos : int] to deleted : int in method public cleanAll() : Response in class org.keycloak.example.photoz.unsecured.UnsecuredService | From | To | |
Extract Method | 4 | ||
Extract Method private loginToClientPage(user UserRepresentation, scopes String...) : void extracted from public testRequestResourceToOwner() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest | From | To | |
Extract Method private loginToClientPage(user UserRepresentation, scopes String...) : void extracted from public testInheritPermissionFromResourceParent() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest | From | To | |
Extract Method private loginToClientPage(user UserRepresentation, scopes String...) : void extracted from public testEntitlementRequest() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest | From | To | |
Extract Method private loginToClientPage(user UserRepresentation, scopes String...) : void extracted from public testOverridePermissionFromResourceParent() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest | From | To | |
Inline Method | 1 | ||
Inline Method private deleteAllCookiesForClientPage() : void inlined to public beforePhotozExampleAdapterTest() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest | From | To | |
Change Return Type | 1 | ||
Change Return Type void to JavascriptTestExecutorWithAuthorization in method public loginFormWithScopesWithPossibleConsentPage(user UserRepresentation, validator JavascriptStateValidator, oAuthGrantPage OAuthGrant, scopes String...) : JavascriptTestExecutorWithAuthorization in class org.keycloak.testsuite.util.javascript.JavascriptTestExecutorWithAuthorization | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozJavascriptExecutorTest from classes [org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute entityManager : EntityManager to customDatabase : CustomDatabase in class org.keycloak.example.photoz.album.AlbumService | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type entityManager : EntityManager to entityManager : CustomDatabase in class org.keycloak.example.photoz.admin.AdminAlbumService | From | To | |
Change Attribute Type entityManager : EntityManager to customDatabase : CustomDatabase in class org.keycloak.example.photoz.album.AlbumService | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public deleteAlbum(name String, validator ResponseValidator) : void extracted from public testInheritPermissionFromResourceParent() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest & moved to class org.keycloak.testsuite.adapter.page.PhotozClientAuthzTestApp | From | To | |
Extract And Move Method public viewAlbum(name String, validator ResponseValidator) : void extracted from public testInheritPermissionFromResourceParent() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractPhotozExampleAdapterTest & moved to class org.keycloak.testsuite.adapter.page.PhotozClientAuthzTestApp | From | To | |
Rename Parameter | 2 | ||
Rename Parameter id : String to name : String in method public delete(name String, headers HttpHeaders) : Response in class org.keycloak.example.photoz.album.AlbumService | From | To | |
Rename Parameter id : String to name : String in method public findById(name String) : Response in class org.keycloak.example.photoz.album.AlbumService | From | To |