c63bba383207809b3c6f49cbb40d2bd03bec1f17
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public fail_when_key_is_null() : void renamed to private expectBuildException(expectedExceptionType Class<? extends Exception>, expectedMessage String) : void in class org.sonar.server.component.NewComponentTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type dbTester : DbTester to delegate : DefaultOrganizationProvider in method private TestDefaultOrganizationProvider(delegate DefaultOrganizationProvider) in class org.sonar.server.organization.TestDefaultOrganizationProvider | From | To | |
Move Method | 1 | ||
Move Method private toDefaultOrganization(organizationDto OrganizationDto) : DefaultOrganization from class org.sonar.server.organization.TestDefaultOrganizationProvider to private toDefaultOrganization(organizationDto OrganizationDto) : DefaultOrganization from class org.sonar.server.organization.TestDefaultOrganizationProvider.DbTesterDefaultOrganizationProvider | From | To | |
Move Attribute | 5 | ||
Move Attribute private dbTester : DbTester from class org.sonar.server.organization.TestDefaultOrganizationProvider to private dbTester : DbTester from class org.sonar.server.organization.TestDefaultOrganizationProvider.DbTesterDefaultOrganizationProvider | From | To | |
Move Attribute private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.ComponentService to private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.DefaultRubyComponentService | From | To | |
Move Attribute private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.ComponentServiceTest to private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.DefaultRubyComponentServiceTest | From | To | |
Move Attribute private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.ComponentService to private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.DefaultRubyComponentServiceTest | From | To | |
Move Attribute private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.ComponentServiceTest to private defaultOrganizationProvider : DefaultOrganizationProvider from class org.sonar.server.component.DefaultRubyComponentService | From | To | |
Extract Class | 1 | ||
Extract Class org.sonar.server.component.NewComponent.Builder from class org.sonar.server.component.NewComponent | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [key : String, name : String] to builder : NewComponent.Builder in method private NewComponent(builder NewComponent.Builder) in class org.sonar.server.component.NewComponent | From | To | |
Rename Attribute | 1 | ||
Rename Attribute dbTester : DbTester to delegate : DefaultOrganizationProvider in class org.sonar.server.organization.TestDefaultOrganizationProvider | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type dbTester : DbTester to delegate : DefaultOrganizationProvider in class org.sonar.server.organization.TestDefaultOrganizationProvider | From | To | |
Extract Method | 7 | ||
Extract Method private mockSuccessfulPrepareSubmitCall() : void extracted from public submit_a_report_on_existing_project_with_project_scan_permission() : void in class org.sonar.server.computation.queue.ReportSubmitterTest | From | To | |
Extract Method private mockSuccessfulPrepareSubmitCall() : void extracted from public no_favorite_when_no_project_creator_permission_on_permission_template() : void in class org.sonar.server.computation.queue.ReportSubmitterTest | From | To | |
Extract Method private mockSuccessfulPrepareSubmitCall() : void extracted from public submit_a_report_on_existing_project() : void in class org.sonar.server.computation.queue.ReportSubmitterTest | From | To | |
Extract Method private mockSuccessfulPrepareSubmitCall() : void extracted from public provision_project_if_does_not_exist() : void in class org.sonar.server.computation.queue.ReportSubmitterTest | From | To | |
Extract Method private mockSuccessfulPrepareSubmitCall() : void extracted from public fail_with_forbidden_exception_on_new_project_when_only_project_scan_permission() : void in class org.sonar.server.computation.queue.ReportSubmitterTest | From | To | |
Extract Method private mockSuccessfulPrepareSubmitCall() : void extracted from public submit_a_report_on_existing_project_with_global_scan_permission() : void in class org.sonar.server.computation.queue.ReportSubmitterTest | From | To | |
Extract Method private mockSuccessfulPrepareSubmitCall() : void extracted from public submit_a_report_on_new_project_with_global_scan_permission() : void in class org.sonar.server.computation.queue.ReportSubmitterTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter dbTester : DbTester to delegate : DefaultOrganizationProvider in method private TestDefaultOrganizationProvider(delegate DefaultOrganizationProvider) in class org.sonar.server.organization.TestDefaultOrganizationProvider | From | To |