From 0118f63afd2ebe51f97b879fa84c3c086f09eba0 Mon Sep 17 00:00:00 2001 From: Benjamin Campomenosi <109955405+benjamin-campomenosi-sonarsource@users.noreply.github.com> Date: Fri, 17 Mar 2023 10:34:59 +0100 Subject: [PATCH] SONAR-18687 Move ITs for sonar-werserver-webapi from src/test to src/it --- .../almintegration/ws/CheckPatActionIT.java} | 2 +- .../almintegration/ws/ImportHelperIT.java} | 2 +- .../almintegration/ws/SetPatActionIT.java} | 2 +- .../ws/azure/ImportAzureProjectActionIT.java} | 2 +- .../ws/azure/ListAzureProjectsActionIT.java} | 2 +- .../ws/azure/SearchAzureReposActionIT.java} | 2 +- .../ImportBitbucketCloudRepoActionIT.java} | 2 +- .../SearchBitbucketCloudReposActionIT.java} | 2 +- ...ImportBitbucketServerProjectActionIT.java} | 2 +- .../ListBitbucketServerProjectsActionIT.java} | 2 +- .../SearchBitbucketServerReposActionIT.java} | 2 +- .../ws/github/GetGithubClientIdActionIT.java} | 2 +- .../github/ImportGithubProjectActionIT.java} | 2 +- .../ListGithubOrganizationsActionIT.java} | 2 +- .../ListGithubRepositoriesActionIT.java} | 2 +- .../gitlab/ImportGitLabProjectActionIT.java} | 2 +- .../ws/gitlab/SearchGitlabReposActionIT.java} | 2 +- .../almsettings/ws/CountBindingActionIT.java} | 2 +- .../almsettings/ws/CreateAzureActionIT.java} | 2 +- .../ws/CreateBitbucketActionIT.java} | 2 +- .../ws/CreateBitbucketCloudActionIT.java} | 2 +- .../almsettings/ws/CreateGithubActionIT.java} | 2 +- .../almsettings/ws/CreateGitlabActionIT.java} | 2 +- .../almsettings/ws/DeleteActionIT.java} | 2 +- .../almsettings/ws/GetBindingActionIT.java} | 2 +- .../server/almsettings/ws/ListActionIT.java} | 2 +- .../ws/ListDefinitionsActionIT.java} | 2 +- .../almsettings/ws/UpdateAzureActionIT.java} | 2 +- .../ws/UpdateBitbucketActionIT.java} | 2 +- .../ws/UpdateBitbucketCloudActionIT.java} | 2 +- .../almsettings/ws/UpdateGithubActionIT.java} | 2 +- .../almsettings/ws/UpdateGitlabActionIT.java} | 2 +- .../almsettings/ws/ValidateActionIT.java} | 2 +- .../authentication/ws/LoginActionIT.java} | 2 +- .../server/badge/ws/MeasureActionIT.java} | 2 +- .../server/badge/ws/QualityGateActionIT.java} | 2 +- .../sonar/server/badge/ws/TokenActionIT.java} | 2 +- .../server/badge/ws/TokenRenewActionIT.java} | 2 +- .../org/sonar/server/batch/FileActionIT.java} | 2 +- .../sonar/server/batch/IndexActionIT.java} | 2 +- .../server/batch/ProjectDataLoaderIT.java} | 2 +- .../server/branch/ws/DeleteActionIT.java} | 2 +- .../sonar/server/branch/ws/ListActionIT.java} | 2 +- .../server/branch/ws/RenameActionIT.java} | 2 +- ...tAutomaticDeletionProtectionActionIT.java} | 2 +- .../projectdump/ExportSubmitterImplIT.java} | 2 +- .../ce/queue/BranchReportSubmitterIT.java} | 2 +- .../server/ce/queue/CeQueueCleanerIT.java} | 3 +- .../server/ce/queue/ReportSubmitterIT.java} | 2 +- .../sonar/server/ce/ws/ActivityActionIT.java} | 2 +- .../server/ce/ws/ActivityStatusActionIT.java} | 2 +- .../server/ce/ws/AnalysisStatusActionIT.java} | 2 +- .../sonar/server/ce/ws/CancelActionIT.java} | 2 +- .../server/ce/ws/CancelAllActionIT.java} | 2 +- .../server/ce/ws/ComponentActionIT.java} | 2 +- .../ws/DismissAnalysisWarningActionIT.java} | 2 +- .../ce/ws/IndexationStatusActionIT.java} | 2 +- .../org/sonar/server/ce/ws/TaskActionIT.java} | 2 +- .../component/ComponentCleanerServiceIT.java} | 2 +- .../server/component/ComponentFinderIT.java} | 2 +- .../ComponentServiceUpdateKeyIT.java} | 2 +- .../server/component/ComponentUpdaterIT.java} | 2 +- .../server/component/ws/AppActionIT.java} | 2 +- .../server/component/ws/SearchActionIT.java} | 2 +- .../component/ws/SearchProjectsActionIT.java} | 2 +- .../server/component/ws/ShowActionIT.java} | 2 +- .../component/ws/SuggestionsActionIT.java} | 2 +- .../server/component/ws/TreeActionIT.java} | 2 +- .../developers/ws/SearchEventsActionIT.java} | 2 +- .../ws/SearchEventsActionNewIssuesIT.java} | 2 +- .../ws/SearchEventsActionQualityGateIT.java} | 2 +- .../duplication/ws/DuplicationsParserIT.java} | 2 +- .../server/duplication/ws/ShowActionIT.java} | 2 +- .../ws/ShowResponseBuilderIT.java} | 2 +- .../server/favorite/ws/AddActionIT.java} | 2 +- .../server/favorite/ws/RemoveActionIT.java} | 2 +- .../server/favorite/ws/SearchActionIT.java} | 2 +- .../hotspot/ws/AddCommentActionIT.java} | 2 +- .../server/hotspot/ws/AssignActionIT.java} | 2 +- .../hotspot/ws/ChangeStatusActionIT.java} | 2 +- .../hotspot/ws/DeleteCommentActionIT.java} | 2 +- .../hotspot/ws/EditCommentActionIT.java} | 2 +- .../server/hotspot/ws/SearchActionIT.java} | 2 +- .../server/hotspot/ws/ShowActionIT.java} | 2 +- .../sonar/server/issue/AssignActionIT.java} | 2 +- .../server/issue/IssueChangeWSSupportIT.java} | 2 +- .../sonar/server/issue/IssueFinderIT.java} | 2 +- .../server/issue/SetSeverityActionIT.java} | 2 +- .../sonar/server/issue/SetTypeActionIT.java} | 2 +- .../server/issue/TransitionActionIT.java} | 2 +- .../server/issue/TransitionServiceIT.java} | 2 +- .../server/issue/WebIssueStorageIT.java} | 2 +- .../server/issue/ws/AddCommentActionIT.java} | 2 +- .../server/issue/ws/AssignActionIT.java} | 2 +- .../server/issue/ws/AuthorsActionIT.java} | 2 +- .../server/issue/ws/BulkChangeActionIT.java} | 2 +- .../server/issue/ws/ChangelogActionIT.java} | 2 +- .../issue/ws/DeleteCommentActionIT.java} | 2 +- .../issue/ws/DoTransitionActionIT.java} | 2 +- .../server/issue/ws/EditCommentActionIT.java} | 2 +- .../server/issue/ws/IssueUpdaterIT.java} | 2 +- .../sonar/server/issue/ws/PullActionIT.java} | 2 +- .../server/issue/ws/PullTaintActionIT.java} | 2 +- .../server/issue/ws/ReindexActionIT.java} | 2 +- .../issue/ws/SearchActionComponentsIT.java} | 2 +- .../issue/ws/SearchActionFacetsIT.java} | 2 +- .../server/issue/ws/SearchActionIT.java} | 2 +- .../server/issue/ws/SetSeverityActionIT.java} | 2 +- .../server/issue/ws/SetTagsActionIT.java} | 2 +- .../server/issue/ws/SetTypeActionIT.java} | 2 +- .../sonar/server/issue/ws/TagsActionIT.java} | 2 +- .../PullTaintActionResponseWriterIT.java} | 2 +- .../live/ComponentIndexFactoryIT.java} | 2 +- .../measure/live/ComponentIndexImplIT.java} | 2 +- .../live/LiveMeasureComputerImplIT.java} | 2 +- .../live/LiveMeasureTreeUpdaterImplIT.java} | 2 +- .../live/LiveQualityGateComputerImplIT.java} | 2 +- .../server/measure/ws/ComponentActionIT.java} | 2 +- .../measure/ws/ComponentTreeActionIT.java} | 2 +- .../server/measure/ws/SearchActionIT.java} | 2 +- .../measure/ws/SearchHistoryActionIT.java} | 2 +- .../server/metric/ws/SearchActionIT.java} | 2 +- .../server/monitoring/MetricsActionIT.java} | 2 +- .../newcodeperiod/ws/ListActionIT.java} | 2 +- .../server/newcodeperiod/ws/SetActionIT.java} | 2 +- .../newcodeperiod/ws/ShowActionIT.java} | 2 +- .../newcodeperiod/ws/UnsetActionIT.java} | 2 +- .../server/notification/ws/AddActionIT.java} | 2 +- .../server/notification/ws/ListActionIT.java} | 2 +- .../notification/ws/RemoveActionIT.java} | 2 +- .../DefaultTemplatesResolverImplIT.java} | 2 +- .../permission/GroupPermissionChangerIT.java} | 2 +- .../PermissionTemplateServiceIT.java} | 2 +- .../permission/UserPermissionChangerIT.java} | 2 +- .../permission/ws/AddGroupActionIT.java} | 2 +- .../permission/ws/AddUserActionIT.java} | 2 +- .../permission/ws/BasePermissionWsIT.java} | 2 +- .../server/permission/ws/GroupsActionIT.java} | 2 +- .../permission/ws/RemoveGroupActionIT.java} | 2 +- .../permission/ws/RemoveUserActionIT.java} | 2 +- .../server/permission/ws/UsersActionIT.java} | 4 +- .../template/AddGroupToTemplateActionIT.java} | 4 +- .../AddProjectCreatorToTemplateActionIT.java} | 4 +- .../template/AddUserToTemplateActionIT.java} | 4 +- .../ws/template/ApplyTemplateActionIT.java} | 4 +- .../template/BulkApplyTemplateActionIT.java} | 4 +- .../ws/template/CreateTemplateActionIT.java} | 4 +- .../ws/template/DeleteTemplateActionIT.java} | 2 +- .../RemoveGroupFromTemplateActionIT.java} | 4 +- ...veProjectCreatorFromTemplateActionIT.java} | 4 +- .../RemoveUserFromTemplateActionIT.java} | 4 +- .../ws/template/SearchTemplatesActionIT.java} | 4 +- .../template/SetDefaultTemplateActionIT.java} | 4 +- .../ws/template/TemplateGroupsActionIT.java} | 4 +- .../ws/template/TemplateUsersActionIT.java} | 4 +- .../ws/template/UpdateTemplateActionIT.java} | 4 +- .../server/platform/ws/LogsActionIT.java} | 2 +- .../ws/SafeModeMonitoringMetricActionIT.java} | 2 +- .../server/plugins/ws/InstalledActionIT.java} | 2 +- .../project/ws/BulkDeleteActionIT.java} | 2 +- .../server/project/ws/CreateActionIT.java} | 2 +- .../server/project/ws/DeleteActionIT.java} | 2 +- .../server/project/ws/ProjectFinderIT.java} | 2 +- .../server/project/ws/SearchActionIT.java} | 2 +- .../project/ws/SearchMyProjectsActionIT.java} | 2 +- .../SearchMyScannableProjectsActionIT.java} | 2 +- .../ws/UpdateDefaultVisibilityActionIT.java} | 2 +- .../server/project/ws/UpdateKeyActionIT.java} | 2 +- .../project/ws/UpdateVisibilityActionIT.java} | 2 +- .../ws/CreateEventActionIT.java} | 2 +- .../projectanalysis/ws/DeleteActionIT.java} | 2 +- .../ws/DeleteEventActionIT.java} | 2 +- .../projectanalysis/ws/SearchActionIT.java} | 2 +- .../ws/UpdateEventActionIT.java} | 2 +- .../projectdump/ws/ExportActionIT.java} | 2 +- .../projectdump/ws/StatusActionIT.java} | 2 +- .../projectlink/ws/CreateActionIT.java} | 2 +- .../projectlink/ws/DeleteActionIT.java} | 2 +- .../projectlink/ws/SearchActionIT.java} | 2 +- .../server/projecttag/ws/SearchActionIT.java} | 2 +- .../server/projecttag/ws/SetActionIT.java} | 2 +- .../QualityGateCaycCheckerIT.java} | 2 +- .../QualityGateConditionsUpdaterIT.java} | 2 +- .../qualitygate/QualityGateUpdaterIT.java} | 2 +- .../qualitygate/RegisterQualityGatesIT.java} | 2 +- .../qualitygate/ws/AddGroupActionIT.java} | 2 +- .../qualitygate/ws/AddUserActionIT.java} | 2 +- .../server/qualitygate/ws/CopyActionIT.java} | 2 +- .../qualitygate/ws/CreateActionIT.java} | 2 +- .../ws/CreateConditionActionIT.java} | 2 +- .../ws/DeleteConditionActionIT.java} | 2 +- .../qualitygate/ws/DeselectActionIT.java} | 2 +- .../qualitygate/ws/DestroyActionIT.java} | 2 +- .../qualitygate/ws/GetByProjectActionIT.java} | 2 +- .../server/qualitygate/ws/ListActionIT.java} | 2 +- .../ws/ProjectStatusActionIT.java} | 16 +++---- .../qualitygate/ws/RemoveGroupActionIT.java} | 2 +- .../qualitygate/ws/RemoveUserActionIT.java} | 2 +- .../qualitygate/ws/RenameActionIT.java} | 2 +- .../qualitygate/ws/SearchActionIT.java} | 2 +- .../qualitygate/ws/SearchGroupsActionIT.java} | 2 +- .../qualitygate/ws/SearchUsersActionIT.java} | 2 +- .../qualitygate/ws/SelectActionIT.java} | 2 +- .../qualitygate/ws/SetAsDefaultActionIT.java} | 2 +- .../server/qualitygate/ws/ShowActionIT.java} | 2 +- .../ws/UpdateConditionActionIT.java} | 2 +- .../QProfileBackuperImplIT.java} | 4 +- .../qualityprofile/QProfileComparisonIT.java} | 2 +- .../qualityprofile/QProfileCopierIT.java} | 2 +- .../qualityprofile/QProfileExportersIT.java} | 2 +- .../QProfileFactoryImplIT.java} | 2 +- .../qualityprofile/QProfileResetImplIT.java} | 2 +- .../qualityprofile/QProfileRuleImplIT.java} | 2 +- .../qualityprofile/QProfileRulesImplIT.java} | 2 +- .../qualityprofile/QProfileTreeImplIT.java} | 2 +- .../RegisterQualityProfilesIT.java} | 2 +- ...egisterQualityProfilesNotificationIT.java} | 2 +- .../builtin/BuiltInQProfileInsertImplIT.java} | 2 +- .../BuiltInQProfileRepositoryImplIT.java} | 2 +- .../BuiltInQProfileRepositoryRule.java | 0 .../builtin/BuiltInQProfileUpdateImplIT.java} | 2 +- .../builtin/RuleActivatorIT.java} | 2 +- .../ws/ActivateRuleActionIT.java} | 2 +- .../ws/ActivateRulesActionIT.java} | 2 +- .../qualityprofile/ws/AddGroupActionIT.java} | 2 +- .../ws/AddProjectActionIT.java} | 2 +- .../qualityprofile/ws/AddUserActionIT.java} | 2 +- .../qualityprofile/ws/BackupActionIT.java} | 2 +- .../ws/ChangeParentActionIT.java} | 2 +- .../qualityprofile/ws/ChangelogActionIT.java} | 2 +- .../qualityprofile/ws/CompareActionIT.java} | 2 +- .../qualityprofile/ws/CopyActionIT.java} | 2 +- .../qualityprofile/ws/CreateActionIT.java} | 4 +- .../ws/DeactivateRuleActionIT.java} | 2 +- .../ws/DeactivateRulesActionIT.java} | 2 +- .../qualityprofile/ws/DeleteActionIT.java} | 2 +- .../qualityprofile/ws/ExportActionIT.java} | 2 +- .../ws/InheritanceActionIT.java} | 6 +-- .../qualityprofile/ws/ProjectsActionIT.java} | 2 +- .../ws/QProfileWsSupportIT.java} | 2 +- .../ws/QProfilesWsMediumIT.java} | 2 +- .../ws/RemoveGroupActionIT.java} | 2 +- .../ws/RemoveProjectActionIT.java} | 2 +- .../ws/RemoveUserActionIT.java} | 2 +- .../qualityprofile/ws/RenameActionIT.java} | 2 +- .../qualityprofile/ws/RestoreActionIT.java} | 2 +- .../qualityprofile/ws/SearchActionIT.java} | 2 +- .../ws/SearchGroupsActionIT.java} | 2 +- .../ws/SearchUsersActionIT.java} | 2 +- .../ws/SetDefaultActionIT.java} | 2 +- .../qualityprofile/ws/ShowActionIT.java} | 2 +- .../org/sonar/server/rule/RuleCreatorIT.java} | 2 +- .../org/sonar/server/rule/RuleUpdaterIT.java} | 2 +- .../rule/ws/ActiveRuleCompleterIT.java} | 2 +- .../sonar/server/rule/ws/AppActionIT.java} | 2 +- .../sonar/server/rule/ws/CreateActionIT.java} | 2 +- .../sonar/server/rule/ws/DeleteActionIT.java} | 2 +- .../sonar/server/rule/ws/ListActionIT.java} | 2 +- .../server/rule/ws/RepositoriesActionIT.java} | 2 +- .../server/rule/ws/RuleQueryFactoryIT.java} | 2 +- .../sonar/server/rule/ws/SearchActionIT.java} | 4 +- .../sonar/server/rule/ws/ShowActionIT.java} | 2 +- .../sonar/server/rule/ws/TagsActionIT.java} | 2 +- .../sonar/server/rule/ws/UpdateActionIT.java} | 2 +- .../scannercache/ws/ClearActionIT.java} | 2 +- .../server/scannercache/ws/GetActionIT.java} | 2 +- .../setting/ws/CheckSecretKeyActionIT.java} | 2 +- .../server/setting/ws/EncryptActionIT.java} | 2 +- .../ws/GenerateSecretKeyActionIT.java} | 2 +- ...nerateSecretKeyActionWithPersisterIT.java} | 2 +- .../setting/ws/ListDefinitionsActionIT.java} | 2 +- .../server/setting/ws/ResetActionIT.java} | 2 +- .../sonar/server/setting/ws/SetActionIT.java} | 2 +- .../server/setting/ws/SettingsUpdaterIT.java} | 2 +- .../server/setting/ws/ValuesActionIT.java} | 2 +- .../sonar/server/source/SourceServiceIT.java} | 2 +- .../server/source/ws/IndexActionIT.java} | 2 +- .../source/ws/IssueSnippetsActionIT.java} | 2 +- .../server/source/ws/LinesActionIT.java} | 2 +- .../sonar/server/source/ws/RawActionIT.java} | 2 +- .../sonar/server/source/ws/ScmActionIT.java} | 2 +- .../sonar/server/source/ws/ShowActionIT.java} | 2 +- .../server/ui/ws/ComponentActionIT.java} | 4 +- .../server/ui/ws/MarketplaceActionIT.java} | 2 +- .../sonar/server/ui/ws/SettingsActionIT.java} | 4 +- .../server/user/ws/AnonymizeActionIT.java} | 2 +- .../user/ws/ChangePasswordActionIT.java} | 2 +- .../sonar/server/user/ws/CreateActionIT.java} | 2 +- .../user/ws/CurrentActionHomepageIT.java} | 2 +- .../server/user/ws/CurrentActionIT.java} | 2 +- .../server/user/ws/DeactivateActionIT.java} | 2 +- .../user/ws/DismissNoticeActionIT.java} | 2 +- .../sonar/server/user/ws/GroupsActionIT.java} | 2 +- .../user/ws/IdentityProvidersActionIT.java} | 2 +- .../sonar/server/user/ws/SearchActionIT.java} | 2 +- .../server/user/ws/SetHomepageActionIT.java} | 2 +- .../sonar/server/user/ws/UpdateActionIT.java} | 2 +- .../ws/UpdateIdentityProviderActionIT.java} | 2 +- .../server/user/ws/UpdateLoginActionIT.java} | 2 +- .../server/user/ws/UserAnonymizerIT.java} | 2 +- .../usergroups/ws/AddUserActionIT.java} | 2 +- .../server/usergroups/ws/CreateActionIT.java} | 2 +- .../server/usergroups/ws/DeleteActionIT.java} | 2 +- .../usergroups/ws/RemoveUserActionIT.java} | 2 +- .../server/usergroups/ws/SearchActionIT.java} | 2 +- .../server/usergroups/ws/UpdateActionIT.java} | 2 +- .../server/usergroups/ws/UsersActionIT.java} | 2 +- .../usertoken/ws/GenerateActionIT.java} | 2 +- .../server/usertoken/ws/RevokeActionIT.java} | 2 +- .../server/usertoken/ws/SearchActionIT.java} | 2 +- .../server/webhook/ws/CreateActionIT.java} | 2 +- .../server/webhook/ws/DeleteActionIT.java} | 2 +- .../server/webhook/ws/ListActionIT.java} | 2 +- .../server/webhook/ws/UpdateActionIT.java} | 2 +- .../ws/WebhookDeliveriesActionIT.java} | 2 +- .../webhook/ws/WebhookDeliveryActionIT.java} | 2 +- .../almsettings/ws/count_binding-example.json | 0 .../almsettings/ws/get_binding-example.json | 0 .../server/almsettings/ws/list-example.json | 0 .../ws/list_definitions-example.json | 0 .../display_directory_facet.json | 0 .../display_file_facet.json | 0 .../display_module_facet.json | 0 .../display_non_sticky_project_facet.json | 0 .../display_sticky_project_facet.json | 0 .../issues_on_different_projects.json | 0 .../SearchActionComponentsIT}/no_issue.json | 0 .../search_by_developer.json | 0 .../search_by_directory_uuid.json | 0 .../search_by_file_key.json | 0 .../search_by_file_uuid.json | 0 .../search_by_project_uuid.json | 0 .../search_by_test_key.json | 0 .../search_by_view_uuid.json | 0 .../search_since_leak_period.json | 0 ...apply_paging_with_multiple_components.json | 0 .../apply_paging_with_one_component.json | 0 ...st_escape_login_of_authenticated_user.json | 0 .../assigned_to_me_facet_sticky.json | 0 .../ws/SearchActionIT}/author_is_hidden.json | 0 .../default_page_size_is_100.json | 0 .../ws/SearchActionIT}/display_facets.json | 0 .../display_facets_effort.json | 0 .../SearchActionIT}/display_zero_facets.json | 0 .../ws/SearchActionIT}/empty_result.json | 0 .../filter_by_assigned_to_me.json | 0 .../filter_by_leak_period.json | 0 ...r_by_leak_period_has_no_effect_on_prs.json | 0 .../SearchActionIT}/filter_by_main_scope.json | 0 .../filter_by_main_scope_2.json | 0 .../SearchActionIT}/filter_by_test_scope.json | 0 .../issue/ws/SearchActionIT}/hide_rules.json | 0 .../ignore_paging_with_one_component.json | 0 .../issue_on_removed_file.json | 0 .../issue_with_comment_hidden.json | 0 .../SearchActionIT}/issue_with_comments.json | 0 .../load_additional_fields.json | 0 ...al_fields_with_issue_admin_permission.json | 0 .../issue/ws/SearchActionIT}/no_issue.json | 0 .../issue/ws/SearchActionIT}/paging.json | 0 ...s_all_fields_except_additional_fields.json | 0 .../result_for_rule_search.json | 0 .../ws/SearchActionIT}/search_metrics.json | 0 .../permission/ws/GroupsActionIT}/groups.json | 0 .../search_for_users_is_paginated.json | 0 .../permission/ws/UsersActionIT}/users.json | 0 .../display_all_project_permissions.json | 0 .../SearchTemplatesActionIT}/empty.json | 0 .../plugins/ws/InstalledActionIT}/some.jar | 0 .../ProjectStatusActionIT}/measure_data.json | 0 .../duplicates-xml-backup.xml | 0 .../ChangelogActionIT}/changelog_example.json | 0 .../ws/CompareActionIT}/compare_nominal.json | 0 .../compare_param_on_left.json | 0 .../compare_param_on_right.json | 0 .../ws/CreateActionIT}/test_json.json | 0 .../inheritance-buWide.json | 0 .../inheritance-simple.json | 0 .../bulk_activate_rule.json | 0 .../bulk_activate_rule_not_all.json | 0 ...xist_on_another_language_than_profile.json | 0 .../ws/RestoreActionIT}/restore_profile.json | 0 .../RepositoriesActionIT}/repositories.json | 0 .../repositories_common.json | 0 .../repositories_java.json | 0 .../repositories_sonar.json | 0 .../repositories_ws.json | 0 .../repositories_xoo.json | 0 .../rule/ws/SearchActionIT}/paging.json | 0 .../issue_snippets_close_to_each_other.json | 0 .../issue_snippets_multiple_locations.json | 0 .../issue_snippets_single_location.json | 0 .../issue_snippets_with_measures.json | 0 .../convert_deprecated_data.json | 0 .../display_deprecated_fields.json | 0 .../ws/LinesActionIT}/generated_isNew.json | 0 .../ws/LinesActionIT}/hide_scmAuthors.json | 0 .../LinesActionIT}/show_paginated_lines.json | 0 .../ws/LinesActionIT}/show_scmAuthors.json | 0 .../source/ws/LinesActionIT}/show_source.json | 0 .../show_source_by_file_key.json | 0 ...cept_negative_value_in_from_parameter.json | 0 .../ScmActionIT}/group_lines_by_commit.json | 0 .../not_group_lines_by_commit.json | 0 .../return_empty_value_when_no_scm.json | 0 .../source/ws/ScmActionIT}/show_scm.json | 0 .../show_scm_from_given_range_lines.json | 0 .../source/ws/ShowActionIT}/show_source.json | 0 .../show_source_with_params_from_and_to.json | 0 ...return_bread_crumbs_on_several_levels.json | 0 ...onent_info_when_anonymous_no_snapshot.json | 0 ...rn_component_info_when_file_on_branch.json | 0 ...rn_component_info_when_file_on_master.json | 0 .../return_component_info_when_snapshot.json | 0 .../return_component_info_with_favourite.json | 0 .../return_configuration_for_admin.json | 0 ..._configuration_for_quality_gate_admin.json | 0 ...nfiguration_for_quality_profile_admin.json | 0 ...urn_configuration_with_all_properties.json | 0 .../return_default_quality_gate.json | 0 .../return_deleted_quality_profiles.json | 0 ...mpty_quality_profiles_when_no_measure.json | 0 .../ComponentActionIT}/return_extensions.json | 0 .../return_extensions_for_admin.json | 0 .../return_quality_gate.json | 0 .../return_quality_profiles.json | 0 .../server/ui/ws/SettingsActionIT}/empty.json | 0 .../ui/ws/SettingsActionIT}/with_pages.json | 0 .../SettingsActionIT}/with_update_center.json | 0 .../user/ws/CreateActionIT}/create_user.json | 0 .../ws/CreateActionIT}/reactivate_user.json | 0 .../blank_email_is_updated_to_null.json | 0 .../user/ws/UpdateActionIT}/update_email.json | 0 .../user/ws/UpdateActionIT}/update_name.json | 0 .../UpdateActionIT}/update_scm_accounts.json | 0 .../user/ws/UpdateActionIT}/update_user.json | 0 .../authentication/ws/LogoutActionTest.java | 2 - .../server/badge/ws/SvgGeneratorTest.java | 5 --- .../ws/ProjectMeasuresQueryFactoryTest.java | 3 -- .../live/TestMeasureUpdateFormulaFactory.java | 43 ------------------- .../qualitygate/QualityGateConverterTest.java | 31 ------------- .../project_referentials.json | 31 ------------- 442 files changed, 344 insertions(+), 460 deletions(-) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/CheckPatActionTest.java => it/java/org/sonar/server/almintegration/ws/CheckPatActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/ImportHelperTest.java => it/java/org/sonar/server/almintegration/ws/ImportHelperIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/SetPatActionTest.java => it/java/org/sonar/server/almintegration/ws/SetPatActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionTest.java => it/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionTest.java => it/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionTest.java => it/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionTest.java => it/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionTest.java => it/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionTest.java => it/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionTest.java => it/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionTest.java => it/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionTest.java => it/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionTest.java => it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionTest.java => it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionTest.java => it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionTest.java => it/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionTest.java => it/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/CountBindingActionTest.java => it/java/org/sonar/server/almsettings/ws/CountBindingActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/CreateAzureActionTest.java => it/java/org/sonar/server/almsettings/ws/CreateAzureActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/CreateBitbucketActionTest.java => it/java/org/sonar/server/almsettings/ws/CreateBitbucketActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionTest.java => it/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/CreateGithubActionTest.java => it/java/org/sonar/server/almsettings/ws/CreateGithubActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/CreateGitlabActionTest.java => it/java/org/sonar/server/almsettings/ws/CreateGitlabActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/DeleteActionTest.java => it/java/org/sonar/server/almsettings/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/GetBindingActionTest.java => it/java/org/sonar/server/almsettings/ws/GetBindingActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/ListActionTest.java => it/java/org/sonar/server/almsettings/ws/ListActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/ListDefinitionsActionTest.java => it/java/org/sonar/server/almsettings/ws/ListDefinitionsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/UpdateAzureActionTest.java => it/java/org/sonar/server/almsettings/ws/UpdateAzureActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionTest.java => it/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionTest.java => it/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/UpdateGithubActionTest.java => it/java/org/sonar/server/almsettings/ws/UpdateGithubActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/UpdateGitlabActionTest.java => it/java/org/sonar/server/almsettings/ws/UpdateGitlabActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/almsettings/ws/ValidateActionTest.java => it/java/org/sonar/server/almsettings/ws/ValidateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/authentication/ws/LoginActionTest.java => it/java/org/sonar/server/authentication/ws/LoginActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/badge/ws/MeasureActionTest.java => it/java/org/sonar/server/badge/ws/MeasureActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/badge/ws/QualityGateActionTest.java => it/java/org/sonar/server/badge/ws/QualityGateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/badge/ws/TokenActionTest.java => it/java/org/sonar/server/badge/ws/TokenActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/badge/ws/TokenRenewActionTest.java => it/java/org/sonar/server/badge/ws/TokenRenewActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/batch/FileActionTest.java => it/java/org/sonar/server/batch/FileActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/batch/IndexActionTest.java => it/java/org/sonar/server/batch/IndexActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/batch/ProjectDataLoaderTest.java => it/java/org/sonar/server/batch/ProjectDataLoaderIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/branch/ws/DeleteActionTest.java => it/java/org/sonar/server/branch/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/branch/ws/ListActionTest.java => it/java/org/sonar/server/branch/ws/ListActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/branch/ws/RenameActionTest.java => it/java/org/sonar/server/branch/ws/RenameActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionTest.java => it/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/projectdump/ExportSubmitterImplTest.java => it/java/org/sonar/server/ce/projectdump/ExportSubmitterImplIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/queue/BranchReportSubmitterTest.java => it/java/org/sonar/server/ce/queue/BranchReportSubmitterIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/queue/CeQueueCleanerTest.java => it/java/org/sonar/server/ce/queue/CeQueueCleanerIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/queue/ReportSubmitterTest.java => it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/ActivityActionTest.java => it/java/org/sonar/server/ce/ws/ActivityActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/ActivityStatusActionTest.java => it/java/org/sonar/server/ce/ws/ActivityStatusActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/AnalysisStatusActionTest.java => it/java/org/sonar/server/ce/ws/AnalysisStatusActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/CancelActionTest.java => it/java/org/sonar/server/ce/ws/CancelActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/CancelAllActionTest.java => it/java/org/sonar/server/ce/ws/CancelAllActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/ComponentActionTest.java => it/java/org/sonar/server/ce/ws/ComponentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionTest.java => it/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/IndexationStatusActionTest.java => it/java/org/sonar/server/ce/ws/IndexationStatusActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ce/ws/TaskActionTest.java => it/java/org/sonar/server/ce/ws/TaskActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ComponentCleanerServiceTest.java => it/java/org/sonar/server/component/ComponentCleanerServiceIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ComponentFinderTest.java => it/java/org/sonar/server/component/ComponentFinderIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ComponentServiceUpdateKeyTest.java => it/java/org/sonar/server/component/ComponentServiceUpdateKeyIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ComponentUpdaterTest.java => it/java/org/sonar/server/component/ComponentUpdaterIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ws/AppActionTest.java => it/java/org/sonar/server/component/ws/AppActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ws/SearchActionTest.java => it/java/org/sonar/server/component/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ws/SearchProjectsActionTest.java => it/java/org/sonar/server/component/ws/SearchProjectsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ws/ShowActionTest.java => it/java/org/sonar/server/component/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ws/SuggestionsActionTest.java => it/java/org/sonar/server/component/ws/SuggestionsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/component/ws/TreeActionTest.java => it/java/org/sonar/server/component/ws/TreeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/developers/ws/SearchEventsActionTest.java => it/java/org/sonar/server/developers/ws/SearchEventsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesTest.java => it/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateTest.java => it/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/duplication/ws/DuplicationsParserTest.java => it/java/org/sonar/server/duplication/ws/DuplicationsParserIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/duplication/ws/ShowActionTest.java => it/java/org/sonar/server/duplication/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/duplication/ws/ShowResponseBuilderTest.java => it/java/org/sonar/server/duplication/ws/ShowResponseBuilderIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/favorite/ws/AddActionTest.java => it/java/org/sonar/server/favorite/ws/AddActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/favorite/ws/RemoveActionTest.java => it/java/org/sonar/server/favorite/ws/RemoveActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/favorite/ws/SearchActionTest.java => it/java/org/sonar/server/favorite/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/hotspot/ws/AddCommentActionTest.java => it/java/org/sonar/server/hotspot/ws/AddCommentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/hotspot/ws/AssignActionTest.java => it/java/org/sonar/server/hotspot/ws/AssignActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/hotspot/ws/ChangeStatusActionTest.java => it/java/org/sonar/server/hotspot/ws/ChangeStatusActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/hotspot/ws/DeleteCommentActionTest.java => it/java/org/sonar/server/hotspot/ws/DeleteCommentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/hotspot/ws/EditCommentActionTest.java => it/java/org/sonar/server/hotspot/ws/EditCommentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/hotspot/ws/SearchActionTest.java => it/java/org/sonar/server/hotspot/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/hotspot/ws/ShowActionTest.java => it/java/org/sonar/server/hotspot/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/AssignActionTest.java => it/java/org/sonar/server/issue/AssignActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/IssueChangeWSSupportTest.java => it/java/org/sonar/server/issue/IssueChangeWSSupportIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/IssueFinderTest.java => it/java/org/sonar/server/issue/IssueFinderIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/SetSeverityActionTest.java => it/java/org/sonar/server/issue/SetSeverityActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/SetTypeActionTest.java => it/java/org/sonar/server/issue/SetTypeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/TransitionActionTest.java => it/java/org/sonar/server/issue/TransitionActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/TransitionServiceTest.java => it/java/org/sonar/server/issue/TransitionServiceIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/WebIssueStorageTest.java => it/java/org/sonar/server/issue/WebIssueStorageIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/AddCommentActionTest.java => it/java/org/sonar/server/issue/ws/AddCommentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/AssignActionTest.java => it/java/org/sonar/server/issue/ws/AssignActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/AuthorsActionTest.java => it/java/org/sonar/server/issue/ws/AuthorsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/BulkChangeActionTest.java => it/java/org/sonar/server/issue/ws/BulkChangeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/ChangelogActionTest.java => it/java/org/sonar/server/issue/ws/ChangelogActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/DeleteCommentActionTest.java => it/java/org/sonar/server/issue/ws/DeleteCommentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/DoTransitionActionTest.java => it/java/org/sonar/server/issue/ws/DoTransitionActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/EditCommentActionTest.java => it/java/org/sonar/server/issue/ws/EditCommentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/IssueUpdaterTest.java => it/java/org/sonar/server/issue/ws/IssueUpdaterIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/PullActionTest.java => it/java/org/sonar/server/issue/ws/PullActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/PullTaintActionTest.java => it/java/org/sonar/server/issue/ws/PullTaintActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/ReindexActionTest.java => it/java/org/sonar/server/issue/ws/ReindexActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/SearchActionComponentsTest.java => it/java/org/sonar/server/issue/ws/SearchActionComponentsIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/SearchActionFacetsTest.java => it/java/org/sonar/server/issue/ws/SearchActionFacetsIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/SearchActionTest.java => it/java/org/sonar/server/issue/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/SetSeverityActionTest.java => it/java/org/sonar/server/issue/ws/SetSeverityActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/SetTagsActionTest.java => it/java/org/sonar/server/issue/ws/SetTagsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/SetTypeActionTest.java => it/java/org/sonar/server/issue/ws/SetTypeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/TagsActionTest.java => it/java/org/sonar/server/issue/ws/TagsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterTest.java => it/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/live/ComponentIndexFactoryTest.java => it/java/org/sonar/server/measure/live/ComponentIndexFactoryIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/live/ComponentIndexImplTest.java => it/java/org/sonar/server/measure/live/ComponentIndexImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/live/LiveMeasureComputerImplTest.java => it/java/org/sonar/server/measure/live/LiveMeasureComputerImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplTest.java => it/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/live/LiveQualityGateComputerImplTest.java => it/java/org/sonar/server/measure/live/LiveQualityGateComputerImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/ws/ComponentActionTest.java => it/java/org/sonar/server/measure/ws/ComponentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/ws/ComponentTreeActionTest.java => it/java/org/sonar/server/measure/ws/ComponentTreeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/ws/SearchActionTest.java => it/java/org/sonar/server/measure/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/measure/ws/SearchHistoryActionTest.java => it/java/org/sonar/server/measure/ws/SearchHistoryActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/metric/ws/SearchActionTest.java => it/java/org/sonar/server/metric/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/monitoring/MetricsActionTest.java => it/java/org/sonar/server/monitoring/MetricsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/newcodeperiod/ws/ListActionTest.java => it/java/org/sonar/server/newcodeperiod/ws/ListActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/newcodeperiod/ws/SetActionTest.java => it/java/org/sonar/server/newcodeperiod/ws/SetActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/newcodeperiod/ws/ShowActionTest.java => it/java/org/sonar/server/newcodeperiod/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/newcodeperiod/ws/UnsetActionTest.java => it/java/org/sonar/server/newcodeperiod/ws/UnsetActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/notification/ws/AddActionTest.java => it/java/org/sonar/server/notification/ws/AddActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/notification/ws/ListActionTest.java => it/java/org/sonar/server/notification/ws/ListActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/notification/ws/RemoveActionTest.java => it/java/org/sonar/server/notification/ws/RemoveActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/DefaultTemplatesResolverImplTest.java => it/java/org/sonar/server/permission/DefaultTemplatesResolverImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/GroupPermissionChangerTest.java => it/java/org/sonar/server/permission/GroupPermissionChangerIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/PermissionTemplateServiceTest.java => it/java/org/sonar/server/permission/PermissionTemplateServiceIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/UserPermissionChangerTest.java => it/java/org/sonar/server/permission/UserPermissionChangerIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/AddGroupActionTest.java => it/java/org/sonar/server/permission/ws/AddGroupActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/AddUserActionTest.java => it/java/org/sonar/server/permission/ws/AddUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/BasePermissionWsTest.java => it/java/org/sonar/server/permission/ws/BasePermissionWsIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/GroupsActionTest.java => it/java/org/sonar/server/permission/ws/GroupsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/RemoveGroupActionTest.java => it/java/org/sonar/server/permission/ws/RemoveGroupActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/RemoveUserActionTest.java => it/java/org/sonar/server/permission/ws/RemoveUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/UsersActionTest.java => it/java/org/sonar/server/permission/ws/UsersActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/ApplyTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/ApplyTemplateActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/CreateTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/CreateTemplateActionIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/DeleteTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/DeleteTemplateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/SearchTemplatesActionTest.java => it/java/org/sonar/server/permission/ws/template/SearchTemplatesActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/TemplateGroupsActionTest.java => it/java/org/sonar/server/permission/ws/template/TemplateGroupsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/TemplateUsersActionTest.java => it/java/org/sonar/server/permission/ws/template/TemplateUsersActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/permission/ws/template/UpdateTemplateActionTest.java => it/java/org/sonar/server/permission/ws/template/UpdateTemplateActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/platform/ws/LogsActionTest.java => it/java/org/sonar/server/platform/ws/LogsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionTest.java => it/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/plugins/ws/InstalledActionTest.java => it/java/org/sonar/server/plugins/ws/InstalledActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/BulkDeleteActionTest.java => it/java/org/sonar/server/project/ws/BulkDeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/CreateActionTest.java => it/java/org/sonar/server/project/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/DeleteActionTest.java => it/java/org/sonar/server/project/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/ProjectFinderTest.java => it/java/org/sonar/server/project/ws/ProjectFinderIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/SearchActionTest.java => it/java/org/sonar/server/project/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/SearchMyProjectsActionTest.java => it/java/org/sonar/server/project/ws/SearchMyProjectsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionTest.java => it/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionTest.java => it/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/UpdateKeyActionTest.java => it/java/org/sonar/server/project/ws/UpdateKeyActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/project/ws/UpdateVisibilityActionTest.java => it/java/org/sonar/server/project/ws/UpdateVisibilityActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectanalysis/ws/CreateEventActionTest.java => it/java/org/sonar/server/projectanalysis/ws/CreateEventActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectanalysis/ws/DeleteActionTest.java => it/java/org/sonar/server/projectanalysis/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectanalysis/ws/DeleteEventActionTest.java => it/java/org/sonar/server/projectanalysis/ws/DeleteEventActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectanalysis/ws/SearchActionTest.java => it/java/org/sonar/server/projectanalysis/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectanalysis/ws/UpdateEventActionTest.java => it/java/org/sonar/server/projectanalysis/ws/UpdateEventActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectdump/ws/ExportActionTest.java => it/java/org/sonar/server/projectdump/ws/ExportActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectdump/ws/StatusActionTest.java => it/java/org/sonar/server/projectdump/ws/StatusActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectlink/ws/CreateActionTest.java => it/java/org/sonar/server/projectlink/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectlink/ws/DeleteActionTest.java => it/java/org/sonar/server/projectlink/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projectlink/ws/SearchActionTest.java => it/java/org/sonar/server/projectlink/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projecttag/ws/SearchActionTest.java => it/java/org/sonar/server/projecttag/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/projecttag/ws/SetActionTest.java => it/java/org/sonar/server/projecttag/ws/SetActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/QualityGateCaycCheckerTest.java => it/java/org/sonar/server/qualitygate/QualityGateCaycCheckerIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterTest.java => it/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/QualityGateUpdaterTest.java => it/java/org/sonar/server/qualitygate/QualityGateUpdaterIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/RegisterQualityGatesTest.java => it/java/org/sonar/server/qualitygate/RegisterQualityGatesIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/AddGroupActionTest.java => it/java/org/sonar/server/qualitygate/ws/AddGroupActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/AddUserActionTest.java => it/java/org/sonar/server/qualitygate/ws/AddUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/CopyActionTest.java => it/java/org/sonar/server/qualitygate/ws/CopyActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/CreateActionTest.java => it/java/org/sonar/server/qualitygate/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/CreateConditionActionTest.java => it/java/org/sonar/server/qualitygate/ws/CreateConditionActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/DeleteConditionActionTest.java => it/java/org/sonar/server/qualitygate/ws/DeleteConditionActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/DeselectActionTest.java => it/java/org/sonar/server/qualitygate/ws/DeselectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/DestroyActionTest.java => it/java/org/sonar/server/qualitygate/ws/DestroyActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/GetByProjectActionTest.java => it/java/org/sonar/server/qualitygate/ws/GetByProjectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/ListActionTest.java => it/java/org/sonar/server/qualitygate/ws/ListActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/ProjectStatusActionTest.java => it/java/org/sonar/server/qualitygate/ws/ProjectStatusActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/RemoveGroupActionTest.java => it/java/org/sonar/server/qualitygate/ws/RemoveGroupActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/RemoveUserActionTest.java => it/java/org/sonar/server/qualitygate/ws/RemoveUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/RenameActionTest.java => it/java/org/sonar/server/qualitygate/ws/RenameActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/SearchActionTest.java => it/java/org/sonar/server/qualitygate/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/SearchGroupsActionTest.java => it/java/org/sonar/server/qualitygate/ws/SearchGroupsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/SearchUsersActionTest.java => it/java/org/sonar/server/qualitygate/ws/SearchUsersActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/SelectActionTest.java => it/java/org/sonar/server/qualitygate/ws/SelectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionTest.java => it/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/ShowActionTest.java => it/java/org/sonar/server/qualitygate/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualitygate/ws/UpdateConditionActionTest.java => it/java/org/sonar/server/qualitygate/ws/UpdateConditionActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileBackuperImplTest.java => it/java/org/sonar/server/qualityprofile/QProfileBackuperImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileComparisonTest.java => it/java/org/sonar/server/qualityprofile/QProfileComparisonIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileCopierTest.java => it/java/org/sonar/server/qualityprofile/QProfileCopierIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java => it/java/org/sonar/server/qualityprofile/QProfileExportersIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileFactoryImplTest.java => it/java/org/sonar/server/qualityprofile/QProfileFactoryImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileResetImplTest.java => it/java/org/sonar/server/qualityprofile/QProfileResetImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileRuleImplTest.java => it/java/org/sonar/server/qualityprofile/QProfileRuleImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileRulesImplTest.java => it/java/org/sonar/server/qualityprofile/QProfileRulesImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/QProfileTreeImplTest.java => it/java/org/sonar/server/qualityprofile/QProfileTreeImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesTest.java => it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationTest.java => it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplTest.java => it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplTest.java => it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test => it}/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryRule.java (100%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplTest.java => it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/builtin/RuleActivatorTest.java => it/java/org/sonar/server/qualityprofile/builtin/RuleActivatorIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionTest.java => it/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionTest.java => it/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/AddGroupActionTest.java => it/java/org/sonar/server/qualityprofile/ws/AddGroupActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/AddProjectActionTest.java => it/java/org/sonar/server/qualityprofile/ws/AddProjectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/AddUserActionTest.java => it/java/org/sonar/server/qualityprofile/ws/AddUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/BackupActionTest.java => it/java/org/sonar/server/qualityprofile/ws/BackupActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/ChangeParentActionTest.java => it/java/org/sonar/server/qualityprofile/ws/ChangeParentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/ChangelogActionTest.java => it/java/org/sonar/server/qualityprofile/ws/ChangelogActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/CompareActionTest.java => it/java/org/sonar/server/qualityprofile/ws/CompareActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/CopyActionTest.java => it/java/org/sonar/server/qualityprofile/ws/CopyActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/CreateActionTest.java => it/java/org/sonar/server/qualityprofile/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionTest.java => it/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionTest.java => it/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/DeleteActionTest.java => it/java/org/sonar/server/qualityprofile/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/ExportActionTest.java => it/java/org/sonar/server/qualityprofile/ws/ExportActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/InheritanceActionTest.java => it/java/org/sonar/server/qualityprofile/ws/InheritanceActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java => it/java/org/sonar/server/qualityprofile/ws/ProjectsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportTest.java => it/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest.java => it/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionTest.java => it/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionTest.java => it/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/RemoveUserActionTest.java => it/java/org/sonar/server/qualityprofile/ws/RemoveUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/RenameActionTest.java => it/java/org/sonar/server/qualityprofile/ws/RenameActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/RestoreActionTest.java => it/java/org/sonar/server/qualityprofile/ws/RestoreActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/SearchActionTest.java => it/java/org/sonar/server/qualityprofile/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionTest.java => it/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/SearchUsersActionTest.java => it/java/org/sonar/server/qualityprofile/ws/SearchUsersActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/SetDefaultActionTest.java => it/java/org/sonar/server/qualityprofile/ws/SetDefaultActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/qualityprofile/ws/ShowActionTest.java => it/java/org/sonar/server/qualityprofile/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/RuleCreatorTest.java => it/java/org/sonar/server/rule/RuleCreatorIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/RuleUpdaterTest.java => it/java/org/sonar/server/rule/RuleUpdaterIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/ActiveRuleCompleterTest.java => it/java/org/sonar/server/rule/ws/ActiveRuleCompleterIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/AppActionTest.java => it/java/org/sonar/server/rule/ws/AppActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/CreateActionTest.java => it/java/org/sonar/server/rule/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/DeleteActionTest.java => it/java/org/sonar/server/rule/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/ListActionTest.java => it/java/org/sonar/server/rule/ws/ListActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/RepositoriesActionTest.java => it/java/org/sonar/server/rule/ws/RepositoriesActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/RuleQueryFactoryTest.java => it/java/org/sonar/server/rule/ws/RuleQueryFactoryIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/SearchActionTest.java => it/java/org/sonar/server/rule/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/ShowActionTest.java => it/java/org/sonar/server/rule/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/TagsActionTest.java => it/java/org/sonar/server/rule/ws/TagsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/rule/ws/UpdateActionTest.java => it/java/org/sonar/server/rule/ws/UpdateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/scannercache/ws/ClearActionTest.java => it/java/org/sonar/server/scannercache/ws/ClearActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/scannercache/ws/GetActionTest.java => it/java/org/sonar/server/scannercache/ws/GetActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/CheckSecretKeyActionTest.java => it/java/org/sonar/server/setting/ws/CheckSecretKeyActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/EncryptActionTest.java => it/java/org/sonar/server/setting/ws/EncryptActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionTest.java => it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterTest.java => it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/ListDefinitionsActionTest.java => it/java/org/sonar/server/setting/ws/ListDefinitionsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/ResetActionTest.java => it/java/org/sonar/server/setting/ws/ResetActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/SetActionTest.java => it/java/org/sonar/server/setting/ws/SetActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/SettingsUpdaterTest.java => it/java/org/sonar/server/setting/ws/SettingsUpdaterIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/setting/ws/ValuesActionTest.java => it/java/org/sonar/server/setting/ws/ValuesActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/source/SourceServiceTest.java => it/java/org/sonar/server/source/SourceServiceIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/source/ws/IndexActionTest.java => it/java/org/sonar/server/source/ws/IndexActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/source/ws/IssueSnippetsActionTest.java => it/java/org/sonar/server/source/ws/IssueSnippetsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/source/ws/LinesActionTest.java => it/java/org/sonar/server/source/ws/LinesActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/source/ws/RawActionTest.java => it/java/org/sonar/server/source/ws/RawActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/source/ws/ScmActionTest.java => it/java/org/sonar/server/source/ws/ScmActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/source/ws/ShowActionTest.java => it/java/org/sonar/server/source/ws/ShowActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ui/ws/ComponentActionTest.java => it/java/org/sonar/server/ui/ws/ComponentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ui/ws/MarketplaceActionTest.java => it/java/org/sonar/server/ui/ws/MarketplaceActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/ui/ws/SettingsActionTest.java => it/java/org/sonar/server/ui/ws/SettingsActionIT.java} (97%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/AnonymizeActionTest.java => it/java/org/sonar/server/user/ws/AnonymizeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/ChangePasswordActionTest.java => it/java/org/sonar/server/user/ws/ChangePasswordActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/CreateActionTest.java => it/java/org/sonar/server/user/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/CurrentActionHomepageTest.java => it/java/org/sonar/server/user/ws/CurrentActionHomepageIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/CurrentActionTest.java => it/java/org/sonar/server/user/ws/CurrentActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/DeactivateActionTest.java => it/java/org/sonar/server/user/ws/DeactivateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/DismissNoticeActionTest.java => it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/GroupsActionTest.java => it/java/org/sonar/server/user/ws/GroupsActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/IdentityProvidersActionTest.java => it/java/org/sonar/server/user/ws/IdentityProvidersActionIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/SearchActionTest.java => it/java/org/sonar/server/user/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/SetHomepageActionTest.java => it/java/org/sonar/server/user/ws/SetHomepageActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/UpdateActionTest.java => it/java/org/sonar/server/user/ws/UpdateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/UpdateIdentityProviderActionTest.java => it/java/org/sonar/server/user/ws/UpdateIdentityProviderActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/UpdateLoginActionTest.java => it/java/org/sonar/server/user/ws/UpdateLoginActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/user/ws/UserAnonymizerTest.java => it/java/org/sonar/server/user/ws/UserAnonymizerIT.java} (98%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usergroups/ws/AddUserActionTest.java => it/java/org/sonar/server/usergroups/ws/AddUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usergroups/ws/CreateActionTest.java => it/java/org/sonar/server/usergroups/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usergroups/ws/DeleteActionTest.java => it/java/org/sonar/server/usergroups/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java => it/java/org/sonar/server/usergroups/ws/RemoveUserActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usergroups/ws/SearchActionTest.java => it/java/org/sonar/server/usergroups/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usergroups/ws/UpdateActionTest.java => it/java/org/sonar/server/usergroups/ws/UpdateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usergroups/ws/UsersActionTest.java => it/java/org/sonar/server/usergroups/ws/UsersActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usertoken/ws/GenerateActionTest.java => it/java/org/sonar/server/usertoken/ws/GenerateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usertoken/ws/RevokeActionTest.java => it/java/org/sonar/server/usertoken/ws/RevokeActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/usertoken/ws/SearchActionTest.java => it/java/org/sonar/server/usertoken/ws/SearchActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/webhook/ws/CreateActionTest.java => it/java/org/sonar/server/webhook/ws/CreateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/webhook/ws/DeleteActionTest.java => it/java/org/sonar/server/webhook/ws/DeleteActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/webhook/ws/ListActionTest.java => it/java/org/sonar/server/webhook/ws/ListActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/webhook/ws/UpdateActionTest.java => it/java/org/sonar/server/webhook/ws/UpdateActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionTest.java => it/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test/java/org/sonar/server/webhook/ws/WebhookDeliveryActionTest.java => it/java/org/sonar/server/webhook/ws/WebhookDeliveryActionIT.java} (99%) rename server/sonar-webserver-webapi/src/{test => it}/resources/org/sonar/server/almsettings/ws/count_binding-example.json (100%) rename server/sonar-webserver-webapi/src/{test => it}/resources/org/sonar/server/almsettings/ws/get_binding-example.json (100%) rename server/sonar-webserver-webapi/src/{test => it}/resources/org/sonar/server/almsettings/ws/list-example.json (100%) rename server/sonar-webserver-webapi/src/{test => it}/resources/org/sonar/server/almsettings/ws/list_definitions-example.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/display_directory_facet.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/display_file_facet.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/display_module_facet.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/display_non_sticky_project_facet.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/display_sticky_project_facet.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/issues_on_different_projects.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/no_issue.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_by_developer.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_by_directory_uuid.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_by_file_key.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_by_file_uuid.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_by_project_uuid.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_by_test_key.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_by_view_uuid.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest => it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT}/search_since_leak_period.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/apply_paging_with_multiple_components.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/apply_paging_with_one_component.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/assignedToMe_facet_must_escape_login_of_authenticated_user.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/assigned_to_me_facet_sticky.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/author_is_hidden.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/default_page_size_is_100.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/display_facets.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/display_facets_effort.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/display_zero_facets.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/empty_result.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/filter_by_assigned_to_me.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/filter_by_leak_period.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/filter_by_leak_period_has_no_effect_on_prs.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/filter_by_main_scope.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/filter_by_main_scope_2.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/filter_by_test_scope.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/hide_rules.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/ignore_paging_with_one_component.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/issue_on_removed_file.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/issue_with_comment_hidden.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/issue_with_comments.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/load_additional_fields.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/load_additional_fields_with_issue_admin_permission.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/no_issue.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/paging.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/response_contains_all_fields_except_additional_fields.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/issue/ws/SearchActionTest => it/resources/org/sonar/server/issue/ws/SearchActionIT}/result_for_rule_search.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/metric/ws/SearchActionTest => it/resources/org/sonar/server/metric/ws/SearchActionIT}/search_metrics.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/permission/ws/GroupsActionTest => it/resources/org/sonar/server/permission/ws/GroupsActionIT}/groups.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/permission/ws/UsersActionTest => it/resources/org/sonar/server/permission/ws/UsersActionIT}/search_for_users_is_paginated.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/permission/ws/UsersActionTest => it/resources/org/sonar/server/permission/ws/UsersActionIT}/users.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionTest => it/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionIT}/display_all_project_permissions.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionTest => it/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionIT}/empty.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/plugins/ws/InstalledActionTest => it/resources/org/sonar/server/plugins/ws/InstalledActionIT}/some.jar (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualitygate/ws/ProjectStatusActionTest => it/resources/org/sonar/server/qualitygate/ws/ProjectStatusActionIT}/measure_data.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/QProfileBackuperTest => it/resources/org/sonar/server/qualityprofile/QProfileBackuperIT}/duplicates-xml-backup.xml (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/ChangelogActionTest => it/resources/org/sonar/server/qualityprofile/ws/ChangelogActionIT}/changelog_example.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest => it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT}/compare_nominal.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest => it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT}/compare_param_on_left.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest => it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT}/compare_param_on_right.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/CreateActionTest => it/resources/org/sonar/server/qualityprofile/ws/CreateActionIT}/test_json.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/InheritanceActionTest => it/resources/org/sonar/server/qualityprofile/ws/InheritanceActionIT}/inheritance-buWide.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/InheritanceActionTest => it/resources/org/sonar/server/qualityprofile/ws/InheritanceActionIT}/inheritance-simple.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest => it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT}/bulk_activate_rule.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest => it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT}/bulk_activate_rule_not_all.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest => it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT}/does_not_return_warnings_when_bulk_activate_on_profile_and_rules_exist_on_another_language_than_profile.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/qualityprofile/ws/RestoreActionTest => it/resources/org/sonar/server/qualityprofile/ws/RestoreActionIT}/restore_profile.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/rule/ws/RepositoriesActionTest => it/resources/org/sonar/server/rule/ws/RepositoriesActionIT}/repositories.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/rule/ws/RepositoriesActionTest => it/resources/org/sonar/server/rule/ws/RepositoriesActionIT}/repositories_common.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/rule/ws/RepositoriesActionTest => it/resources/org/sonar/server/rule/ws/RepositoriesActionIT}/repositories_java.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/rule/ws/RepositoriesActionTest => it/resources/org/sonar/server/rule/ws/RepositoriesActionIT}/repositories_sonar.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/rule/ws/RepositoriesActionTest => it/resources/org/sonar/server/rule/ws/RepositoriesActionIT}/repositories_ws.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/rule/ws/RepositoriesActionTest => it/resources/org/sonar/server/rule/ws/RepositoriesActionIT}/repositories_xoo.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/rule/ws/SearchActionTest => it/resources/org/sonar/server/rule/ws/SearchActionIT}/paging.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest => it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT}/issue_snippets_close_to_each_other.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest => it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT}/issue_snippets_multiple_locations.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest => it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT}/issue_snippets_single_location.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest => it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT}/issue_snippets_with_measures.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/convert_deprecated_data.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/display_deprecated_fields.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/generated_isNew.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/hide_scmAuthors.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/show_paginated_lines.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/show_scmAuthors.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/show_source.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/LinesActionTest => it/resources/org/sonar/server/source/ws/LinesActionIT}/show_source_by_file_key.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ScmActionTest => it/resources/org/sonar/server/source/ws/ScmActionIT}/accept_negative_value_in_from_parameter.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ScmActionTest => it/resources/org/sonar/server/source/ws/ScmActionIT}/group_lines_by_commit.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ScmActionTest => it/resources/org/sonar/server/source/ws/ScmActionIT}/not_group_lines_by_commit.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ScmActionTest => it/resources/org/sonar/server/source/ws/ScmActionIT}/return_empty_value_when_no_scm.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ScmActionTest => it/resources/org/sonar/server/source/ws/ScmActionIT}/show_scm.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ScmActionTest => it/resources/org/sonar/server/source/ws/ScmActionIT}/show_scm_from_given_range_lines.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ShowActionTest => it/resources/org/sonar/server/source/ws/ShowActionIT}/show_source.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/source/ws/ShowActionTest => it/resources/org/sonar/server/source/ws/ShowActionIT}/show_source_with_params_from_and_to.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_bread_crumbs_on_several_levels.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_component_info_when_anonymous_no_snapshot.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_component_info_when_file_on_branch.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_component_info_when_file_on_master.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_component_info_when_snapshot.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_component_info_with_favourite.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_configuration_for_admin.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_configuration_for_quality_gate_admin.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_configuration_for_quality_profile_admin.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_configuration_with_all_properties.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_default_quality_gate.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_deleted_quality_profiles.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_empty_quality_profiles_when_no_measure.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_extensions.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_extensions_for_admin.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_quality_gate.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/ComponentActionTest => it/resources/org/sonar/server/ui/ws/ComponentActionIT}/return_quality_profiles.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/SettingsActionTest => it/resources/org/sonar/server/ui/ws/SettingsActionIT}/empty.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/SettingsActionTest => it/resources/org/sonar/server/ui/ws/SettingsActionIT}/with_pages.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/ui/ws/SettingsActionTest => it/resources/org/sonar/server/ui/ws/SettingsActionIT}/with_update_center.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/user/ws/CreateActionTest => it/resources/org/sonar/server/user/ws/CreateActionIT}/create_user.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/user/ws/CreateActionTest => it/resources/org/sonar/server/user/ws/CreateActionIT}/reactivate_user.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/user/ws/UpdateActionTest => it/resources/org/sonar/server/user/ws/UpdateActionIT}/blank_email_is_updated_to_null.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/user/ws/UpdateActionTest => it/resources/org/sonar/server/user/ws/UpdateActionIT}/update_email.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/user/ws/UpdateActionTest => it/resources/org/sonar/server/user/ws/UpdateActionIT}/update_name.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/user/ws/UpdateActionTest => it/resources/org/sonar/server/user/ws/UpdateActionIT}/update_scm_accounts.json (100%) rename server/sonar-webserver-webapi/src/{test/resources/org/sonar/server/user/ws/UpdateActionTest => it/resources/org/sonar/server/user/ws/UpdateActionIT}/update_user.json (100%) delete mode 100644 server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/TestMeasureUpdateFormulaFactory.java delete mode 100644 server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateConverterTest.java delete mode 100644 server/sonar-webserver-webapi/src/test/resources/org/sonar/server/batch/ProjectActionTest/project_referentials.json diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/CheckPatActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/CheckPatActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/CheckPatActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/CheckPatActionIT.java index 7667ea5a62e..7bac4b067ce 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/CheckPatActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/CheckPatActionIT.java @@ -49,7 +49,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.alm.integration.pat.AlmPatsTesting.newAlmPatDto; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class CheckPatActionTest { +public class CheckPatActionIT { public static final String PAT_SECRET = "pat-secret"; @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/ImportHelperTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/ImportHelperIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/ImportHelperTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/ImportHelperIT.java index c21904e08f8..90dcebd3534 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/ImportHelperTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/ImportHelperIT.java @@ -36,7 +36,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonarqube.ws.Projects.CreateWsResponse; -public class ImportHelperTest { +public class ImportHelperIT { private final System2 system2 = System2.INSTANCE; private final ComponentDto componentDto = ComponentTesting.newPublicProjectDto(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/SetPatActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/SetPatActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/SetPatActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/SetPatActionIT.java index 25fe1c98b91..2c685028cf7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/SetPatActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/SetPatActionIT.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.api.Assertions.tuple; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class SetPatActionTest { +public class SetPatActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionIT.java index bab0741fc98..2dcad2a53bb 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionIT.java @@ -68,7 +68,7 @@ import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; import static org.sonar.db.permission.GlobalPermission.SCAN; -public class ImportAzureProjectActionTest { +public class ImportAzureProjectActionIT { private static final String GENERATED_PROJECT_KEY = "TEST_PROJECT_KEY"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionIT.java index 68050b3d283..0537f628749 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionIT.java @@ -50,7 +50,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.alm.integration.pat.AlmPatsTesting.newAlmPatDto; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class ListAzureProjectsActionTest { +public class ListAzureProjectsActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionIT.java index 5bb2d37d168..d3b2d0f9af9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionIT.java @@ -54,7 +54,7 @@ import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; import static org.sonarqube.ws.AlmIntegrations.AzureRepo; import static org.sonarqube.ws.AlmIntegrations.SearchAzureReposWsResponse; -public class SearchAzureReposActionTest { +public class SearchAzureReposActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionIT.java index 136c27a9384..957e35488e0 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionIT.java @@ -68,7 +68,7 @@ import static org.sonar.db.alm.integration.pat.AlmPatsTesting.newAlmPatDto; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; import static org.sonar.db.permission.GlobalPermission.SCAN; -public class ImportBitbucketCloudRepoActionTest { +public class ImportBitbucketCloudRepoActionIT { private static final String GENERATED_PROJECT_KEY = "TEST_PROJECT_KEY"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionIT.java index 65050c8eede..044e4e74014 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionIT.java @@ -54,7 +54,7 @@ import static org.sonar.api.server.ws.WebService.Param.PAGE_SIZE; import static org.sonar.db.alm.integration.pat.AlmPatsTesting.newAlmPatDto; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class SearchBitbucketCloudReposActionTest { +public class SearchBitbucketCloudReposActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionIT.java index 020772c6e7e..22e9a723883 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionIT.java @@ -74,7 +74,7 @@ import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; import static org.sonar.db.permission.GlobalPermission.SCAN; -public class ImportBitbucketServerProjectActionTest { +public class ImportBitbucketServerProjectActionIT { private static final String GENERATED_PROJECT_KEY = "TEST_PROJECT_KEY"; @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionIT.java index 3ba859481c7..a85ced70e71 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionIT.java @@ -50,7 +50,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.alm.integration.pat.AlmPatsTesting.newAlmPatDto; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class ListBitbucketServerProjectsActionTest { +public class ListBitbucketServerProjectsActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionIT.java index cc051ba1624..319f10edbbc 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionIT.java @@ -53,7 +53,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.alm.integration.pat.AlmPatsTesting.newAlmPatDto; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class SearchBitbucketServerReposActionTest { +public class SearchBitbucketServerReposActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionIT.java index 21d80a58534..5ffa676c65d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/GetGithubClientIdActionIT.java @@ -38,7 +38,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.sonar.server.tester.UserSessionRule.standalone; -public class GetGithubClientIdActionTest { +public class GetGithubClientIdActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java index ceefe455427..d54e9e5a06d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java @@ -63,7 +63,7 @@ import static org.sonar.server.almintegration.ws.github.ImportGithubProjectActio import static org.sonar.server.almintegration.ws.github.ImportGithubProjectAction.PARAM_REPOSITORY_KEY; import static org.sonar.server.tester.UserSessionRule.standalone; -public class ImportGithubProjectActionTest { +public class ImportGithubProjectActionIT { private static final String PROJECT_KEY_NAME = "PROJECT_NAME"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java index b66a72f4a90..472e9e701aa 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java @@ -61,7 +61,7 @@ import static org.sonar.server.almintegration.ws.github.ListGithubOrganizationsA import static org.sonar.server.almintegration.ws.github.ListGithubOrganizationsAction.PARAM_TOKEN; import static org.sonar.server.tester.UserSessionRule.standalone; -public class ListGithubOrganizationsActionTest { +public class ListGithubOrganizationsActionIT { private static final Encryption encryption = mock(Encryption.class); private static final Settings settings = mock(Settings.class); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java index 6db1cb3a0ea..2b37cfab657 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java @@ -53,7 +53,7 @@ import static org.sonar.server.tester.UserSessionRule.standalone; import static org.sonarqube.ws.AlmIntegrations.GithubRepository; import static org.sonarqube.ws.AlmIntegrations.ListGithubRepositoriesWsResponse; -public class ListGithubRepositoriesActionTest { +public class ListGithubRepositoriesActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionIT.java index 9c1cbe423da..3584b3d3390 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionIT.java @@ -61,7 +61,7 @@ import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; import static org.sonar.server.tester.UserSessionRule.standalone; -public class ImportGitLabProjectActionTest { +public class ImportGitLabProjectActionIT { private static final String PROJECT_KEY_NAME = "PROJECT_NAME"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionIT.java index 306beb76587..ad8b97aac55 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/gitlab/SearchGitlabReposActionIT.java @@ -52,7 +52,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.alm.integration.pat.AlmPatsTesting.newAlmPatDto; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class SearchGitlabReposActionTest { +public class SearchGitlabReposActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CountBindingActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CountBindingActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CountBindingActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CountBindingActionIT.java index dc11af8808b..201c6b1a796 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CountBindingActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CountBindingActionIT.java @@ -40,7 +40,7 @@ import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; import static org.sonar.test.JsonAssert.assertJson; -public class CountBindingActionTest { +public class CountBindingActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateAzureActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateAzureActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateAzureActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateAzureActionIT.java index 3e7c37684da..bedb89fc067 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateAzureActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateAzureActionIT.java @@ -40,7 +40,7 @@ import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class CreateAzureActionTest { +public class CreateAzureActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateBitbucketActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateBitbucketActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateBitbucketActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateBitbucketActionIT.java index 7747f8840f9..225b156e40f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateBitbucketActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateBitbucketActionIT.java @@ -40,7 +40,7 @@ import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class CreateBitbucketActionTest { +public class CreateBitbucketActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionIT.java index 52cf0c100d6..bb37976d64f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateBitbucketCloudActionIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class CreateBitbucketCloudActionTest { +public class CreateBitbucketCloudActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateGithubActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateGithubActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateGithubActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateGithubActionIT.java index 6deee3c2f3d..128c6d4a6f2 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateGithubActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateGithubActionIT.java @@ -45,7 +45,7 @@ import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class CreateGithubActionTest { +public class CreateGithubActionIT { private static final String APP_ID = "12345"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateGitlabActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateGitlabActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateGitlabActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateGitlabActionIT.java index 28dab5ab54e..dd31ef9a71c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/CreateGitlabActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/CreateGitlabActionIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class CreateGitlabActionTest { +public class CreateGitlabActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/DeleteActionIT.java index 920457e9e96..a0e896f6681 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/DeleteActionIT.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; -public class DeleteActionTest { +public class DeleteActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/GetBindingActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/GetBindingActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/GetBindingActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/GetBindingActionIT.java index f4c01235436..36ba01895f8 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/GetBindingActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/GetBindingActionIT.java @@ -43,7 +43,7 @@ import static org.sonar.api.web.UserRole.ADMIN; import static org.sonar.api.web.UserRole.USER; import static org.sonar.test.JsonAssert.assertJson; -public class GetBindingActionTest { +public class GetBindingActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ListActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ListActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ListActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ListActionIT.java index 36b30f6a246..df67e0baefe 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ListActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ListActionIT.java @@ -47,7 +47,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; import static org.sonar.test.JsonAssert.assertJson; -public class ListActionTest { +public class ListActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ListDefinitionsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ListDefinitionsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ListDefinitionsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ListDefinitionsActionIT.java index 2ebb9837f8a..900150ed5a7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ListDefinitionsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ListDefinitionsActionIT.java @@ -43,7 +43,7 @@ import static org.sonar.server.tester.UserSessionRule.standalone; import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.AlmSettings.ListDefinitionsWsResponse; -public class ListDefinitionsActionTest { +public class ListDefinitionsActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateAzureActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateAzureActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateAzureActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateAzureActionIT.java index f7aa8c4bca6..c18eff3296f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateAzureActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateAzureActionIT.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; -public class UpdateAzureActionTest { +public class UpdateAzureActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionIT.java index 10970e6e96b..854a74f952b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateBitbucketActionIT.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; -public class UpdateBitbucketActionTest { +public class UpdateBitbucketActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionIT.java index b637ab79022..ab42beea7e4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateBitbucketCloudActionIT.java @@ -45,7 +45,7 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class UpdateBitbucketCloudActionTest { +public class UpdateBitbucketCloudActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateGithubActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateGithubActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateGithubActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateGithubActionIT.java index ebf98c4e3ce..2dc242938ad 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateGithubActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateGithubActionIT.java @@ -58,7 +58,7 @@ import static org.mockito.Mockito.verify; import static org.sonar.db.alm.setting.ALM.GITHUB; @RunWith(DataProviderRunner.class) -public class UpdateGithubActionTest { +public class UpdateGithubActionIT { private final AuditPersister auditPersister = mock(AuditPersister.class); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateGitlabActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateGitlabActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateGitlabActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateGitlabActionIT.java index 1d285f38772..f4203a8c015 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/UpdateGitlabActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/UpdateGitlabActionIT.java @@ -43,7 +43,7 @@ import static org.assertj.core.groups.Tuple.tuple; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class UpdateGitlabActionTest { +public class UpdateGitlabActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ValidateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ValidateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ValidateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ValidateActionIT.java index 3c2433a91e8..0706aa466fc 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/ValidateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almsettings/ws/ValidateActionIT.java @@ -55,7 +55,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class ValidateActionTest { +public class ValidateActionIT { private static final Encryption encryption = mock(Encryption.class); private static final Settings settings = mock(Settings.class); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/LoginActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/authentication/ws/LoginActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/LoginActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/authentication/ws/LoginActionIT.java index 49de7c336a8..364c0b4f25a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/LoginActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/authentication/ws/LoginActionIT.java @@ -52,7 +52,7 @@ import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; import static org.sonar.server.authentication.event.AuthenticationEvent.Method.FORM; -public class LoginActionTest { +public class LoginActionIT { private static final String LOGIN = "LOGIN"; private static final String PASSWORD = "PASSWORD"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/MeasureActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/MeasureActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/MeasureActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/MeasureActionIT.java index 8913bca3445..7f22735cdd9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/MeasureActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/MeasureActionIT.java @@ -78,7 +78,7 @@ import static org.sonar.server.badge.ws.SvgGenerator.Color.QUALITY_GATE_OK; import static org.sonar.server.badge.ws.SvgGenerator.Color.QUALITY_GATE_WARN; @RunWith(DataProviderRunner.class) -public class MeasureActionTest { +public class MeasureActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/QualityGateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/QualityGateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/QualityGateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/QualityGateActionIT.java index ca80c3b8554..1ab42e9a154 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/QualityGateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/QualityGateActionIT.java @@ -62,7 +62,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.component.BranchType.BRANCH; @RunWith(DataProviderRunner.class) -public class QualityGateActionTest { +public class QualityGateActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/TokenActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/TokenActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/TokenActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/TokenActionIT.java index 701e7db0e27..19cc15237b1 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/TokenActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/TokenActionIT.java @@ -36,7 +36,7 @@ import org.sonar.server.ws.WsActionTester; import static org.mockito.Mockito.when; -public class TokenActionTest { +public class TokenActionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/TokenRenewActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/TokenRenewActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/TokenRenewActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/TokenRenewActionIT.java index 55eb86bb59a..b0c74e1b3e4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/TokenRenewActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/badge/ws/TokenRenewActionIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class TokenRenewActionTest { +public class TokenRenewActionIT { private final System2 system2 = mock(System2.class); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/FileActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/FileActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/FileActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/FileActionIT.java index bbbfb2300c5..59852fe8a57 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/FileActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/FileActionIT.java @@ -36,7 +36,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class FileActionTest { +public class FileActionIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/IndexActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/IndexActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/IndexActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/IndexActionIT.java index 72a5b5150ad..7642829dc69 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/IndexActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/IndexActionIT.java @@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class IndexActionTest { +public class IndexActionIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/ProjectDataLoaderTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/ProjectDataLoaderIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/ProjectDataLoaderTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/ProjectDataLoaderIT.java index dfb4c056fc8..ee707200402 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/batch/ProjectDataLoaderTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/batch/ProjectDataLoaderIT.java @@ -45,7 +45,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.permission.GlobalPermission.SCAN; -public class ProjectDataLoaderTest { +public class ProjectDataLoaderIT { @Rule public DbTester db = DbTester.create(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/DeleteActionIT.java index 76bf9d7434a..40d763dda92 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/DeleteActionIT.java @@ -46,7 +46,7 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -public class DeleteActionTest { +public class DeleteActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/ListActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/ListActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/ListActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/ListActionIT.java index 58a976b812c..c6c7c4b4517 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/ListActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/ListActionIT.java @@ -62,7 +62,7 @@ import static org.sonar.db.component.SnapshotTesting.newAnalysis; import static org.sonar.db.permission.GlobalPermission.SCAN; import static org.sonar.test.JsonAssert.assertJson; -public class ListActionTest { +public class ListActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/RenameActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/RenameActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/RenameActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/RenameActionIT.java index 8db42b02ee0..03d43e33c4a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/RenameActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/RenameActionIT.java @@ -41,7 +41,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.api.resources.Qualifiers.PROJECT; -public class RenameActionTest { +public class RenameActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionIT.java index b0b67b48333..71453cb7f88 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/SetAutomaticDeletionProtectionActionIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.api.resources.Qualifiers.PROJECT; import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; -public class SetAutomaticDeletionProtectionActionTest { +public class SetAutomaticDeletionProtectionActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/projectdump/ExportSubmitterImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/projectdump/ExportSubmitterImplIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/projectdump/ExportSubmitterImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/projectdump/ExportSubmitterImplIT.java index 5c0c442750b..f631ecc0116 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/projectdump/ExportSubmitterImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/projectdump/ExportSubmitterImplIT.java @@ -36,7 +36,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.api.Assertions.tuple; import static org.mockito.Mockito.mock; -public class ExportSubmitterImplTest { +public class ExportSubmitterImplIT { private static final String SOME_SUBMITTER_UUID = "some submitter uuid"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/BranchReportSubmitterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/BranchReportSubmitterIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/BranchReportSubmitterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/BranchReportSubmitterIT.java index c7537f60b89..50170a866cd 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/BranchReportSubmitterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/BranchReportSubmitterIT.java @@ -79,7 +79,7 @@ import static org.sonar.db.permission.GlobalPermission.SCAN; * Tests of {@link ReportSubmitter} when branch support is installed. */ @RunWith(DataProviderRunner.class) -public class BranchReportSubmitterTest { +public class BranchReportSubmitterIT { @Rule public final UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/CeQueueCleanerTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/CeQueueCleanerIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/CeQueueCleanerTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/CeQueueCleanerIT.java index 7741c096f2d..e033365e74a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/CeQueueCleanerTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/CeQueueCleanerIT.java @@ -40,14 +40,13 @@ import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class CeQueueCleanerTest { +public class CeQueueCleanerIT { @Rule public final DbTester dbTester = DbTester.create(System2.INSTANCE); private final ServerUpgradeStatus serverUpgradeStatus = mock(ServerUpgradeStatus.class); private final CeQueue queue = mock(CeQueue.class); - private final MapSettings settings = new MapSettings(); @Test public void start_does_not_reset_in_progress_tasks_to_pending() { diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/ReportSubmitterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/ReportSubmitterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java index 11f47662726..38b8661b29f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/queue/ReportSubmitterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java @@ -71,7 +71,7 @@ import static org.sonar.db.component.ComponentTesting.newDirectory; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; import static org.sonar.db.permission.GlobalPermission.SCAN; -public class ReportSubmitterTest { +public class ReportSubmitterIT { private static final String PROJECT_KEY = "MY_PROJECT"; private static final String PROJECT_UUID = "P1"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ActivityActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ActivityActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ActivityActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ActivityActionIT.java index 77860981722..552b0d0b865 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ActivityActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ActivityActionIT.java @@ -80,7 +80,7 @@ import static org.sonar.server.ce.ws.CeWsParameters.PARAM_MAX_EXECUTED_AT; import static org.sonar.server.ce.ws.CeWsParameters.PARAM_MIN_SUBMITTED_AT; import static org.sonar.server.ce.ws.CeWsParameters.PARAM_STATUS; -public class ActivityActionTest { +public class ActivityActionIT { private static final long EXECUTED_AT = System2.INSTANCE.now(); private static final String NODE_NAME = "nodeName1"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ActivityStatusActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ActivityStatusActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ActivityStatusActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ActivityStatusActionIT.java index c2e24f4764c..2f1e8e95e91 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ActivityStatusActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ActivityStatusActionIT.java @@ -49,7 +49,7 @@ import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.server.ce.ws.CeWsParameters.PARAM_COMPONENT; import static org.sonar.test.JsonAssert.assertJson; -public class ActivityStatusActionTest { +public class ActivityStatusActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone().logIn().setSystemAdministrator(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/AnalysisStatusActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/AnalysisStatusActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/AnalysisStatusActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/AnalysisStatusActionIT.java index fd458c41bf7..a66d36fa963 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/AnalysisStatusActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/AnalysisStatusActionIT.java @@ -52,7 +52,7 @@ import static org.sonar.server.ce.ws.CeWsParameters.PARAM_COMPONENT; import static org.sonar.server.ce.ws.CeWsParameters.PARAM_PULL_REQUEST; import static org.sonar.test.JsonAssert.assertJson; -public class AnalysisStatusActionTest { +public class AnalysisStatusActionIT { private static final String BRANCH_WITH_WARNING = "feature-with-warning"; private static final String BRANCH_WITHOUT_WARNING = "feature-without-warning"; private static final String PULL_REQUEST = "pr1"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/CancelActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/CancelActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/CancelActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/CancelActionIT.java index ad937667cb3..34300d161c2 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/CancelActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/CancelActionIT.java @@ -45,7 +45,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; -public class CancelActionTest { +public class CancelActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/CancelAllActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/CancelAllActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/CancelAllActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/CancelAllActionIT.java index 0536368ed37..45802f88cda 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/CancelAllActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/CancelAllActionIT.java @@ -31,7 +31,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoInteractions; -public class CancelAllActionTest { +public class CancelAllActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ComponentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ComponentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ComponentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ComponentActionIT.java index c3cba4af285..52fa6d70516 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/ComponentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/ComponentActionIT.java @@ -60,7 +60,7 @@ import static org.sonar.db.ce.CeTaskCharacteristicDto.BRANCH_TYPE_KEY; import static org.sonar.db.component.BranchType.BRANCH; import static org.sonar.server.ce.ws.CeWsParameters.PARAM_COMPONENT; -public class ComponentActionTest { +public class ComponentActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionIT.java index 33d5355788f..a058e511afe 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/DismissAnalysisWarningActionIT.java @@ -50,7 +50,7 @@ import static org.junit.Assert.assertThrows; import static org.sonar.db.ce.CeActivityDto.Status.SUCCESS; import static org.sonar.db.ce.CeTaskTypes.REPORT; -public class DismissAnalysisWarningActionTest { +public class DismissAnalysisWarningActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/IndexationStatusActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/IndexationStatusActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/IndexationStatusActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/IndexationStatusActionIT.java index dc49d18976e..71a39a57f74 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/IndexationStatusActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/IndexationStatusActionIT.java @@ -38,7 +38,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @RunWith(DataProviderRunner.class) -public class IndexationStatusActionTest { +public class IndexationStatusActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/TaskActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/TaskActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/TaskActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/TaskActionIT.java index 28772dcb1b2..878a43014e0 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ce/ws/TaskActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/ws/TaskActionIT.java @@ -59,7 +59,7 @@ import static org.sonar.db.ce.CeTaskCharacteristicDto.BRANCH_KEY; import static org.sonar.db.ce.CeTaskCharacteristicDto.BRANCH_TYPE_KEY; import static org.sonar.db.component.BranchType.BRANCH; -public class TaskActionTest { +public class TaskActionIT { private static final String SOME_TASK_UUID = "TASK_1"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentCleanerServiceTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentCleanerServiceIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentCleanerServiceTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentCleanerServiceIT.java index 96b24fe37c4..cba4c4d9ef6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentCleanerServiceTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentCleanerServiceIT.java @@ -47,7 +47,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.server.es.ProjectIndexer.Cause.PROJECT_DELETION; -public class ComponentCleanerServiceTest { +public class ComponentCleanerServiceIT { private final System2 system2 = System2.INSTANCE; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentFinderTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentFinderIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentFinderTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentFinderIT.java index 0b6a97a2db4..b197932ea8c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentFinderTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentFinderIT.java @@ -37,7 +37,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.server.component.ComponentFinder.ParamNames.ID_AND_KEY; -public class ComponentFinderTest { +public class ComponentFinderIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentServiceUpdateKeyTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentServiceUpdateKeyIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentServiceUpdateKeyTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentServiceUpdateKeyIT.java index ada13968d5d..82a5d63698c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentServiceUpdateKeyTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentServiceUpdateKeyIT.java @@ -45,7 +45,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; -public class ComponentServiceUpdateKeyTest { +public class ComponentServiceUpdateKeyIT { private final System2 system2 = System2.INSTANCE; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentUpdaterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentUpdaterIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentUpdaterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentUpdaterIT.java index 1689ca50fc8..0ded9bc71ac 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ComponentUpdaterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentUpdaterIT.java @@ -54,7 +54,7 @@ import static org.sonar.api.resources.Qualifiers.APP; import static org.sonar.api.resources.Qualifiers.VIEW; import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; -public class ComponentUpdaterTest { +public class ComponentUpdaterIT { private static final String DEFAULT_PROJECT_KEY = "project-key"; private static final String DEFAULT_PROJECT_NAME = "project-name"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/AppActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/AppActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/AppActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/AppActionIT.java index f40389b65d7..55c94ada8c6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/AppActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/AppActionIT.java @@ -48,7 +48,7 @@ import static org.sonar.db.component.ComponentTesting.newDirectory; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.test.JsonAssert.assertJson; -public class AppActionTest { +public class AppActionIT { @Rule public final UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SearchActionIT.java index cfd68196a6f..33c6b7d711b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SearchActionIT.java @@ -67,7 +67,7 @@ import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_QUALIFIERS; -public class SearchActionTest { +public class SearchActionIT { @Rule public final UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SearchProjectsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SearchProjectsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SearchProjectsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SearchProjectsActionIT.java index 7a7596bac62..666b5cb8e2e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SearchProjectsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SearchProjectsActionIT.java @@ -108,7 +108,7 @@ import static org.sonarqube.ws.client.project.ProjectsWsParameters.FILTER_QUALIF import static org.sonarqube.ws.client.project.ProjectsWsParameters.FILTER_TAGS; @RunWith(DataProviderRunner.class) -public class SearchProjectsActionTest { +public class SearchProjectsActionIT { private static final String NCLOC = "ncloc"; private static final String COVERAGE = "coverage"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/ShowActionIT.java index f1630f218af..f220a69a538 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/ShowActionIT.java @@ -60,7 +60,7 @@ import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_BRA import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_COMPONENT; import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_PULL_REQUEST; -public class ShowActionTest { +public class ShowActionIT { @Rule public final UserSessionRule userSession = UserSessionRule.standalone().logIn(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SuggestionsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SuggestionsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SuggestionsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SuggestionsActionIT.java index 5dd69b3e826..af10e2a0dae 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/SuggestionsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/SuggestionsActionIT.java @@ -76,7 +76,7 @@ import static org.sonar.server.component.ws.SuggestionsAction.PARAM_RECENTLY_BRO import static org.sonar.server.component.ws.SuggestionsAction.SHORT_INPUT_WARNING; import static org.sonar.test.JsonAssert.assertJson; -public class SuggestionsActionTest { +public class SuggestionsActionIT { private static final String[] SUGGESTION_QUALIFIERS = Stream.of(SuggestionCategory.values()) .map(SuggestionCategory::getQualifier) .collect(MoreCollectors.toList()).toArray(new String[0]); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/TreeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/TreeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/TreeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/TreeActionIT.java index 0518969fcd1..9db223da893 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/TreeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ws/TreeActionIT.java @@ -74,7 +74,7 @@ import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_PUL import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_QUALIFIERS; import static org.sonarqube.ws.client.component.ComponentsWsParameters.PARAM_STRATEGY; -public class TreeActionTest { +public class TreeActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionIT.java index e48ef59c80a..cf69fb1bc27 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionIT.java @@ -68,7 +68,7 @@ import static org.sonar.server.developers.ws.SearchEventsAction.PARAM_FROM; import static org.sonar.server.developers.ws.SearchEventsAction.PARAM_PROJECTS; import static org.sonar.test.JsonAssert.assertJson; -public class SearchEventsActionTest { +public class SearchEventsActionIT { private static final RuleType[] RULE_TYPES_EXCEPT_HOTSPOT = Stream.of(RuleType.values()) .filter(r -> r != RuleType.SECURITY_HOTSPOT) diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesIT.java index f5acbab811a..e316065e971 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionNewIssuesIT.java @@ -60,7 +60,7 @@ import static org.sonar.db.component.BranchType.BRANCH; import static org.sonar.server.developers.ws.SearchEventsAction.PARAM_FROM; import static org.sonar.server.developers.ws.SearchEventsAction.PARAM_PROJECTS; -public class SearchEventsActionNewIssuesTest { +public class SearchEventsActionNewIssuesIT { private static final RuleType[] RULE_TYPES_EXCEPT_HOTSPOT = Stream.of(RuleType.values()) .filter(r -> r != RuleType.SECURITY_HOTSPOT) diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateIT.java index 28c9c56176a..78603ab0ccd 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/developers/ws/SearchEventsActionQualityGateIT.java @@ -54,7 +54,7 @@ import static org.sonar.db.event.EventTesting.newEvent; import static org.sonar.server.developers.ws.SearchEventsAction.PARAM_FROM; import static org.sonar.server.developers.ws.SearchEventsAction.PARAM_PROJECTS; -public class SearchEventsActionQualityGateTest { +public class SearchEventsActionQualityGateIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/DuplicationsParserTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/DuplicationsParserIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/DuplicationsParserTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/DuplicationsParserIT.java index ea400207d7f..8469a0a0354 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/DuplicationsParserTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/DuplicationsParserIT.java @@ -35,7 +35,7 @@ import static org.apache.commons.lang.RandomStringUtils.randomAlphanumeric; import static org.assertj.core.api.Assertions.assertThat; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class DuplicationsParserTest { +public class DuplicationsParserIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/ShowActionIT.java index 9f1db042735..b3dd5b79eb3 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/ShowActionIT.java @@ -48,7 +48,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.component.SnapshotTesting.newAnalysis; import static org.sonar.test.JsonAssert.assertJson; -public class ShowActionTest { +public class ShowActionIT { private static MetricDto dataMetric = MetricToDto.INSTANCE.apply(CoreMetrics.DUPLICATIONS_DATA); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/ShowResponseBuilderTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/ShowResponseBuilderIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/ShowResponseBuilderTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/ShowResponseBuilderIT.java index 59ae4de4511..8308c93fda3 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/duplication/ws/ShowResponseBuilderTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/duplication/ws/ShowResponseBuilderIT.java @@ -37,7 +37,7 @@ import static org.sonar.db.component.BranchType.PULL_REQUEST; import static org.sonar.db.component.ComponentTesting.newDirectory; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class ShowResponseBuilderTest { +public class ShowResponseBuilderIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/AddActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/AddActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/AddActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/AddActionIT.java index 0935788eb28..e9ff78dba00 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/AddActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/AddActionIT.java @@ -53,7 +53,7 @@ import static org.sonar.db.component.ComponentTesting.newDirectory; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.server.favorite.ws.FavoritesWsParameters.PARAM_COMPONENT; -public class AddActionTest { +public class AddActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/RemoveActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/RemoveActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/RemoveActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/RemoveActionIT.java index 0824370597b..340fbad102d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/RemoveActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/RemoveActionIT.java @@ -47,7 +47,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.server.favorite.ws.FavoritesWsParameters.PARAM_COMPONENT; -public class RemoveActionTest { +public class RemoveActionIT { private static final String PROJECT_KEY = "project-key"; private static final String PROJECT_UUID = "project-uuid"; private UserDto user; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/SearchActionIT.java index 93115ab08ea..a510185d1fa 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/favorite/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/favorite/ws/SearchActionIT.java @@ -52,7 +52,7 @@ import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.client.WsRequest.Method.POST; -public class SearchActionTest { +public class SearchActionIT { private String userUuid; private String userLogin; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/AddCommentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/AddCommentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/AddCommentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/AddCommentActionIT.java index 23b1c5215c8..fbd93060c44 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/AddCommentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/AddCommentActionIT.java @@ -68,7 +68,7 @@ import static org.sonar.core.issue.IssueChangeContext.issueChangeContextByUserBu import static org.sonar.db.component.ComponentTesting.newFileDto; @RunWith(DataProviderRunner.class) -public class AddCommentActionTest { +public class AddCommentActionIT { private static final Random RANDOM = new Random(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/AssignActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/AssignActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/AssignActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/AssignActionIT.java index 115518ae53c..25df798fd08 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/AssignActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/AssignActionIT.java @@ -81,7 +81,7 @@ import static org.sonar.api.rules.RuleType.SECURITY_HOTSPOT; import static org.sonar.db.component.ComponentTesting.newFileDto; @RunWith(DataProviderRunner.class) -public class AssignActionTest { +public class AssignActionIT { @Rule public DbTester dbTester = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/ChangeStatusActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/ChangeStatusActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/ChangeStatusActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/ChangeStatusActionIT.java index 91906485590..75ed4a3b7e2 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/ChangeStatusActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/ChangeStatusActionIT.java @@ -79,7 +79,7 @@ import static org.sonar.core.issue.IssueChangeContext.issueChangeContextByUserBu import static org.sonar.db.component.ComponentTesting.newFileDto; @RunWith(DataProviderRunner.class) -public class ChangeStatusActionTest { +public class ChangeStatusActionIT { private static final Random RANDOM = new Random(); private static final String NO_COMMENT = null; private static final List RESOLUTION_TYPES = List.of(RESOLUTION_FIXED, RESOLUTION_SAFE, RESOLUTION_ACKNOWLEDGED); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/DeleteCommentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/DeleteCommentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/DeleteCommentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/DeleteCommentActionIT.java index 7043ad7ec1f..4d9b1b37607 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/DeleteCommentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/DeleteCommentActionIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; -public class DeleteCommentActionTest { +public class DeleteCommentActionIT { @Rule public DbTester dbTester = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/EditCommentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/EditCommentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/EditCommentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/EditCommentActionIT.java index f577726fa42..ba825044632 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/EditCommentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/EditCommentActionIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; -public class EditCommentActionTest { +public class EditCommentActionIT { @Rule public DbTester dbTester = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/SearchActionIT.java index ceb5c9be6b4..271ff6a938c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/SearchActionIT.java @@ -115,7 +115,7 @@ import static org.sonar.db.newcodeperiod.NewCodePeriodType.REFERENCE_BRANCH; @SuppressWarnings("ALL") @RunWith(DataProviderRunner.class) -public class SearchActionTest { +public class SearchActionIT { private static final String PARAM_PROJECT_KEY = "projectKey"; private static final String PARAM_STATUS = "status"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/ShowActionIT.java index d562fbb8ec5..3d42866a102 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/hotspot/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/hotspot/ws/ShowActionIT.java @@ -108,7 +108,7 @@ import static org.sonar.db.rule.RuleDto.Format.HTML; import static org.sonar.db.rule.RuleDto.Format.MARKDOWN; @RunWith(DataProviderRunner.class) -public class ShowActionTest { +public class ShowActionIT { private static final Random RANDOM = new Random(); public static final DbIssues.MessageFormatting MESSAGE_FORMATTING = DbIssues.MessageFormatting.newBuilder().setStart(0).setEnd(4).setType(CODE).build(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/AssignActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/AssignActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/AssignActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/AssignActionIT.java index c00fc95bfad..f8facc2266c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/AssignActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/AssignActionIT.java @@ -43,7 +43,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.core.issue.IssueChangeContext.issueChangeContextByUserBuilder; import static org.sonar.server.tester.UserSessionRule.standalone; -public class AssignActionTest { +public class AssignActionIT { private static final String ISSUE_CURRENT_ASSIGNEE_UUID = "current assignee uuid"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/IssueChangeWSSupportTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/IssueChangeWSSupportIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/IssueChangeWSSupportTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/IssueChangeWSSupportIT.java index 36d4b509024..2f074b1d386 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/IssueChangeWSSupportTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/IssueChangeWSSupportIT.java @@ -65,7 +65,7 @@ import static org.sonar.db.issue.IssueChangeDto.TYPE_COMMENT; import static org.sonar.db.issue.IssueChangeDto.TYPE_FIELD_CHANGE; @RunWith(DataProviderRunner.class) -public class IssueChangeWSSupportTest { +public class IssueChangeWSSupportIT { private static final UuidFactoryFast UUID_FACTORY = UuidFactoryFast.getInstance(); private static final Random RANDOM = new Random(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/IssueFinderTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/IssueFinderIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/IssueFinderTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/IssueFinderIT.java index 74e475bb805..714a772ad4f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/IssueFinderTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/IssueFinderIT.java @@ -41,7 +41,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.issue.IssueTesting.newIssue; import static org.sonar.db.rule.RuleTesting.newRule; -public class IssueFinderTest { +public class IssueFinderIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/SetSeverityActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/SetSeverityActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/SetSeverityActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/SetSeverityActionIT.java index b5b020c8597..dd402b053d3 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/SetSeverityActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/SetSeverityActionIT.java @@ -47,7 +47,7 @@ import static org.sonar.core.issue.IssueChangeContext.issueChangeContextByUserBu import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.rule.RuleTesting.newRule; -public class SetSeverityActionTest { +public class SetSeverityActionIT { private static final Date NOW = new Date(10_000_000_000L); private static final String USER_LOGIN = "john"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/SetTypeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/SetTypeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/SetTypeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/SetTypeActionIT.java index bcdb79f67e4..7a0b09b617e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/SetTypeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/SetTypeActionIT.java @@ -45,7 +45,7 @@ import static org.sonar.core.issue.IssueChangeContext.issueChangeContextByUserBu import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.rule.RuleTesting.newRule; -public class SetTypeActionTest { +public class SetTypeActionIT { private static final Date NOW = new Date(10_000_000_000L); private static final String USER_LOGIN = "john"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/TransitionActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/TransitionActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/TransitionActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/TransitionActionIT.java index 5b8940b8ce1..48be82bd93f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/TransitionActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/TransitionActionIT.java @@ -49,7 +49,7 @@ import static org.sonar.core.issue.IssueChangeContext.issueChangeContextByUserBu import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.rule.RuleTesting.newRule; -public class TransitionActionTest { +public class TransitionActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/TransitionServiceTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/TransitionServiceIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/TransitionServiceTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/TransitionServiceIT.java index 2fdd6c1588c..c33eaf80785 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/TransitionServiceTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/TransitionServiceIT.java @@ -44,7 +44,7 @@ import static org.sonar.api.web.UserRole.ISSUE_ADMIN; import static org.sonar.core.issue.IssueChangeContext.issueChangeContextByUserBuilder; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class TransitionServiceTest { +public class TransitionServiceIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/WebIssueStorageTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/WebIssueStorageIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/WebIssueStorageTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/WebIssueStorageIT.java index 33fbf99c591..e415307ccf8 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/WebIssueStorageTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/WebIssueStorageIT.java @@ -50,7 +50,7 @@ import static org.sonar.db.component.ComponentTesting.newDirectory; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.issue.IssueTesting.newIssue; -public class WebIssueStorageTest { +public class WebIssueStorageIT { private final System2 system2 = new TestSystem2().setNow(2_000_000_000L); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AddCommentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AddCommentActionIT.java index 0259ae03ae1..e1db9707d4e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AddCommentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AddCommentActionIT.java @@ -69,7 +69,7 @@ import static org.sonar.api.web.UserRole.CODEVIEWER; import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.issue.IssueChangeDto.TYPE_COMMENT; -public class AddCommentActionTest { +public class AddCommentActionIT { private static final long NOW = 10_000_000_000L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AssignActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AssignActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AssignActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AssignActionIT.java index 1bbc3047e91..eb0ce958b7d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AssignActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AssignActionIT.java @@ -60,7 +60,7 @@ import static org.sonar.api.web.UserRole.CODEVIEWER; import static org.sonar.api.web.UserRole.USER; import static org.sonar.server.tester.UserSessionRule.standalone; -public class AssignActionTest { +public class AssignActionIT { private static final String PREVIOUS_ASSIGNEE = "previous"; private static final String CURRENT_USER_LOGIN = "john"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AuthorsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AuthorsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AuthorsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AuthorsActionIT.java index 3114f805f2c..cffa5d4690b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/AuthorsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/AuthorsActionIT.java @@ -60,7 +60,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.component.ComponentTesting.newProjectCopy; import static org.sonar.test.JsonAssert.assertJson; -public class AuthorsActionTest { +public class AuthorsActionIT { @Rule public DbTester db = DbTester.create(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/BulkChangeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/BulkChangeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/BulkChangeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/BulkChangeActionIT.java index d47cd7adbaa..2a0f523a07d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/BulkChangeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/BulkChangeActionIT.java @@ -102,7 +102,7 @@ import static org.sonar.server.issue.notification.IssuesChangesNotificationBuild import static org.sonar.server.issue.notification.IssuesChangesNotificationBuilderTesting.ruleOf; import static org.sonar.server.issue.notification.IssuesChangesNotificationBuilderTesting.userOf; -public class BulkChangeActionTest { +public class BulkChangeActionIT { private static long NOW = 2_000_000_000_000L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/ChangelogActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/ChangelogActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/ChangelogActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/ChangelogActionIT.java index 66232e7b436..0841c6ef9d8 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/ChangelogActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/ChangelogActionIT.java @@ -56,7 +56,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.user.UserTesting.newUserDto; import static org.sonar.test.JsonAssert.assertJson; -public class ChangelogActionTest { +public class ChangelogActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/DeleteCommentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/DeleteCommentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/DeleteCommentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/DeleteCommentActionIT.java index b3784d18089..dad64408299 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/DeleteCommentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/DeleteCommentActionIT.java @@ -51,7 +51,7 @@ import static org.mockito.Mockito.verify; import static org.sonar.api.web.UserRole.CODEVIEWER; import static org.sonar.api.web.UserRole.USER; -public class DeleteCommentActionTest { +public class DeleteCommentActionIT { @Rule public DbTester dbTester = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/DoTransitionActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/DoTransitionActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/DoTransitionActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/DoTransitionActionIT.java index 5b4b83511b5..bdff39fe5db 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/DoTransitionActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/DoTransitionActionIT.java @@ -76,7 +76,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.issue.IssueTesting.newIssue; -public class DoTransitionActionTest { +public class DoTransitionActionIT { private static final long NOW = 999_776_888L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/EditCommentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/EditCommentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/EditCommentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/EditCommentActionIT.java index 68cca9893f2..054be66b573 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/EditCommentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/EditCommentActionIT.java @@ -54,7 +54,7 @@ import static org.mockito.Mockito.when; import static org.sonar.api.web.UserRole.CODEVIEWER; import static org.sonar.api.web.UserRole.USER; -public class EditCommentActionTest { +public class EditCommentActionIT { private static final long NOW = 10_000_000_000L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/IssueUpdaterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/IssueUpdaterIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/IssueUpdaterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/IssueUpdaterIT.java index d7cde0e5baf..fa8bd1182c7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/IssueUpdaterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/IssueUpdaterIT.java @@ -65,7 +65,7 @@ import static org.sonar.server.issue.notification.IssuesChangesNotificationBuild import static org.sonar.server.issue.notification.IssuesChangesNotificationBuilderTesting.ruleOf; import static org.sonar.server.issue.notification.IssuesChangesNotificationBuilderTesting.userOf; -public class IssueUpdaterTest { +public class IssueUpdaterIT { private System2 system2 = mock(System2.class); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/PullActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/PullActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/PullActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/PullActionIT.java index 23041c0047e..6327ad8ee84 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/PullActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/PullActionIT.java @@ -60,7 +60,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class PullActionTest { +public class PullActionIT { private static final long NOW = 10_000_000_000L; private static final long PAST = 1_000_000_000L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/PullTaintActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/PullTaintActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/PullTaintActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/PullTaintActionIT.java index 6b848b8bb76..5521f18f872 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/PullTaintActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/PullTaintActionIT.java @@ -65,7 +65,7 @@ import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.protobuf.DbIssues.MessageFormattingType.CODE; -public class PullTaintActionTest { +public class PullTaintActionIT { private static final long NOW = 10_000_000_000L; private static final long PAST = 1_000_000_000L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/ReindexActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/ReindexActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/ReindexActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/ReindexActionIT.java index dfa24629fd1..6f4ed0072c9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/ReindexActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/ReindexActionIT.java @@ -42,7 +42,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; -public class ReindexActionTest { +public class ReindexActionIT { @Rule public EsTester es = EsTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionComponentsTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionComponentsIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionComponentsTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionComponentsIT.java index ff1890d72db..f54f69655ec 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionComponentsTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionComponentsIT.java @@ -80,7 +80,7 @@ import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_IN_NEW_CODE import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_PROJECTS; import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_PULL_REQUEST; -public class SearchActionComponentsTest { +public class SearchActionComponentsIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionFacetsTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionFacetsIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionFacetsTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionFacetsIT.java index 2993aca6bf5..63f671a35e7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionFacetsTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionFacetsIT.java @@ -66,7 +66,7 @@ import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_COMPONENT_K import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_FILES; import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_PROJECTS; -public class SearchActionFacetsTest { +public class SearchActionFacetsIT { private static final String[] ISSUE_STATUSES = Issue.STATUSES.stream().filter(s -> !Issue.STATUS_TO_REVIEW.equals(s)).filter(s -> !Issue.STATUS_REVIEWED.equals(s)) .toArray(String[]::new); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionIT.java index be6fa5684b6..527981fe0c7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SearchActionIT.java @@ -124,7 +124,7 @@ import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_PULL_REQUES import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_RULES; import static org.sonarqube.ws.client.issue.IssuesWsParameters.PARAM_STATUSES; -public class SearchActionTest { +public class SearchActionIT { public static final DbIssues.MessageFormatting MESSAGE_FORMATTING = DbIssues.MessageFormatting.newBuilder() .setStart(0).setEnd(11).setType(CODE).build(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetSeverityActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetSeverityActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetSeverityActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetSeverityActionIT.java index a65bc6c3f2d..da093be6a6d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetSeverityActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetSeverityActionIT.java @@ -74,7 +74,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.issue.IssueTesting.newIssue; -public class SetSeverityActionTest { +public class SetSeverityActionIT { @Rule public DbTester dbTester = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetTagsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetTagsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetTagsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetTagsActionIT.java index e3ae1f82005..91fe304f370 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetTagsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetTagsActionIT.java @@ -72,7 +72,7 @@ import static org.sonar.core.util.stream.MoreCollectors.join; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.component.ComponentTesting.newPublicProjectDto; -public class SetTagsActionTest { +public class SetTagsActionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetTypeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetTypeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetTypeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetTypeActionIT.java index 8d8074e0b07..dd71ecfad5d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/SetTypeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/SetTypeActionIT.java @@ -85,7 +85,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.issue.IssueTesting.newIssue; @RunWith(DataProviderRunner.class) -public class SetTypeActionTest { +public class SetTypeActionIT { @Rule public DbTester dbTester = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/TagsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/TagsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/TagsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/TagsActionIT.java index d22a4e58fc0..464fe9bbc97 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/TagsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/TagsActionIT.java @@ -60,7 +60,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.component.ComponentTesting.newProjectCopy; import static org.sonar.test.JsonAssert.assertJson; -public class TagsActionTest { +public class TagsActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterIT.java index 994e175c3ca..d080694a2ea 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/issue/ws/pull/PullTaintActionResponseWriterIT.java @@ -40,7 +40,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class PullTaintActionResponseWriterTest { +public class PullTaintActionResponseWriterIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/ComponentIndexFactoryTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/ComponentIndexFactoryIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/ComponentIndexFactoryTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/ComponentIndexFactoryIT.java index 2a4e9787903..454f30625e4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/ComponentIndexFactoryTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/ComponentIndexFactoryIT.java @@ -26,7 +26,7 @@ import org.sonar.db.component.ComponentDto; import static org.assertj.core.api.Assertions.assertThat; -public class ComponentIndexFactoryTest { +public class ComponentIndexFactoryIT { public DbTester db = DbTester.create(); private final ComponentIndexFactory factory = new ComponentIndexFactory(db.getDbClient()); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/ComponentIndexImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/ComponentIndexImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/ComponentIndexImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/ComponentIndexImplIT.java index 41d9ba256ea..84a15fc3d4e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/ComponentIndexImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/ComponentIndexImplIT.java @@ -29,7 +29,7 @@ import org.sonar.db.component.ComponentTesting; import static org.assertj.core.api.Assertions.assertThat; -public class ComponentIndexImplTest { +public class ComponentIndexImplIT { @Rule public DbTester db = DbTester.create(); private final ComponentIndexImpl componentIndex = new ComponentIndexImpl(db.getDbClient()); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveMeasureComputerImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveMeasureComputerImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveMeasureComputerImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveMeasureComputerImplIT.java index b015d4bb428..4a87018df46 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveMeasureComputerImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveMeasureComputerImplIT.java @@ -56,7 +56,7 @@ import static org.mockito.Mockito.when; import static org.sonar.api.measures.CoreMetrics.ALERT_STATUS_KEY; @RunWith(DataProviderRunner.class) -public class LiveMeasureComputerImplTest { +public class LiveMeasureComputerImplIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplIT.java index a4f5675780d..7d1e1334009 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveMeasureTreeUpdaterImplIT.java @@ -54,7 +54,7 @@ import static org.sonar.api.measures.CoreMetrics.SECURITY_HOTSPOTS_REVIEWED_KEY; import static org.sonar.api.measures.CoreMetrics.SECURITY_HOTSPOTS_REVIEWED_STATUS_KEY; import static org.sonar.api.measures.CoreMetrics.SECURITY_HOTSPOTS_TO_REVIEW_STATUS_KEY; -public class LiveMeasureTreeUpdaterImplTest { +public class LiveMeasureTreeUpdaterImplIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveQualityGateComputerImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveQualityGateComputerImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveQualityGateComputerImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveQualityGateComputerImplIT.java index 1c4ca9cb5d6..708174c43ac 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/LiveQualityGateComputerImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/live/LiveQualityGateComputerImplIT.java @@ -55,7 +55,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.groups.Tuple.tuple; import static org.sonar.db.metric.MetricTesting.newMetricDto; -public class LiveQualityGateComputerImplTest { +public class LiveQualityGateComputerImplIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/ComponentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/ComponentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/ComponentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/ComponentActionIT.java index be90595ee84..9bad8f9b3e8 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/ComponentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/ComponentActionIT.java @@ -62,7 +62,7 @@ import static org.sonar.server.component.ws.MeasuresWsParameters.PARAM_METRIC_KE import static org.sonar.server.component.ws.MeasuresWsParameters.PARAM_PULL_REQUEST; import static org.sonar.test.JsonAssert.assertJson; -public class ComponentActionTest { +public class ComponentActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/ComponentTreeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/ComponentTreeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/ComponentTreeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/ComponentTreeActionIT.java index 1360f5ef2e7..21ab3a5734d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/ComponentTreeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/ComponentTreeActionIT.java @@ -96,7 +96,7 @@ import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.Measures.Component; import static org.sonarqube.ws.Measures.Measure; -public class ComponentTreeActionTest { +public class ComponentTreeActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone().logIn(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/SearchActionIT.java index 2895d76bc06..0305abd358f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/SearchActionIT.java @@ -57,7 +57,7 @@ import static org.sonar.server.component.ws.MeasuresWsParameters.PARAM_METRIC_KE import static org.sonar.server.component.ws.MeasuresWsParameters.PARAM_PROJECT_KEYS; import static org.sonar.test.JsonAssert.assertJson; -public class SearchActionTest { +public class SearchActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone().logIn(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/SearchHistoryActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/SearchHistoryActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/SearchHistoryActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/SearchHistoryActionIT.java index 3d84d460072..fa74bf8d2d4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/ws/SearchHistoryActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/measure/ws/SearchHistoryActionIT.java @@ -74,7 +74,7 @@ import static org.sonar.server.component.ws.MeasuresWsParameters.PARAM_PULL_REQU import static org.sonar.server.component.ws.MeasuresWsParameters.PARAM_TO; import static org.sonar.test.JsonAssert.assertJson; -public class SearchHistoryActionTest { +public class SearchHistoryActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/metric/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/metric/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/metric/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/metric/ws/SearchActionIT.java index 300186f3d0b..75b2bc88521 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/metric/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/metric/ws/SearchActionIT.java @@ -35,7 +35,7 @@ import org.sonar.server.ws.WsActionTester; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.tuple; -public class SearchActionTest { +public class SearchActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/monitoring/MetricsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/monitoring/MetricsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/monitoring/MetricsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/monitoring/MetricsActionIT.java index 699af65e990..950c519ef68 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/monitoring/MetricsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/monitoring/MetricsActionIT.java @@ -38,7 +38,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.server.tester.UserSessionRule.standalone; -public class MetricsActionTest { +public class MetricsActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/ListActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/ListActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/ListActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/ListActionIT.java index 6d2a67396f5..4d1bd3263ff 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/ListActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/ListActionIT.java @@ -72,7 +72,7 @@ import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; import static org.sonar.db.component.SnapshotTesting.newAnalysis; - public class ListActionTest { + public class ListActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/SetActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/SetActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/SetActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/SetActionIT.java index 2f90afbb104..d7a7d261c35 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/SetActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/SetActionIT.java @@ -57,7 +57,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; @RunWith(DataProviderRunner.class) -public class SetActionTest { +public class SetActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/ShowActionIT.java index bcfe362eb03..ff722cb2f1a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/ShowActionIT.java @@ -45,7 +45,7 @@ import org.sonarqube.ws.NewCodePeriods.ShowWSResponse; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class ShowActionTest { +public class ShowActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/UnsetActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/UnsetActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/UnsetActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/UnsetActionIT.java index f313fc56134..e579e2d0d99 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/newcodeperiod/ws/UnsetActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/ws/UnsetActionIT.java @@ -49,7 +49,7 @@ import static org.assertj.core.api.Assertions.entry; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class UnsetActionTest { +public class UnsetActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/AddActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/AddActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/AddActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/AddActionIT.java index 85ce724dfcb..dd2038d79c6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/AddActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/AddActionIT.java @@ -54,7 +54,7 @@ import static org.sonar.server.notification.ws.NotificationsWsParameters.PARAM_L import static org.sonar.server.notification.ws.NotificationsWsParameters.PARAM_PROJECT; import static org.sonar.server.notification.ws.NotificationsWsParameters.PARAM_TYPE; -public class AddActionTest { +public class AddActionIT { private static final String NOTIF_MY_NEW_ISSUES = "Dispatcher1"; private static final String NOTIF_NEW_ISSUES = "Dispatcher2"; private static final String NOTIF_NEW_QUALITY_GATE_STATUS = "Dispatcher3"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/ListActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/ListActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/ListActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/ListActionIT.java index 053dd78e639..a8a2817450c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/ListActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/ListActionIT.java @@ -48,7 +48,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonar.server.ws.KeyExamples.KEY_PROJECT_EXAMPLE_001; import static org.sonar.test.JsonAssert.assertJson; -public class ListActionTest { +public class ListActionIT { private static final String NOTIF_MY_NEW_ISSUES = "MyNewIssues"; private static final String NOTIF_NEW_ISSUES = "NewIssues"; private static final String NOTIF_NEW_QUALITY_GATE_STATUS = "NewQualityGateStatus"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/RemoveActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/RemoveActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/RemoveActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/RemoveActionIT.java index d47f86f5a26..35fcc19fb05 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/notification/ws/RemoveActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/notification/ws/RemoveActionIT.java @@ -54,7 +54,7 @@ import static org.sonar.server.notification.ws.NotificationsWsParameters.PARAM_L import static org.sonar.server.notification.ws.NotificationsWsParameters.PARAM_PROJECT; import static org.sonar.server.notification.ws.NotificationsWsParameters.PARAM_TYPE; -public class RemoveActionTest { +public class RemoveActionIT { private static final String NOTIF_MY_NEW_ISSUES = "Dispatcher1"; private static final String NOTIF_NEW_ISSUES = "Dispatcher2"; private static final String NOTIF_NEW_QUALITY_GATE_STATUS = "Dispatcher3"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/DefaultTemplatesResolverImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/DefaultTemplatesResolverImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/DefaultTemplatesResolverImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/DefaultTemplatesResolverImplIT.java index c18c5b972d0..bf79fd10721 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/DefaultTemplatesResolverImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/DefaultTemplatesResolverImplIT.java @@ -32,7 +32,7 @@ import static org.sonar.api.resources.Qualifiers.APP; import static org.sonar.api.resources.Qualifiers.PROJECT; import static org.sonar.api.resources.Qualifiers.VIEW; -public class DefaultTemplatesResolverImplTest { +public class DefaultTemplatesResolverImplIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/GroupPermissionChangerTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/GroupPermissionChangerIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/GroupPermissionChangerTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/GroupPermissionChangerIT.java index 5e03f974540..cb6d3b1551d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/GroupPermissionChangerTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/GroupPermissionChangerIT.java @@ -46,7 +46,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_GATES; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; import static org.sonar.db.permission.GlobalPermission.PROVISION_PROJECTS; -public class GroupPermissionChangerTest { +public class GroupPermissionChangerIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/PermissionTemplateServiceTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/PermissionTemplateServiceIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/PermissionTemplateServiceTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/PermissionTemplateServiceIT.java index d1f212a264d..c280ab8d8a6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/PermissionTemplateServiceTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/PermissionTemplateServiceIT.java @@ -48,7 +48,7 @@ import static org.sonar.api.resources.Qualifiers.APP; import static org.sonar.api.resources.Qualifiers.PROJECT; import static org.sonar.api.resources.Qualifiers.VIEW; -public class PermissionTemplateServiceTest { +public class PermissionTemplateServiceIT { @Rule public DbTester dbTester = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/UserPermissionChangerTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/UserPermissionChangerIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/UserPermissionChangerTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/UserPermissionChangerIT.java index cfe6e6aeb11..dd46c3bc6da 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/UserPermissionChangerTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/UserPermissionChangerIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.server.permission.PermissionChange.Operation.ADD; import static org.sonar.server.permission.PermissionChange.Operation.REMOVE; -public class UserPermissionChangerTest { +public class UserPermissionChangerIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/AddGroupActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/AddGroupActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/AddGroupActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/AddGroupActionIT.java index b5919a27050..717bb05622d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/AddGroupActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/AddGroupActionIT.java @@ -51,7 +51,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY; -public class AddGroupActionTest extends BasePermissionWsTest { +public class AddGroupActionIT extends BasePermissionWsIT { private static final String A_PROJECT_UUID = "project-uuid"; private static final String A_PROJECT_KEY = "project-key"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/AddUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/AddUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/AddUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/AddUserActionIT.java index d5e6fceb02b..14caaf44575 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/AddUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/AddUserActionIT.java @@ -50,7 +50,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_USER_LOGIN; -public class AddUserActionTest extends BasePermissionWsTest { +public class AddUserActionIT extends BasePermissionWsIT { private UserDto user; private final ResourceTypes resourceTypes = new ResourceTypesRule().setRootQualifiers(Qualifiers.PROJECT); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/BasePermissionWsTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/BasePermissionWsIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/BasePermissionWsTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/BasePermissionWsIT.java index 74dd6b1aa55..5afb17e3ad5 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/BasePermissionWsTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/BasePermissionWsIT.java @@ -47,7 +47,7 @@ import static org.mockito.Mockito.mock; import static org.sonar.db.permission.GlobalPermission.ADMINISTER; import static org.sonar.db.permission.template.PermissionTemplateTesting.newPermissionTemplateDto; -public abstract class BasePermissionWsTest { +public abstract class BasePermissionWsIT { @Rule public DbTester db = DbTester.create(new AlwaysIncreasingSystem2()); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/GroupsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/GroupsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/GroupsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/GroupsActionIT.java index ac7f7060e2d..3ec82983cad 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/GroupsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/GroupsActionIT.java @@ -52,7 +52,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY; -public class GroupsActionTest extends BasePermissionWsTest { +public class GroupsActionIT extends BasePermissionWsIT { private GroupDto group1; private GroupDto group2; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/RemoveGroupActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/RemoveGroupActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/RemoveGroupActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/RemoveGroupActionIT.java index 016ed4cb0d1..c8c4419e439 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/RemoveGroupActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/RemoveGroupActionIT.java @@ -50,7 +50,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY; -public class RemoveGroupActionTest extends BasePermissionWsTest { +public class RemoveGroupActionIT extends BasePermissionWsIT { private GroupDto aGroup; private ResourceTypes resourceTypes = new ResourceTypesRule().setRootQualifiers(Qualifiers.PROJECT); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/RemoveUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/RemoveUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/RemoveUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/RemoveUserActionIT.java index e50b5974bfb..8d15fbeabf9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/RemoveUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/RemoveUserActionIT.java @@ -47,7 +47,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_USER_LOGIN; -public class RemoveUserActionTest extends BasePermissionWsTest { +public class RemoveUserActionIT extends BasePermissionWsIT { private static final String A_PROJECT_UUID = "project-uuid"; private static final String A_PROJECT_KEY = "project-key"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/UsersActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/UsersActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/UsersActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/UsersActionIT.java index 8a3107fb4fa..4c48136cc2a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/UsersActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/UsersActionIT.java @@ -52,7 +52,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_USER_LOGIN; -public class UsersActionTest extends BasePermissionWsTest { +public class UsersActionIT extends BasePermissionWsIT { private ResourceTypes resourceTypes = new ResourceTypesRule().setRootQualifiers(Qualifiers.PROJECT); private PermissionService permissionService = new PermissionServiceImpl(resourceTypes); @@ -87,7 +87,7 @@ public class UsersActionTest extends BasePermissionWsTest { loginAsAdmin(); String result = newRequest().setParam("permission", "scan").execute().getInput(); - assertJson(result).withStrictArrayOrder().isSimilarTo(getClass().getResource("UsersActionTest/users.json")); + assertJson(result).withStrictArrayOrder().isSimilarTo(getClass().getResource("UsersActionIT/users.json")); } @Test diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionIT.java index fd96d1bdb8e..7dd9b898a3d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddGroupToTemplateActionIT.java @@ -37,7 +37,7 @@ import org.sonar.server.exceptions.ForbiddenException; import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import org.sonar.server.ws.TestRequest; @@ -54,7 +54,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class AddGroupToTemplateActionTest extends BasePermissionWsTest { +public class AddGroupToTemplateActionIT extends BasePermissionWsIT { private PermissionTemplateDto template; private GroupDto group; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionIT.java index f07f40bdeba..6121cccf9c9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddProjectCreatorToTemplateActionIT.java @@ -35,7 +35,7 @@ import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; import org.sonar.server.permission.RequestValidator; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import static org.assertj.core.api.Assertions.assertThat; @@ -47,7 +47,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class AddProjectCreatorToTemplateActionTest extends BasePermissionWsTest { +public class AddProjectCreatorToTemplateActionIT extends BasePermissionWsIT { private System2 system = spy(System2.INSTANCE); private PermissionTemplateDto template; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionIT.java index 12ec02068ea..dfe3e0de9cc 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/AddUserToTemplateActionIT.java @@ -34,7 +34,7 @@ import org.sonar.server.exceptions.ForbiddenException; import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import org.sonar.server.ws.TestRequest; @@ -49,7 +49,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_T import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_USER_LOGIN; -public class AddUserToTemplateActionTest extends BasePermissionWsTest { +public class AddUserToTemplateActionIT extends BasePermissionWsIT { private UserDto user; private PermissionTemplateDto permissionTemplate; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/ApplyTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/ApplyTemplateActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/ApplyTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/ApplyTemplateActionIT.java index 334d720be23..7c9770ac0f6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/ApplyTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/ApplyTemplateActionIT.java @@ -40,7 +40,7 @@ import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.permission.DefaultTemplatesResolver; import org.sonar.server.permission.DefaultTemplatesResolverImpl; import org.sonar.server.permission.PermissionTemplateService; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.ws.TestRequest; import static org.assertj.core.api.Assertions.assertThat; @@ -54,7 +54,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class ApplyTemplateActionTest extends BasePermissionWsTest { +public class ApplyTemplateActionIT extends BasePermissionWsIT { @Rule public DbTester dbTester = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionIT.java index 4f64f39c619..d481e77d521 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionIT.java @@ -43,7 +43,7 @@ import org.sonar.server.l18n.I18nRule; import org.sonar.server.permission.DefaultTemplatesResolver; import org.sonar.server.permission.DefaultTemplatesResolverImpl; import org.sonar.server.permission.PermissionTemplateService; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; @@ -62,7 +62,7 @@ import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_PROJECT import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_QUALIFIERS; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_VISIBILITY; -public class BulkApplyTemplateActionTest extends BasePermissionWsTest { +public class BulkApplyTemplateActionIT extends BasePermissionWsIT { private UserDto user1; private UserDto user2; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/CreateTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/CreateTemplateActionIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/CreateTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/CreateTemplateActionIT.java index 341c037037b..0f2f82dd02a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/CreateTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/CreateTemplateActionIT.java @@ -26,7 +26,7 @@ import org.sonar.api.utils.System2; import org.sonar.db.permission.template.PermissionTemplateDto; import org.sonar.server.exceptions.BadRequestException; import org.sonar.server.exceptions.ForbiddenException; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.ws.TestRequest; import org.sonar.server.ws.TestResponse; @@ -38,7 +38,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_D import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_NAME; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY_PATTERN; -public class CreateTemplateActionTest extends BasePermissionWsTest { +public class CreateTemplateActionIT extends BasePermissionWsIT { private static final long NOW = 1_440_512_328_743L; private final System2 system = new TestSystem2().setNow(NOW); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/DeleteTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/DeleteTemplateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/DeleteTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/DeleteTemplateActionIT.java index 8b1c1059d72..3fb170edc0a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/DeleteTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/DeleteTemplateActionIT.java @@ -59,7 +59,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class DeleteTemplateActionTest { +public class DeleteTemplateActionIT { @Rule public DbTester db = DbTester.create(new AlwaysIncreasingSystem2()); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionIT.java index ea0ecbb5429..6b09a90ffb1 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveGroupFromTemplateActionIT.java @@ -37,7 +37,7 @@ import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.exceptions.UnauthorizedException; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import org.sonar.server.ws.TestRequest; @@ -53,7 +53,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class RemoveGroupFromTemplateActionTest extends BasePermissionWsTest { +public class RemoveGroupFromTemplateActionIT extends BasePermissionWsIT { private static final String PERMISSION = CODEVIEWER; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionIT.java index 0bcce63a3bb..4ee6a13b378 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveProjectCreatorFromTemplateActionIT.java @@ -36,7 +36,7 @@ import org.sonar.server.exceptions.UnauthorizedException; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; import org.sonar.server.permission.RequestValidator; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import static org.assertj.core.api.Assertions.assertThat; @@ -48,7 +48,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class RemoveProjectCreatorFromTemplateActionTest extends BasePermissionWsTest { +public class RemoveProjectCreatorFromTemplateActionIT extends BasePermissionWsIT { private System2 system = mock(System2.class); private PermissionTemplateDto template; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionIT.java index 705afd993d6..8b7b351be62 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/RemoveUserFromTemplateActionIT.java @@ -36,7 +36,7 @@ import org.sonar.server.exceptions.UnauthorizedException; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; import org.sonar.server.permission.RequestValidator; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import org.sonar.server.ws.TestRequest; @@ -50,7 +50,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_T import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_USER_LOGIN; -public class RemoveUserFromTemplateActionTest extends BasePermissionWsTest { +public class RemoveUserFromTemplateActionIT extends BasePermissionWsIT { private static final String DEFAULT_PERMISSION = CODEVIEWER; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SearchTemplatesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/SearchTemplatesActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SearchTemplatesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/SearchTemplatesActionIT.java index 7f817685a22..35cb906a738 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SearchTemplatesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/SearchTemplatesActionIT.java @@ -39,7 +39,7 @@ import org.sonar.server.permission.DefaultTemplatesResolver; import org.sonar.server.permission.DefaultTemplatesResolverImpl; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.ws.TestRequest; import org.sonar.server.ws.WsActionTester; @@ -53,7 +53,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER; import static org.sonar.db.permission.template.PermissionTemplateTesting.newPermissionTemplateDto; import static org.sonar.test.JsonAssert.assertJson; -public class SearchTemplatesActionTest extends BasePermissionWsTest { +public class SearchTemplatesActionIT extends BasePermissionWsIT { private I18nRule i18n = new I18nRule(); private DbClient dbClient = db.getDbClient(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionIT.java index 355416e8913..f9334670572 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/SetDefaultTemplateActionIT.java @@ -29,7 +29,7 @@ import org.sonar.server.exceptions.ForbiddenException; import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.exceptions.UnauthorizedException; import org.sonar.server.l18n.I18nRule; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.property.InternalProperties; import org.sonar.server.ws.TestRequest; @@ -42,7 +42,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_Q import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class SetDefaultTemplateActionTest extends BasePermissionWsTest { +public class SetDefaultTemplateActionIT extends BasePermissionWsIT { private I18nRule i18n = new I18nRule(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateGroupsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/TemplateGroupsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateGroupsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/TemplateGroupsActionIT.java index e9c2471fbfe..5e913808a37 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateGroupsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/TemplateGroupsActionIT.java @@ -37,7 +37,7 @@ import org.sonar.server.exceptions.UnauthorizedException; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; import org.sonar.server.permission.RequestValidator; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import org.sonarqube.ws.Permissions.WsGroupsResponse; @@ -59,7 +59,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class TemplateGroupsActionTest extends BasePermissionWsTest { +public class TemplateGroupsActionIT extends BasePermissionWsIT { private final ResourceTypes resourceTypes = new ResourceTypesRule().setRootQualifiers(Qualifiers.PROJECT); private final PermissionService permissionService = new PermissionServiceImpl(resourceTypes); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateUsersActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/TemplateUsersActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateUsersActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/TemplateUsersActionIT.java index 15162056ac3..7125bc4fcbe 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateUsersActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/TemplateUsersActionIT.java @@ -39,7 +39,7 @@ import org.sonar.server.issue.AvatarResolverImpl; import org.sonar.server.permission.PermissionService; import org.sonar.server.permission.PermissionServiceImpl; import org.sonar.server.permission.RequestValidator; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.permission.ws.WsParameters; import org.sonar.server.ws.TestRequest; import org.sonarqube.ws.Permissions; @@ -59,7 +59,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_P import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_ID; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_TEMPLATE_NAME; -public class TemplateUsersActionTest extends BasePermissionWsTest { +public class TemplateUsersActionIT extends BasePermissionWsIT { private final ResourceTypes resourceTypes = new ResourceTypesRule().setRootQualifiers(Qualifiers.PROJECT); private final PermissionService permissionService = new PermissionServiceImpl(resourceTypes); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/UpdateTemplateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/UpdateTemplateActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/UpdateTemplateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/UpdateTemplateActionIT.java index f71645d28a6..7f6115adeb6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/UpdateTemplateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/UpdateTemplateActionIT.java @@ -29,7 +29,7 @@ import org.sonar.server.exceptions.BadRequestException; import org.sonar.server.exceptions.ForbiddenException; import org.sonar.server.exceptions.NotFoundException; import org.sonar.server.exceptions.UnauthorizedException; -import org.sonar.server.permission.ws.BasePermissionWsTest; +import org.sonar.server.permission.ws.BasePermissionWsIT; import org.sonar.server.ws.TestRequest; import static org.assertj.core.api.Assertions.assertThat; @@ -44,7 +44,7 @@ import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_I import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_NAME; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_PROJECT_KEY_PATTERN; -public class UpdateTemplateActionTest extends BasePermissionWsTest { +public class UpdateTemplateActionIT extends BasePermissionWsIT { private final System2 system = spy(System2.INSTANCE); private PermissionTemplateDto template; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/platform/ws/LogsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/platform/ws/LogsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/platform/ws/LogsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/platform/ws/LogsActionIT.java index 3e569273fb6..882cbcf353f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/platform/ws/LogsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/platform/ws/LogsActionIT.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class LogsActionTest { +public class LogsActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionIT.java index ff01fd77a57..016cbeceb6e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/platform/ws/SafeModeMonitoringMetricActionIT.java @@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.server.tester.UserSessionRule.standalone; -public class SafeModeMonitoringMetricActionTest { +public class SafeModeMonitoringMetricActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/plugins/ws/InstalledActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/plugins/ws/InstalledActionIT.java index ee6f6945db9..c14fd46f10d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/plugins/ws/InstalledActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/plugins/ws/InstalledActionIT.java @@ -66,7 +66,7 @@ import static org.mockito.Mockito.when; import static org.sonar.test.JsonAssert.assertJson; @RunWith(DataProviderRunner.class) -public class InstalledActionTest { +public class InstalledActionIT { private static final String JSON_EMPTY_PLUGIN_LIST = "{" + " \"plugins\":" + "[]" + "}"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/BulkDeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/BulkDeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/BulkDeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/BulkDeleteActionIT.java index baef3afebaf..099d3fd16ae 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/BulkDeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/BulkDeleteActionIT.java @@ -67,7 +67,7 @@ import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_ON_PROV import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_PROJECTS; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_QUALIFIERS; -public class BulkDeleteActionTest { +public class BulkDeleteActionIT { @Rule public final DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/CreateActionIT.java index 504cad29112..83043b30284 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/CreateActionIT.java @@ -67,7 +67,7 @@ import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_NAME; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_PROJECT; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_VISIBILITY; -public class CreateActionTest { +public class CreateActionIT { private static final String DEFAULT_PROJECT_KEY = "project-key"; private static final String DEFAULT_PROJECT_NAME = "project-name"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/DeleteActionIT.java index add535a3f97..964bec95ef3 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/DeleteActionIT.java @@ -57,7 +57,7 @@ import static org.sonar.db.user.UserTesting.newUserDto; import static org.sonar.server.component.TestComponentFinder.from; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_PROJECT; -public class DeleteActionTest { +public class DeleteActionIT { private final System2 system2 = System2.INSTANCE; @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/ProjectFinderTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/ProjectFinderIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/ProjectFinderTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/ProjectFinderIT.java index 3c80808ecbb..eefcfad3689 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/ProjectFinderTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/ProjectFinderIT.java @@ -33,7 +33,7 @@ import static org.assertj.core.api.Assertions.tuple; import static org.sonar.api.web.UserRole.SCAN; import static org.sonar.server.project.ws.ProjectFinder.SearchResult; -public class ProjectFinderTest { +public class ProjectFinderIT { @Rule public DbTester db = DbTester.create(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchActionIT.java index 9c6bcc8f1b7..e964c41dff7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchActionIT.java @@ -68,7 +68,7 @@ import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_ON_PROV import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_PROJECTS; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_VISIBILITY; -public class SearchActionTest { +public class SearchActionIT { private static final String PROJECT_KEY_1 = "project1"; private static final String PROJECT_KEY_2 = "project2"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchMyProjectsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchMyProjectsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchMyProjectsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchMyProjectsActionIT.java index cba2b41df55..b06a2cc0d98 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchMyProjectsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchMyProjectsActionIT.java @@ -56,7 +56,7 @@ import static org.sonar.db.metric.MetricTesting.newMetricDto; import static org.sonar.db.user.UserTesting.newUserDto; import static org.sonar.test.JsonAssert.assertJson; -public class SearchMyProjectsActionTest { +public class SearchMyProjectsActionIT { @Rule public final UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionIT.java index 232b81918b0..969a76350db 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/SearchMyScannableProjectsActionIT.java @@ -38,7 +38,7 @@ import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.Projects.SearchMyScannableProjectsResponse; import static org.sonarqube.ws.Projects.SearchMyScannableProjectsResponse.Project; -public class SearchMyScannableProjectsActionTest { +public class SearchMyScannableProjectsActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionIT.java index 4c40e23f664..cb387ad5d51 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateDefaultVisibilityActionIT.java @@ -37,7 +37,7 @@ import static org.assertj.core.api.Assertions.tuple; import static org.sonar.server.project.ws.UpdateDefaultVisibilityAction.ACTION; import static org.sonar.server.project.ws.UpdateDefaultVisibilityAction.PARAM_PROJECT_VISIBILITY; -public class UpdateDefaultVisibilityActionTest { +public class UpdateDefaultVisibilityActionIT { @Rule public final DbTester dbTester = DbTester.create(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateKeyActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateKeyActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateKeyActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateKeyActionIT.java index e76cd3675af..82d33bc640d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateKeyActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateKeyActionIT.java @@ -46,7 +46,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_FROM; import static org.sonarqube.ws.client.project.ProjectsWsParameters.PARAM_TO; -public class UpdateKeyActionTest { +public class UpdateKeyActionIT { private static final String ANOTHER_KEY = "another_key"; @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateVisibilityActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateVisibilityActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateVisibilityActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateVisibilityActionIT.java index c1f0f158443..acd3ce7a198 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/project/ws/UpdateVisibilityActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/UpdateVisibilityActionIT.java @@ -74,7 +74,7 @@ import static org.mockito.Mockito.when; import static org.sonar.api.CoreProperties.CORE_ALLOW_PERMISSION_MANAGEMENT_FOR_PROJECT_ADMINS_PROPERTY; import static org.sonar.db.component.ComponentTesting.newProjectCopy; -public class UpdateVisibilityActionTest { +public class UpdateVisibilityActionIT { private static final String PARAM_VISIBILITY = "visibility"; private static final String PARAM_PROJECT = "project"; private static final String PUBLIC = "public"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/CreateEventActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/CreateEventActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/CreateEventActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/CreateEventActionIT.java index cf3b19f528d..2a76d7c5883 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/CreateEventActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/CreateEventActionIT.java @@ -58,7 +58,7 @@ import static org.sonar.server.projectanalysis.ws.ProjectAnalysesWsParameters.PA import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.client.WsRequest.Method.POST; -public class CreateEventActionTest { +public class CreateEventActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/DeleteActionIT.java index 661fc9c8cdf..4b4c1ecc469 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/DeleteActionIT.java @@ -45,7 +45,7 @@ import static org.sonar.db.component.SnapshotDto.STATUS_UNPROCESSED; import static org.sonar.db.component.SnapshotTesting.newAnalysis; import static org.sonar.server.projectanalysis.ws.ProjectAnalysesWsParameters.PARAM_ANALYSIS; -public class DeleteActionTest { +public class DeleteActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/DeleteEventActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/DeleteEventActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/DeleteEventActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/DeleteEventActionIT.java index 7391f068e33..02caddcda7b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/DeleteEventActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/DeleteEventActionIT.java @@ -47,7 +47,7 @@ import static org.sonar.db.event.EventTesting.newEvent; import static org.sonar.server.projectanalysis.ws.EventCategory.VERSION; import static org.sonar.server.projectanalysis.ws.ProjectAnalysesWsParameters.PARAM_EVENT; -public class DeleteEventActionTest { +public class DeleteEventActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/SearchActionIT.java index 46689c3d9eb..ef3cc3ff648 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/SearchActionIT.java @@ -95,7 +95,7 @@ import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.client.WsRequest.Method.POST; @RunWith(DataProviderRunner.class) -public class SearchActionTest { +public class SearchActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/UpdateEventActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/UpdateEventActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/UpdateEventActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/UpdateEventActionIT.java index 8fbaa8bc35b..e894dff5f63 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectanalysis/ws/UpdateEventActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectanalysis/ws/UpdateEventActionIT.java @@ -53,7 +53,7 @@ import static org.sonar.server.projectanalysis.ws.ProjectAnalysesWsParameters.PA import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.client.WsRequest.Method.POST; -public class UpdateEventActionTest { +public class UpdateEventActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectdump/ws/ExportActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectdump/ws/ExportActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectdump/ws/ExportActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectdump/ws/ExportActionIT.java index 417678a83ec..1b3aee8eed6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectdump/ws/ExportActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectdump/ws/ExportActionIT.java @@ -45,7 +45,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.test.JsonAssert.assertJson; -public class ExportActionTest { +public class ExportActionIT { private static final String TASK_ID = "THGTpxcB-iU5OvuD2ABC"; private static final String PROJECT_ID = "ABCTpxcB-iU5Ovuds4rf"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectdump/ws/StatusActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectdump/ws/StatusActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectdump/ws/StatusActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectdump/ws/StatusActionIT.java index a2a239f2f95..9d51123f3a9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectdump/ws/StatusActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectdump/ws/StatusActionIT.java @@ -56,7 +56,7 @@ import static org.mockito.Mockito.when; import static org.sonar.api.resources.Qualifiers.PROJECT; import static org.sonar.test.JsonAssert.assertJson; -public class StatusActionTest { +public class StatusActionIT { private static final String SOME_UUID = "some uuid"; private static final String ID_PARAM = "id"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/CreateActionIT.java index 6c5fd36887d..38528bbabb4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/CreateActionIT.java @@ -48,7 +48,7 @@ import static org.sonar.server.projectlink.ws.ProjectLinksWsParameters.PARAM_PRO import static org.sonar.server.projectlink.ws.ProjectLinksWsParameters.PARAM_URL; import static org.sonar.test.JsonAssert.assertJson; -public class CreateActionTest { +public class CreateActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/DeleteActionIT.java index ca5632c663a..f6fd1121c55 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/DeleteActionIT.java @@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.api.web.UserRole.ADMIN; import static org.sonar.server.projectlink.ws.ProjectLinksWsParameters.PARAM_ID; -public class DeleteActionTest { +public class DeleteActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/SearchActionIT.java index a4cd6e2431c..9ff93389f16 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectlink/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projectlink/ws/SearchActionIT.java @@ -46,7 +46,7 @@ import static org.sonar.server.projectlink.ws.ProjectLinksWsParameters.PARAM_PRO import static org.sonar.server.projectlink.ws.ProjectLinksWsParameters.PARAM_PROJECT_KEY; import static org.sonar.test.JsonAssert.assertJson; -public class SearchActionTest { +public class SearchActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projecttag/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projecttag/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projecttag/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projecttag/ws/SearchActionIT.java index 07427f8afb4..a135065f7b0 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projecttag/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projecttag/ws/SearchActionIT.java @@ -47,7 +47,7 @@ import static org.sonar.api.resources.Qualifiers.PROJECT; import static org.sonar.server.measure.index.ProjectMeasuresIndexDefinition.TYPE_PROJECT_MEASURES; import static org.sonar.test.JsonAssert.assertJson; -public class SearchActionTest { +public class SearchActionIT { @Rule public EsTester es = EsTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projecttag/ws/SetActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projecttag/ws/SetActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/projecttag/ws/SetActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/projecttag/ws/SetActionIT.java index 669bc592438..12ad1491a8d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/projecttag/ws/SetActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/projecttag/ws/SetActionIT.java @@ -49,7 +49,7 @@ import static org.sonar.api.web.UserRole.ADMIN; import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class SetActionTest { +public class SetActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone().logIn(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateCaycCheckerTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateCaycCheckerIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateCaycCheckerTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateCaycCheckerIT.java index e62702569de..9356d24c834 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateCaycCheckerTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateCaycCheckerIT.java @@ -44,7 +44,7 @@ import static org.sonar.server.qualitygate.QualityGateCaycStatus.COMPLIANT; import static org.sonar.server.qualitygate.QualityGateCaycStatus.NON_COMPLIANT; import static org.sonar.server.qualitygate.QualityGateCaycStatus.OVER_COMPLIANT; -public class QualityGateCaycCheckerTest { +public class QualityGateCaycCheckerIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterIT.java index 4eb0a836723..f960e64feea 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateConditionsUpdaterIT.java @@ -53,7 +53,7 @@ import static org.sonar.api.measures.Metric.ValueType.STRING; import static org.sonar.api.measures.Metric.ValueType.WORK_DUR; @RunWith(DataProviderRunner.class) -public class QualityGateConditionsUpdaterTest { +public class QualityGateConditionsUpdaterIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateUpdaterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateUpdaterIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateUpdaterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateUpdaterIT.java index 2ed93478b50..f0c480d6d57 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateUpdaterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/QualityGateUpdaterIT.java @@ -31,7 +31,7 @@ import org.sonar.db.qualitygate.QualityGateDto; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class QualityGateUpdaterTest { +public class QualityGateUpdaterIT { static final String QGATE_NAME = "Default"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/RegisterQualityGatesTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/RegisterQualityGatesIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/RegisterQualityGatesTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/RegisterQualityGatesIT.java index 78cc63f86b6..1687527a4f7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/RegisterQualityGatesTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/RegisterQualityGatesIT.java @@ -55,7 +55,7 @@ import static org.sonar.db.metric.MetricTesting.newMetricDto; import static org.sonar.db.qualitygate.QualityGateConditionDto.OPERATOR_GREATER_THAN; import static org.sonar.db.qualitygate.QualityGateConditionDto.OPERATOR_LESS_THAN; -public class RegisterQualityGatesTest { +public class RegisterQualityGatesIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/AddGroupActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/AddGroupActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/AddGroupActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/AddGroupActionIT.java index 0c27d33eb1a..6b96277d189 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/AddGroupActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/AddGroupActionIT.java @@ -47,7 +47,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_GAT import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_GROUP_NAME; @RunWith(DataProviderRunner.class) -public class AddGroupActionTest { +public class AddGroupActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/AddUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/AddUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/AddUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/AddUserActionIT.java index ad77b975559..b9b63c51cd6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/AddUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/AddUserActionIT.java @@ -43,7 +43,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_GATE_NAME; import static org.sonarqube.ws.client.user.UsersWsParameters.PARAM_LOGIN; -public class AddUserActionTest { +public class AddUserActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CopyActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CopyActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CopyActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CopyActionIT.java index df72252eaf3..d1ec184027e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CopyActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CopyActionIT.java @@ -54,7 +54,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_NAM import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_SOURCE_NAME; @RunWith(DataProviderRunner.class) -public class CopyActionTest { +public class CopyActionIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CreateActionIT.java index 31b16fcd833..3452f945b98 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CreateActionIT.java @@ -55,7 +55,7 @@ import static org.sonar.server.qualitygate.ws.CreateAction.DEFAULT_METRIC_VALUES import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_NAME; @RunWith(DataProviderRunner.class) -public class CreateActionTest { +public class CreateActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CreateConditionActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CreateConditionActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CreateConditionActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CreateConditionActionIT.java index b2d9c84031f..d1ce77961eb 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/CreateConditionActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/CreateConditionActionIT.java @@ -56,7 +56,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_MET import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_OPERATOR; @RunWith(DataProviderRunner.class) -public class CreateConditionActionTest { +public class CreateConditionActionIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DeleteConditionActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DeleteConditionActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DeleteConditionActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DeleteConditionActionIT.java index 4950ef4ddf5..a1b4654be9e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DeleteConditionActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DeleteConditionActionIT.java @@ -45,7 +45,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_GATES; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_ID; -public class DeleteConditionActionTest { +public class DeleteConditionActionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DeselectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DeselectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DeselectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DeselectActionIT.java index 9b3233b8392..36d59916b6f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DeselectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DeselectActionIT.java @@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.tuple; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_GATES; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; -public class DeselectActionTest { +public class DeselectActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DestroyActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DestroyActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DestroyActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DestroyActionIT.java index 03a5bdecfcf..37f438d7d27 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/DestroyActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/DestroyActionIT.java @@ -49,7 +49,7 @@ import static org.sonar.db.qualitygate.SearchQualityGatePermissionQuery.builder; import static org.sonar.db.user.SearchPermissionQuery.IN; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_NAME; -public class DestroyActionTest { +public class DestroyActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/GetByProjectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/GetByProjectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/GetByProjectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/GetByProjectActionIT.java index b4543519422..d1027c778ea 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/GetByProjectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/GetByProjectActionIT.java @@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.api.Assertions.tuple; import static org.sonar.test.JsonAssert.assertJson; -public class GetByProjectActionTest { +public class GetByProjectActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ListActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ListActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ListActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ListActionIT.java index 50e488df895..446ba750b74 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ListActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ListActionIT.java @@ -50,7 +50,7 @@ import static org.sonar.server.qualitygate.QualityGateCaycStatus.OVER_COMPLIANT; import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.Qualitygates.ListWsResponse; -public class ListActionTest { +public class ListActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ProjectStatusActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ProjectStatusActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ProjectStatusActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ProjectStatusActionIT.java index 1c87e3e3962..aea18c85ee4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ProjectStatusActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ProjectStatusActionIT.java @@ -71,7 +71,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_PRO import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_PULL_REQUEST; import static org.sonar.test.JsonAssert.assertJson; -public class ProjectStatusActionTest { +public class ProjectStatusActionIT { private static final String ANALYSIS_ID = "task-uuid"; @Rule @@ -115,7 +115,7 @@ public class ProjectStatusActionTest { .setPeriodDate(956789123987L)); dbClient.measureDao().insert(dbSession, newMeasureDto(gateDetailsMetric, project, snapshot) - .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionTest/measure_data.json"), StandardCharsets.UTF_8))); + .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionIT/measure_data.json"), StandardCharsets.UTF_8))); dbSession.commit(); String response = ws.newRequest() @@ -141,7 +141,7 @@ public class ProjectStatusActionTest { MetricDto gateDetailsMetric = insertGateDetailMetric(); dbClient.measureDao().insert(dbSession, newMeasureDto(gateDetailsMetric, project, pastAnalysis) - .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionTest/measure_data.json")))); + .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionIT/measure_data.json")))); dbClient.measureDao().insert(dbSession, newMeasureDto(gateDetailsMetric, project, lastAnalysis) .setData("not_used")); @@ -165,7 +165,7 @@ public class ProjectStatusActionTest { MetricDto gateDetailsMetric = insertGateDetailMetric(); dbClient.liveMeasureDao().insert(dbSession, newLiveMeasure(project, gateDetailsMetric) - .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionTest/measure_data.json")))); + .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionIT/measure_data.json")))); dbSession.commit(); userSession.addProjectPermission(UserRole.USER, project); @@ -193,7 +193,7 @@ public class ProjectStatusActionTest { MetricDto gateDetailsMetric = insertGateDetailMetric(); dbClient.measureDao().insert(dbSession, newMeasureDto(gateDetailsMetric, branch, pastAnalysis) - .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionTest/measure_data.json")))); + .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionIT/measure_data.json")))); dbClient.measureDao().insert(dbSession, newMeasureDto(gateDetailsMetric, branch, lastAnalysis) .setData("not_used")); @@ -217,7 +217,7 @@ public class ProjectStatusActionTest { MetricDto gateDetailsMetric = insertGateDetailMetric(); dbClient.liveMeasureDao().insert(dbSession, newLiveMeasure(project, gateDetailsMetric) - .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionTest/measure_data.json")))); + .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionIT/measure_data.json")))); dbSession.commit(); userSession.addProjectPermission(UserRole.USER, project); @@ -241,7 +241,7 @@ public class ProjectStatusActionTest { MetricDto gateDetailsMetric = insertGateDetailMetric(); dbClient.liveMeasureDao().insert(dbSession, newLiveMeasure(branch, gateDetailsMetric) - .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionTest/measure_data.json")))); + .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionIT/measure_data.json")))); dbSession.commit(); userSession.addProjectPermission(UserRole.USER, project); @@ -267,7 +267,7 @@ public class ProjectStatusActionTest { MetricDto gateDetailsMetric = insertGateDetailMetric(); dbClient.liveMeasureDao().insert(dbSession, newLiveMeasure(pr, gateDetailsMetric) - .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionTest/measure_data.json")))); + .setData(IOUtils.toString(getClass().getResource("ProjectStatusActionIT/measure_data.json")))); dbSession.commit(); userSession.addProjectPermission(UserRole.USER, project); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RemoveGroupActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RemoveGroupActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RemoveGroupActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RemoveGroupActionIT.java index b49e0d35336..6d6c0b32bab 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RemoveGroupActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RemoveGroupActionIT.java @@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_GATE_NAME; import static org.sonarqube.ws.client.permission.PermissionsWsParameters.PARAM_GROUP_NAME; -public class RemoveGroupActionTest { +public class RemoveGroupActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RemoveUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RemoveUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RemoveUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RemoveUserActionIT.java index d4de2503486..b9ddfa2c8ad 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RemoveUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RemoveUserActionIT.java @@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_GATE_NAME; import static org.sonarqube.ws.client.user.UsersWsParameters.PARAM_LOGIN; -public class RemoveUserActionTest { +public class RemoveUserActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RenameActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RenameActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RenameActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RenameActionIT.java index 54090ce3135..8a91ccf2a3a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/RenameActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/RenameActionIT.java @@ -41,7 +41,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFIL import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_CURRENT_NAME; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_NAME; -public class RenameActionTest { +public class RenameActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchActionIT.java index cd6e2588353..ce4a12c3fdb 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchActionIT.java @@ -49,7 +49,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_PAG import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_PAGE_SIZE; import static org.sonarqube.ws.client.user.UsersWsParameters.PARAM_SELECTED; -public class SearchActionTest { +public class SearchActionIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchGroupsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchGroupsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchGroupsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchGroupsActionIT.java index 8e936b955bd..2227ebbad1d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchGroupsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchGroupsActionIT.java @@ -46,7 +46,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_GAT import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.MediaTypes.JSON; -public class SearchGroupsActionTest { +public class SearchGroupsActionIT { private static final String XOO = "xoo"; private static final String FOO = "foo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchUsersActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchUsersActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchUsersActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchUsersActionIT.java index d95499c92a2..ced09386a53 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SearchUsersActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SearchUsersActionIT.java @@ -48,7 +48,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_GAT import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.MediaTypes.JSON; -public class SearchUsersActionTest { +public class SearchUsersActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SelectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SelectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SelectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SelectActionIT.java index f1306bd31b6..653586dbb15 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SelectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SelectActionIT.java @@ -41,7 +41,7 @@ import static org.sonar.api.web.UserRole.ISSUE_ADMIN; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_GATES; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_GATE_NAME; -public class SelectActionTest { +public class SelectActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionIT.java index 88e1e42f2a5..c9edf612216 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/SetAsDefaultActionIT.java @@ -34,7 +34,7 @@ import static org.assertj.core.api.AssertionsForClassTypes.tuple; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_GATES; import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_NAME; -public class SetAsDefaultActionTest { +public class SetAsDefaultActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ShowActionIT.java index 527a3560e70..01c45c7ff3d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/ShowActionIT.java @@ -55,7 +55,7 @@ import static org.sonar.server.qualitygate.QualityGateCaycStatus.COMPLIANT; import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.Qualitygates.Actions; -public class ShowActionTest { +public class ShowActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/UpdateConditionActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/UpdateConditionActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/UpdateConditionActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/UpdateConditionActionIT.java index 1a031a02dd9..4eb98c6e8b8 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/ws/UpdateConditionActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualitygate/ws/UpdateConditionActionIT.java @@ -57,7 +57,7 @@ import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_MET import static org.sonar.server.qualitygate.ws.QualityGatesWsParameters.PARAM_OPERATOR; @RunWith(DataProviderRunner.class) -public class UpdateConditionActionTest { +public class UpdateConditionActionIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileBackuperImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileBackuperImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileBackuperImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileBackuperImplIT.java index 7af587e0c9f..04e750e7501 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileBackuperImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileBackuperImplIT.java @@ -59,7 +59,7 @@ import static org.sonar.db.rule.RuleDescriptionSectionDto.createDefaultRuleDescr import static org.sonar.db.rule.RuleTesting.newRule; import static org.sonar.db.rule.RuleTesting.newRuleWithoutDescriptionSection; -public class QProfileBackuperImplTest { +public class QProfileBackuperImplIT { private static final String EMPTY_BACKUP = "" + "foo" + @@ -452,7 +452,7 @@ public class QProfileBackuperImplTest { @Test public void fail_to_restore_if_duplicate_rule() throws Exception { DbSession session = db.getSession(); - String xml = Resources.toString(getClass().getResource("QProfileBackuperTest/duplicates-xml-backup.xml"), UTF_8); + String xml = Resources.toString(getClass().getResource("QProfileBackuperIT/duplicates-xml-backup.xml"), UTF_8); StringReader backup = new StringReader(xml); IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class, () -> underTest.restore(session, backup, (String) null)); assertThat(thrown).hasMessage("The quality profile cannot be restored as it contains duplicates for the following rules: xoo:x1, xoo:x2"); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileComparisonTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileComparisonIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileComparisonTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileComparisonIT.java index 2ffcc95e6d9..fedcf65c942 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileComparisonTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileComparisonIT.java @@ -53,7 +53,7 @@ import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; -public class QProfileComparisonTest { +public class QProfileComparisonIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone().anonymous(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileCopierTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileCopierIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileCopierTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileCopierIT.java index 52dae5bfb41..7e31f55af42 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileCopierTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileCopierIT.java @@ -40,7 +40,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoInteractions; -public class QProfileCopierTest { +public class QProfileCopierIT { private static final String BACKUP = ""; private final System2 system2 = new AlwaysIncreasingSystem2(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileExportersIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileExportersIT.java index 067403a5ec8..8e9d98bc20c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileExportersIT.java @@ -56,7 +56,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.sonar.db.qualityprofile.QualityProfileTesting.newQualityProfileDto; -public class QProfileExportersTest { +public class QProfileExportersIT { @org.junit.Rule public UserSessionRule userSessionRule = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileFactoryImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileFactoryImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileFactoryImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileFactoryImplIT.java index 88f2b3b28c5..f806ffc5387 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileFactoryImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileFactoryImplIT.java @@ -59,7 +59,7 @@ import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoInteractions; -public class QProfileFactoryImplTest { +public class QProfileFactoryImplIT { private System2 system2 = new AlwaysIncreasingSystem2(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileResetImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileResetImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileResetImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileResetImplIT.java index 98bfb00d60e..e26eac8c0b8 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileResetImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileResetImplIT.java @@ -51,7 +51,7 @@ import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.internal.verification.VerificationModeFactory.times; import static org.sonar.server.qualityprofile.ActiveRuleChange.Type.ACTIVATED; -public class QProfileResetImplTest { +public class QProfileResetImplIT { private static final String LANGUAGE = "xoo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileRuleImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileRuleImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileRuleImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileRuleImplIT.java index ce5b20126e0..b9ea7fcc91f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileRuleImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileRuleImplIT.java @@ -75,7 +75,7 @@ import static org.sonar.api.rule.Severity.MINOR; import static org.sonar.db.rule.RuleTesting.newCustomRule; import static org.sonar.server.qualityprofile.ActiveRuleInheritance.INHERITED; -public class QProfileRuleImplTest { +public class QProfileRuleImplIT { private System2 system2 = new AlwaysIncreasingSystem2(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileRulesImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileRulesImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileRulesImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileRulesImplIT.java index b019efc0d8a..6de0361ea53 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileRulesImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileRulesImplIT.java @@ -50,7 +50,7 @@ import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -public class QProfileRulesImplTest { +public class QProfileRulesImplIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileTreeImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileTreeImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileTreeImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileTreeImplIT.java index 9aa36496a5e..d29c0f91b64 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/QProfileTreeImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/QProfileTreeImplIT.java @@ -58,7 +58,7 @@ import static org.mockito.Mockito.verify; import static org.sonar.api.rule.Severity.BLOCKER; import static org.sonar.server.qualityprofile.ActiveRuleInheritance.INHERITED; -public class QProfileTreeImplTest { +public class QProfileTreeImplIT { private System2 system2 = new AlwaysIncreasingSystem2(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesIT.java index f5575a8343b..cd4d12d8e4f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesIT.java @@ -55,7 +55,7 @@ import static org.mockito.Mockito.mock; import static org.sonar.db.qualityprofile.QualityProfileTesting.newQualityProfileDto; import static org.sonar.db.qualityprofile.QualityProfileTesting.newRuleProfileDto; -public class RegisterQualityProfilesTest { +public class RegisterQualityProfilesIT { private static final Language FOO_LANGUAGE = LanguageTesting.newLanguage("foo"); private static final Language BAR_LANGUAGE = LanguageTesting.newLanguage("bar"); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationIT.java index 0c2f6242f8c..2c14247bc1b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/RegisterQualityProfilesNotificationIT.java @@ -83,7 +83,7 @@ import static org.sonar.server.qualityprofile.ActiveRuleChange.Type.ACTIVATED; import static org.sonar.server.qualityprofile.ActiveRuleChange.Type.DEACTIVATED; import static org.sonar.server.qualityprofile.ActiveRuleChange.Type.UPDATED; -public class RegisterQualityProfilesNotificationTest { +public class RegisterQualityProfilesNotificationIT { private static final Random RANDOM = new SecureRandom(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplIT.java index 6545c4b7471..631c741d34e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileInsertImplIT.java @@ -54,7 +54,7 @@ import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; -public class BuiltInQProfileInsertImplTest { +public class BuiltInQProfileInsertImplIT { @Rule public BuiltInQProfileRepositoryRule builtInQProfileRepository = new BuiltInQProfileRepositoryRule(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplIT.java index 57a20a674b7..6f4f752b799 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryImplIT.java @@ -45,7 +45,7 @@ import static org.mockito.Mockito.mock; import static org.sonar.db.rule.RuleTesting.EXTERNAL_XOO; -public class BuiltInQProfileRepositoryImplTest { +public class BuiltInQProfileRepositoryImplIT { private static final Language FOO_LANGUAGE = LanguageTesting.newLanguage("foo", "foo", "foo"); private static final String SONAR_WAY_QP_NAME = "Sonar way"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryRule.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryRule.java similarity index 100% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryRule.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileRepositoryRule.java diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplIT.java index 38ba34f28ed..71c4a03af93 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/BuiltInQProfileUpdateImplIT.java @@ -72,7 +72,7 @@ import static org.sonar.api.rules.RulePriority.MINOR; import static org.sonar.db.qualityprofile.QualityProfileTesting.newRuleProfileDto; import static org.sonar.server.qualityprofile.ActiveRuleInheritance.INHERITED; -public class BuiltInQProfileUpdateImplTest { +public class BuiltInQProfileUpdateImplIT { private static final long NOW = 1_000; private static final long PAST = NOW - 100; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/RuleActivatorTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/RuleActivatorIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/RuleActivatorTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/RuleActivatorIT.java index 16faf31ee7d..208dc9ee6f9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/builtin/RuleActivatorTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/builtin/RuleActivatorIT.java @@ -62,7 +62,7 @@ import static org.sonar.server.qualityprofile.ActiveRuleInheritance.OVERRIDES; * Class org.sonar.server.qualityprofile.builtin.RuleActivator is mostly covered in * org.sonar.server.qualityprofile.builtin.BuiltInQProfileUpdateImplTest */ -public class RuleActivatorTest { +public class RuleActivatorIT { @Rule public final DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionIT.java index 5740b879302..f982f31eae7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ActivateRuleActionIT.java @@ -58,7 +58,7 @@ import static org.sonar.server.platform.db.migration.def.VarcharColumnDef.UUID_S import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_KEY; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_RULE; -public class ActivateRuleActionTest { +public class ActivateRuleActionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionIT.java index 4396bf43ce8..c2cf53926db 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ActivateRulesActionIT.java @@ -47,7 +47,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFIL import static org.sonar.server.platform.db.migration.def.VarcharColumnDef.UUID_SIZE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_TARGET_KEY; -public class ActivateRulesActionTest { +public class ActivateRulesActionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddGroupActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddGroupActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddGroupActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddGroupActionIT.java index 3f83f52a4e8..64fa9ff5ce9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddGroupActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddGroupActionIT.java @@ -45,7 +45,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LANGUAGE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class AddGroupActionTest { +public class AddGroupActionIT { private static final String XOO = "xoo"; private static final Languages LANGUAGES = LanguageTesting.newLanguages(XOO); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddProjectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddProjectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddProjectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddProjectActionIT.java index e04c5195938..c77611f88e2 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddProjectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddProjectActionIT.java @@ -50,7 +50,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; -public class AddProjectActionTest { +public class AddProjectActionIT { private static final String LANGUAGE_1 = "xoo"; private static final String LANGUAGE_2 = "foo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddUserActionIT.java index 7391c486d95..a1cdf072a40 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/AddUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/AddUserActionIT.java @@ -44,7 +44,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LOGIN; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class AddUserActionTest { +public class AddUserActionIT { private static final String XOO = "xoo"; private static final Languages LANGUAGES = LanguageTesting.newLanguages(XOO); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/BackupActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/BackupActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/BackupActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/BackupActionIT.java index 3b1522d39aa..0159f070a83 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/BackupActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/BackupActionIT.java @@ -38,7 +38,7 @@ import org.sonar.server.ws.WsActionTester; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class BackupActionTest { +public class BackupActionIT { private static final String A_LANGUAGE = "xoo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ChangeParentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ChangeParentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ChangeParentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ChangeParentActionIT.java index ccb83b48d9f..145ea3bc32f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ChangeParentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ChangeParentActionIT.java @@ -71,7 +71,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_PARENT_QUALITY_PROFILE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class ChangeParentActionTest { +public class ChangeParentActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ChangelogActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ChangelogActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ChangelogActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ChangelogActionIT.java index 0d2c5df12e0..7d282d04319 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ChangelogActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ChangelogActionIT.java @@ -47,7 +47,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_SINCE; -public class ChangelogActionTest { +public class ChangelogActionIT { private static final String DATE = "2011-04-25T01:15:42+0100"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CompareActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CompareActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CompareActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CompareActionIT.java index 7e1642a89ae..0e5274a4673 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CompareActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CompareActionIT.java @@ -48,7 +48,7 @@ import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class CompareActionTest { +public class CompareActionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CopyActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CopyActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CopyActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CopyActionIT.java index 3ff4fb2edd1..9433d00d9b4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CopyActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CopyActionIT.java @@ -52,7 +52,7 @@ import static org.mockito.Mockito.mock; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; import static org.sonar.test.JsonAssert.assertJson; -public class CopyActionTest { +public class CopyActionIT { private static final String A_LANGUAGE = "lang1"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CreateActionIT.java index 6c5d854436a..0bf5c551208 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/CreateActionIT.java @@ -68,7 +68,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFIL import static org.sonar.db.permission.GlobalPermission.SCAN; import static org.sonar.server.language.LanguageTesting.newLanguages; -public class CreateActionTest { +public class CreateActionIT { private static final String XOO_LANGUAGE = "xoo"; private static final RuleDto RULE = RuleTesting.newXooX1() @@ -189,7 +189,7 @@ public class CreateActionTest { .setParam("name", "Yeehaw!") .execute(); - JsonAssert.assertJson(response.getInput()).isSimilarTo(getClass().getResource("CreateActionTest/test_json.json")); + JsonAssert.assertJson(response.getInput()).isSimilarTo(getClass().getResource("CreateActionIT/test_json.json")); assertThat(response.getMediaType()).isEqualTo(MediaTypes.JSON); } diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionIT.java index 9adf2cfd559..f49a9e7e3ab 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeactivateRuleActionIT.java @@ -55,7 +55,7 @@ import static org.sonar.server.platform.db.migration.def.VarcharColumnDef.UUID_S import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_KEY; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_RULE; -public class DeactivateRuleActionTest { +public class DeactivateRuleActionIT { @Rule public DbTester db = DbTester.create(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionIT.java index f6c8a92074e..3e51f51ec04 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeactivateRulesActionIT.java @@ -48,7 +48,7 @@ import static org.sonar.db.permission.GlobalPermission.SCAN; import static org.sonar.server.platform.db.migration.def.VarcharColumnDef.UUID_SIZE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_TARGET_KEY; -public class DeactivateRulesActionTest { +public class DeactivateRulesActionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeleteActionIT.java index 652501e17a1..e364574f4c0 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/DeleteActionIT.java @@ -53,7 +53,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LANGUAGE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class DeleteActionTest { +public class DeleteActionIT { private static final String A_LANGUAGE = "xoo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ExportActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ExportActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ExportActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ExportActionIT.java index 661b0147fb9..317b94ca6ae 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ExportActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ExportActionIT.java @@ -46,7 +46,7 @@ import static java.lang.String.format; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class ExportActionTest { +public class ExportActionIT { private static final String XOO_LANGUAGE = "xoo"; private static final String JAVA_LANGUAGE = "java"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/InheritanceActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/InheritanceActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/InheritanceActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/InheritanceActionIT.java index 4211a3075a1..ef5abc51e4b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/InheritanceActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/InheritanceActionIT.java @@ -66,7 +66,7 @@ import static org.sonarqube.ws.MediaTypes.PROTOBUF; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LANGUAGE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class InheritanceActionTest { +public class InheritanceActionIT { @Rule public DbTester db = DbTester.create(); @@ -131,7 +131,7 @@ public class InheritanceActionTest { .execute() .getInput(); - assertJson(response).isSimilarTo(getClass().getResource("InheritanceActionTest/inheritance-buWide.json")); + assertJson(response).isSimilarTo(getClass().getResource("InheritanceActionIT/inheritance-buWide.json")); } @Test @@ -202,7 +202,7 @@ public class InheritanceActionTest { .execute() .getInput(); - assertJson(response).isSimilarTo(getClass().getResource("InheritanceActionTest/inheritance-simple.json")); + assertJson(response).isSimilarTo(getClass().getResource("InheritanceActionIT/inheritance-simple.json")); } @Test diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ProjectsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ProjectsActionIT.java index d3fea320022..a4c23830881 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ProjectsActionIT.java @@ -42,7 +42,7 @@ import static org.sonar.api.server.ws.WebService.Param.TEXT_QUERY; import static org.sonar.api.web.UserRole.USER; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_KEY; -public class ProjectsActionTest { +public class ProjectsActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportIT.java index 09c6d0cce7e..0feff039eec 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/QProfileWsSupportIT.java @@ -33,7 +33,7 @@ import static java.lang.String.format; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class QProfileWsSupportTest { +public class QProfileWsSupportIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT.java index 2525d9f3632..2318e4b0819 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT.java @@ -69,7 +69,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_TARGET_KEY; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_TARGET_SEVERITY; -public class QProfilesWsMediumTest { +public class QProfilesWsMediumIT { @Rule public UserSessionRule userSessionRule = UserSessionRule.standalone().logIn(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionIT.java index 49802d563be..bc06530287b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveGroupActionIT.java @@ -43,7 +43,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LANGUAGE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class RemoveGroupActionTest { +public class RemoveGroupActionIT { private static final String XOO = "xoo"; private static final Languages LANGUAGES = LanguageTesting.newLanguages(XOO); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionIT.java index 7f88365b3da..bdf07017ef5 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveProjectActionIT.java @@ -52,7 +52,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.verify; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; -public class RemoveProjectActionTest { +public class RemoveProjectActionIT { private static final String LANGUAGE_1 = "xoo"; private static final String LANGUAGE_2 = "foo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveUserActionIT.java index c59d9f77016..1a6dd87dc9e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RemoveUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RemoveUserActionIT.java @@ -43,7 +43,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LOGIN; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class RemoveUserActionTest { +public class RemoveUserActionIT { private static final String XOO = "xoo"; private static final Languages LANGUAGES = LanguageTesting.newLanguages(XOO); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RenameActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RenameActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RenameActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RenameActionIT.java index 3e11daf1f69..e6ec279fee9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RenameActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RenameActionIT.java @@ -45,7 +45,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; import static org.sonar.db.permission.GlobalPermission.SCAN; -public class RenameActionTest { +public class RenameActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RestoreActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RestoreActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RestoreActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RestoreActionIT.java index 26047cc0848..2d86a4125c5 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/RestoreActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/RestoreActionIT.java @@ -47,7 +47,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; -public class RestoreActionTest { +public class RestoreActionIT { private static final String A_LANGUAGE = "xoo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchActionIT.java index bd906941c52..58c1621b355 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchActionIT.java @@ -61,7 +61,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_PROJECT; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class SearchActionTest { +public class SearchActionIT { private static final Language XOO1 = newLanguage("xoo1"); private static final Language XOO2 = newLanguage("xoo2"); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionIT.java index e55e58dab55..87ca9310452 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchGroupsActionIT.java @@ -50,7 +50,7 @@ import static org.sonarqube.ws.MediaTypes.JSON; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LANGUAGE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class SearchGroupsActionTest { +public class SearchGroupsActionIT { private static final String XOO = "xoo"; private static final String FOO = "foo"; private static final Languages LANGUAGES = LanguageTesting.newLanguages(XOO, FOO); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchUsersActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchUsersActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchUsersActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchUsersActionIT.java index 2cc2d746e56..3b7a7820097 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SearchUsersActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SearchUsersActionIT.java @@ -51,7 +51,7 @@ import static org.sonarqube.ws.MediaTypes.JSON; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LANGUAGE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class SearchUsersActionTest { +public class SearchUsersActionIT { private static final String XOO = "xoo"; private static final String FOO = "foo"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SetDefaultActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SetDefaultActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SetDefaultActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SetDefaultActionIT.java index 05a618d5450..c2c51efd83e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/SetDefaultActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/SetDefaultActionIT.java @@ -44,7 +44,7 @@ import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters. import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_LANGUAGE; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_QUALITY_PROFILE; -public class SetDefaultActionTest { +public class SetDefaultActionIT { private static final String XOO_1_KEY = "xoo1"; private static final String XOO_2_KEY = "xoo2"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ShowActionIT.java index 5c77c81bdfb..fdff7f6bbd5 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualityprofile/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/qualityprofile/ws/ShowActionIT.java @@ -53,7 +53,7 @@ import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_COMPARE_TO_SONAR_WAY; import static org.sonarqube.ws.client.qualityprofile.QualityProfileWsParameters.PARAM_KEY; -public class ShowActionTest { +public class ShowActionIT { private static Language XOO1 = newLanguage("xoo1"); private static Language XOO2 = newLanguage("xoo2"); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/RuleCreatorTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/RuleCreatorIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/RuleCreatorTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/RuleCreatorIT.java index 598a912ea8c..c3fba012fe3 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/RuleCreatorTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/RuleCreatorIT.java @@ -60,7 +60,7 @@ import static org.sonar.db.rule.RuleTesting.newCustomRule; import static org.sonar.db.rule.RuleTesting.newRule; import static org.sonar.server.util.TypeValidationsTesting.newFullTypeValidations; -public class RuleCreatorTest { +public class RuleCreatorIT { private final System2 system2 = new TestSystem2().setNow(Instant.now().toEpochMilli()); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/RuleUpdaterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/RuleUpdaterIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/RuleUpdaterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/RuleUpdaterIT.java index 07fb2efbe5c..587fb83ac2a 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/RuleUpdaterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/RuleUpdaterIT.java @@ -63,7 +63,7 @@ import static org.sonar.db.rule.RuleTesting.newTemplateRule; import static org.sonar.server.rule.RuleUpdate.createForCustomRule; import static org.sonar.server.rule.RuleUpdate.createForPluginRule; -public class RuleUpdaterTest { +public class RuleUpdaterIT { static final RuleKey RULE_KEY = RuleKey.of("java", "S001"); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ActiveRuleCompleterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ActiveRuleCompleterIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ActiveRuleCompleterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ActiveRuleCompleterIT.java index 59700b7aff9..7b7bdad00e9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ActiveRuleCompleterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ActiveRuleCompleterIT.java @@ -31,7 +31,7 @@ import org.sonarqube.ws.Rules; import static org.assertj.core.api.Assertions.assertThat; -public class ActiveRuleCompleterTest { +public class ActiveRuleCompleterIT { @Rule public DbTester dbTester = DbTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/AppActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/AppActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/AppActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/AppActionIT.java index cbadf898689..e4df4e339a0 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/AppActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/AppActionIT.java @@ -36,7 +36,7 @@ import static java.util.Arrays.asList; import static org.assertj.core.api.Assertions.assertThat; import static org.sonar.test.JsonAssert.assertJson; -public class AppActionTest { +public class AppActionIT { private static final Language LANG1 = LanguageTesting.newLanguage("xoo", "Xoo"); private static final Language LANG2 = LanguageTesting.newLanguage("ws", "Whitespace"); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/CreateActionIT.java index 26653fa8c83..d69d779ba99 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/CreateActionIT.java @@ -58,7 +58,7 @@ import static org.sonar.db.rule.RuleTesting.newTemplateRule; import static org.sonar.server.util.TypeValidationsTesting.newFullTypeValidations; import static org.sonar.test.JsonAssert.assertJson; -public class CreateActionTest { +public class CreateActionIT { private final System2 system2 = mock(System2.class); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/DeleteActionIT.java index 573b8aeab84..ccfc4d18a6d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/DeleteActionIT.java @@ -44,7 +44,7 @@ import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFILES; -public class DeleteActionTest { +public class DeleteActionIT { private static final long PAST = 10000L; @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ListActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ListActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ListActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ListActionIT.java index c2a0a8a7143..c4cd5bb9773 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ListActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ListActionIT.java @@ -32,7 +32,7 @@ import org.sonarqube.ws.Rules; import static org.assertj.core.api.Assertions.assertThat; -public class ListActionTest { +public class ListActionIT { private static final String RULE_KEY_1 = "S001"; private static final String RULE_KEY_2 = "S002"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/RepositoriesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/RepositoriesActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/RepositoriesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/RepositoriesActionIT.java index 5ea141a6902..e70c26a86db 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/RepositoriesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/RepositoriesActionIT.java @@ -31,7 +31,7 @@ import org.sonar.server.ws.WsActionTester; import static java.util.Arrays.asList; -public class RepositoriesActionTest { +public class RepositoriesActionIT { private static final String EMPTY_JSON_RESPONSE = "{\"repositories\":[]}"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/RuleQueryFactoryTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/RuleQueryFactoryIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/RuleQueryFactoryTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/RuleQueryFactoryIT.java index 815745dce3b..52df5617a90 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/RuleQueryFactoryTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/RuleQueryFactoryIT.java @@ -68,7 +68,7 @@ import static org.sonar.server.rule.ws.RulesWsParameters.PARAM_TAGS; import static org.sonar.server.rule.ws.RulesWsParameters.PARAM_TEMPLATE_KEY; import static org.sonar.server.rule.ws.RulesWsParameters.PARAM_TYPES; -public class RuleQueryFactoryTest { +public class RuleQueryFactoryIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/SearchActionIT.java index a358b2efa2a..01272609db2 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/SearchActionIT.java @@ -100,7 +100,7 @@ import static org.sonar.server.rule.ws.RulesWsParameters.PARAM_QPROFILE; import static org.sonar.server.rule.ws.RulesWsParameters.PARAM_RULE_KEY; import static org.sonarqube.ws.Rules.Rule.DescriptionSection.Context.newBuilder; -public class SearchActionTest { +public class SearchActionIT { private static final String JAVA = "java"; @@ -507,7 +507,7 @@ public class SearchActionTest { checkField(rule, "langName", Rule::getLangName, languages.get(rule.getLanguage()).getName()); checkField(rule, "gapDescription", Rule::getGapDescription, rule.getGapDescription()); checkDescriptionSections(rule, rule.getRuleDescriptionSectionDtos().stream() - .map(SearchActionTest::toProtobufDto) + .map(SearchActionIT::toProtobufDto) .collect(Collectors.toSet()) ); } diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ShowActionIT.java index 70e917819b5..eb34ca1e806 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/ShowActionIT.java @@ -75,7 +75,7 @@ import static org.sonar.server.rule.ws.ShowAction.PARAM_KEY; import static org.sonarqube.ws.Common.RuleType.UNKNOWN; import static org.sonarqube.ws.Common.RuleType.VULNERABILITY; -public class ShowActionTest { +public class ShowActionIT { private static final String INTERPRETED = "interpreted"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/TagsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/TagsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/TagsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/TagsActionIT.java index 9f98d184d09..04bbeba8981 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/TagsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/TagsActionIT.java @@ -38,7 +38,7 @@ import static org.sonar.db.rule.RuleTesting.setSystemTags; import static org.sonar.db.rule.RuleTesting.setTags; import static org.sonar.test.JsonAssert.assertJson; -public class TagsActionTest { +public class TagsActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/UpdateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/UpdateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/UpdateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/UpdateActionIT.java index 5863dc4666c..0280eaec457 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/rule/ws/UpdateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/rule/ws/UpdateActionIT.java @@ -67,7 +67,7 @@ import static org.sonar.server.rule.ws.UpdateAction.PARAM_REMEDIATION_FN_TYPE; import static org.sonar.server.rule.ws.UpdateAction.PARAM_TAGS; import static org.sonar.test.JsonAssert.assertJson; -public class UpdateActionTest { +public class UpdateActionIT { private static final long PAST = 10000L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/scannercache/ws/ClearActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/scannercache/ws/ClearActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/scannercache/ws/ClearActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/scannercache/ws/ClearActionIT.java index ba7f40d5fe4..1c2fb9430f4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/scannercache/ws/ClearActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/scannercache/ws/ClearActionIT.java @@ -47,7 +47,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.api.web.UserRole.SCAN; -public class ClearActionTest { +public class ClearActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/scannercache/ws/GetActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/scannercache/ws/GetActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/scannercache/ws/GetActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/scannercache/ws/GetActionIT.java index 548c3d9b45a..44bd67d9f6d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/scannercache/ws/GetActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/scannercache/ws/GetActionIT.java @@ -51,7 +51,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.api.web.UserRole.SCAN; -public class GetActionTest { +public class GetActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/CheckSecretKeyActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/CheckSecretKeyActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/CheckSecretKeyActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/CheckSecretKeyActionIT.java index 15356074d94..2b0b464c0a4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/CheckSecretKeyActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/CheckSecretKeyActionIT.java @@ -37,7 +37,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.test.JsonAssert.assertJson; -public class CheckSecretKeyActionTest { +public class CheckSecretKeyActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/EncryptActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/EncryptActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/EncryptActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/EncryptActionIT.java index 659ceab51d5..bd2a40df6fc 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/EncryptActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/EncryptActionIT.java @@ -41,7 +41,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.server.setting.ws.SettingsWsParameters.PARAM_VALUE; -public class EncryptActionTest { +public class EncryptActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionIT.java index 8d34e629376..be15012b0ee 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionIT.java @@ -41,7 +41,7 @@ import org.sonarqube.ws.Settings.GenerateSecretKeyWsResponse; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class GenerateSecretKeyActionTest { +public class GenerateSecretKeyActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone().logIn().setSystemAdministrator(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterIT.java index 60edda3c12a..099885f7c61 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/GenerateSecretKeyActionWithPersisterIT.java @@ -34,7 +34,7 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -public class GenerateSecretKeyActionWithPersisterTest { +public class GenerateSecretKeyActionWithPersisterIT { private final AuditPersister auditPersister = mock(AuditPersister.class); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ListDefinitionsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ListDefinitionsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ListDefinitionsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ListDefinitionsActionIT.java index 55e5b850800..76119763cf6 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ListDefinitionsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ListDefinitionsActionIT.java @@ -66,7 +66,7 @@ import static org.sonarqube.ws.Settings.Type.SINGLE_SELECT_LIST; import static org.sonarqube.ws.Settings.Type.STRING; import static org.sonarqube.ws.Settings.Type.TEXT; -public class ListDefinitionsActionTest { +public class ListDefinitionsActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ResetActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ResetActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ResetActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ResetActionIT.java index 2b155548473..6a0d3ac519b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ResetActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ResetActionIT.java @@ -65,7 +65,7 @@ import static org.sonar.db.property.PropertyTesting.newComponentPropertyDto; import static org.sonar.db.property.PropertyTesting.newGlobalPropertyDto; import static org.sonar.db.property.PropertyTesting.newUserPropertyDto; -public class ResetActionTest { +public class ResetActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/SetActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/SetActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/SetActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/SetActionIT.java index 93ac8612d61..b45cf7493ff 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/SetActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/SetActionIT.java @@ -75,7 +75,7 @@ import static org.sonar.db.property.PropertyTesting.newGlobalPropertyDto; import static org.sonar.db.user.UserTesting.newUserDto; @RunWith(DataProviderRunner.class) -public class SetActionTest { +public class SetActionIT { private static final Gson GSON = GsonHelper.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/SettingsUpdaterTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/SettingsUpdaterIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/SettingsUpdaterTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/SettingsUpdaterIT.java index 7a75c1e63e7..7784a3aa7b9 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/SettingsUpdaterTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/SettingsUpdaterIT.java @@ -45,7 +45,7 @@ import static org.sonar.db.property.PropertyTesting.newComponentPropertyDto; import static org.sonar.db.property.PropertyTesting.newGlobalPropertyDto; import static org.sonar.db.property.PropertyTesting.newUserPropertyDto; -public class SettingsUpdaterTest { +public class SettingsUpdaterIT { @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ValuesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ValuesActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ValuesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ValuesActionIT.java index 6902864e50e..d80a7117d52 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/setting/ws/ValuesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/setting/ws/ValuesActionIT.java @@ -67,7 +67,7 @@ import static org.sonar.db.property.PropertyTesting.newGlobalPropertyDto; import static org.sonarqube.ws.MediaTypes.JSON; import static org.sonarqube.ws.Settings.Setting.ParentValueOneOfCase.PARENTVALUEONEOF_NOT_SET; -public class ValuesActionTest { +public class ValuesActionIT { private static final Joiner COMMA_JOINER = Joiner.on(","); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/SourceServiceTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/SourceServiceIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/SourceServiceTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/SourceServiceIT.java index 8a1062a3dd2..af716867dbf 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/SourceServiceTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/SourceServiceIT.java @@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class SourceServiceTest { +public class SourceServiceIT { public static final String FILE_UUID = "FILE_UUID"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/IndexActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/IndexActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/IndexActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/IndexActionIT.java index 244b593b0c6..d617a827536 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/IndexActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/IndexActionIT.java @@ -42,7 +42,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.test.JsonAssert.assertJson; -public class IndexActionTest { +public class IndexActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/IssueSnippetsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/IssueSnippetsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/IssueSnippetsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/IssueSnippetsActionIT.java index 98e98e371a1..730c9aabb37 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/IssueSnippetsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/IssueSnippetsActionIT.java @@ -63,7 +63,7 @@ import static org.sonar.api.web.UserRole.CODEVIEWER; import static org.sonar.api.web.UserRole.USER; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class IssueSnippetsActionTest { +public class IssueSnippetsActionIT { @Rule public final DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/LinesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/LinesActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/LinesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/LinesActionIT.java index e724fddce47..d2ebbf8ed23 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/LinesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/LinesActionIT.java @@ -55,7 +55,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.component.BranchType.PULL_REQUEST; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class LinesActionTest { +public class LinesActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/RawActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/RawActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/RawActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/RawActionIT.java index 6f690353d88..bc995e5845d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/RawActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/RawActionIT.java @@ -42,7 +42,7 @@ import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.protobuf.DbFileSources.Data; import static org.sonar.db.protobuf.DbFileSources.Line; -public class RawActionTest { +public class RawActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/ScmActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/ScmActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/ScmActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/ScmActionIT.java index 77c59f96854..ed749b6dc64 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/ScmActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/ScmActionIT.java @@ -43,7 +43,7 @@ import org.sonar.server.ws.WsActionTester; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class ScmActionTest { +public class ScmActionIT { private static final String FILE_KEY = "FILE_KEY"; private static final String FILE_UUID = "FILE_A"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/ShowActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/ShowActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/ShowActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/ShowActionIT.java index 967d42cb84c..3ef0b3dc696 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/source/ws/ShowActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/source/ws/ShowActionIT.java @@ -45,7 +45,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class ShowActionTest { +public class ShowActionIT { @Rule public UserSessionRule userSessionRule = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/ComponentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/ComponentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/ComponentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/ComponentActionIT.java index 9e2184ded52..e87bf373055 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/ComponentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/ComponentActionIT.java @@ -94,7 +94,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER_QUALITY_PROFIL import static org.sonar.server.ui.ws.ComponentAction.PARAM_COMPONENT; import static org.sonar.test.JsonAssert.assertJson; -public class ComponentActionTest { +public class ComponentActionIT { @Rule public final DbTester db = DbTester.create(System2.INSTANCE); @@ -795,7 +795,7 @@ public class ComponentActionTest { } private void verify(String json, String jsonFile) { - assertJson(json).isSimilarTo(getClass().getResource(ComponentActionTest.class.getSimpleName() + "/" + jsonFile)); + assertJson(json).isSimilarTo(getClass().getResource(ComponentActionIT.class.getSimpleName() + "/" + jsonFile)); } private void executeAndVerify(String componentKey, String expectedJson) { diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/MarketplaceActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/MarketplaceActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/MarketplaceActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/MarketplaceActionIT.java index 7bfb5aa12aa..2b6f01fdd68 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/MarketplaceActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/MarketplaceActionIT.java @@ -45,7 +45,7 @@ import static org.sonar.api.measures.Metric.ValueType.INT; import static org.sonar.test.JsonAssert.assertJson; @RunWith(DataProviderRunner.class) -public class MarketplaceActionTest { +public class MarketplaceActionIT { @Rule public UserSessionRule userSessionRule = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/SettingsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/SettingsActionIT.java similarity index 97% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/SettingsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/SettingsActionIT.java index 8e6085d183c..7c787bbb37f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/ui/ws/SettingsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ui/ws/SettingsActionIT.java @@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.test.JsonAssert.assertJson; -public class SettingsActionTest { +public class SettingsActionIT { @Rule public UserSessionRule userSessionRule = UserSessionRule.standalone(); @@ -96,7 +96,7 @@ public class SettingsActionTest { } private void executeAndVerify(String json) { - assertJson(ws.newRequest().execute().getInput()).isSimilarTo(getClass().getResource("SettingsActionTest/" + json)); + assertJson(ws.newRequest().execute().getInput()).isSimilarTo(getClass().getResource("SettingsActionIT/" + json)); } private Page[] createPages() { diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/AnonymizeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/AnonymizeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/AnonymizeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/AnonymizeActionIT.java index 310a2868c1d..e2114c603d3 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/AnonymizeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/AnonymizeActionIT.java @@ -55,7 +55,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER; import static org.sonar.server.user.index.UserIndexDefinition.FIELD_ACTIVE; import static org.sonar.server.user.index.UserIndexDefinition.FIELD_UUID; -public class AnonymizeActionTest { +public class AnonymizeActionIT { private final System2 system2 = new AlwaysIncreasingSystem2(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/ChangePasswordActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/ChangePasswordActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/ChangePasswordActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/ChangePasswordActionIT.java index 6a6b9842356..541119f52c7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/ChangePasswordActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/ChangePasswordActionIT.java @@ -66,7 +66,7 @@ import static org.sonarqube.ws.client.user.UsersWsParameters.PARAM_LOGIN; import static org.sonarqube.ws.client.user.UsersWsParameters.PARAM_PASSWORD; import static org.sonarqube.ws.client.user.UsersWsParameters.PARAM_PREVIOUS_PASSWORD; -public class ChangePasswordActionTest { +public class ChangePasswordActionIT { private static final String OLD_PASSWORD = "1234"; private static final String NEW_PASSWORD = "12345"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CreateActionIT.java index b3c28f51d3c..3d02f26e426 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CreateActionIT.java @@ -63,7 +63,7 @@ import static org.sonar.server.user.index.UserIndexDefinition.FIELD_LOGIN; import static org.sonar.server.user.index.UserIndexDefinition.FIELD_NAME; import static org.sonar.server.user.index.UserIndexDefinition.FIELD_SCM_ACCOUNTS; -public class CreateActionTest { +public class CreateActionIT { private final MapSettings settings = new MapSettings().setProperty("sonar.internal.pbkdf2.iterations", "1"); private final System2 system2 = new AlwaysIncreasingSystem2(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CurrentActionHomepageTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CurrentActionHomepageIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CurrentActionHomepageTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CurrentActionHomepageIT.java index b4c43915783..2fe8f9dc50b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CurrentActionHomepageTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CurrentActionHomepageIT.java @@ -53,7 +53,7 @@ import static org.sonar.api.web.UserRole.USER; import static org.sonarqube.ws.Users.CurrentWsResponse.HomepageType.PROJECTS; @RunWith(DataProviderRunner.class) -public class CurrentActionHomepageTest { +public class CurrentActionHomepageIT { @Rule public UserSessionRule userSessionRule = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CurrentActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CurrentActionIT.java index 5ad05cde4cf..ea9f7f3abf4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/CurrentActionIT.java @@ -52,7 +52,7 @@ import static org.sonar.db.permission.GlobalPermission.SCAN; import static org.sonar.db.user.GroupTesting.newGroupDto; import static org.sonar.test.JsonAssert.assertJson; -public class CurrentActionTest { +public class CurrentActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/DeactivateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DeactivateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/DeactivateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DeactivateActionIT.java index f070e3b346f..08ef9170955 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/DeactivateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DeactivateActionIT.java @@ -69,7 +69,7 @@ import static org.sonar.server.user.index.UserIndexDefinition.FIELD_ACTIVE; import static org.sonar.server.user.index.UserIndexDefinition.FIELD_UUID; import static org.sonar.test.JsonAssert.assertJson; -public class DeactivateActionTest { +public class DeactivateActionIT { private final System2 system2 = new AlwaysIncreasingSystem2(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/DismissNoticeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/DismissNoticeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java index 0b21e138b1b..ef7427b9f58 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/DismissNoticeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/DismissNoticeActionIT.java @@ -34,7 +34,7 @@ import org.sonar.server.ws.WsActionTester; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class DismissNoticeActionTest { +public class DismissNoticeActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/GroupsActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/GroupsActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/GroupsActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/GroupsActionIT.java index 70f71cf5e8c..af07217fedd 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/GroupsActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/GroupsActionIT.java @@ -48,7 +48,7 @@ import static org.sonar.db.user.GroupTesting.newGroupDto; import static org.sonar.db.user.UserTesting.newUserDto; import static org.sonar.test.JsonAssert.assertJson; -public class GroupsActionTest { +public class GroupsActionIT { private static final String USER_LOGIN = "john"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/IdentityProvidersActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/IdentityProvidersActionIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/IdentityProvidersActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/IdentityProvidersActionIT.java index ceec462a8b7..27688bee7c7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/IdentityProvidersActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/IdentityProvidersActionIT.java @@ -31,7 +31,7 @@ import org.sonar.server.ws.WsActionTester; import static org.assertj.core.api.Assertions.assertThat; import static org.sonar.test.JsonAssert.assertJson; -public class IdentityProvidersActionTest { +public class IdentityProvidersActionIT { @Rule public IdentityProviderRepositoryRule identityProviderRepository = new IdentityProviderRepositoryRule() diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/SearchActionIT.java index 95cb1d2944d..d549d956e2b 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/SearchActionIT.java @@ -46,7 +46,7 @@ import static org.assertj.core.api.Assertions.tuple; import static org.sonar.api.utils.DateUtils.formatDateTime; import static org.sonar.test.JsonAssert.assertJson; -public class SearchActionTest { +public class SearchActionIT { @Rule public EsTester es = EsTester.create(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/SetHomepageActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/SetHomepageActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/SetHomepageActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/SetHomepageActionIT.java index e660d35d322..03575fba96f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/SetHomepageActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/SetHomepageActionIT.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.server.user.ws.SetHomepageAction.PARAM_COMPONENT; import static org.sonar.server.user.ws.SetHomepageAction.PARAM_TYPE; -public class SetHomepageActionTest { +public class SetHomepageActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateActionIT.java index 3c64f5f2eae..6f45e83a06d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateActionIT.java @@ -49,7 +49,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.sonar.db.user.UserTesting.newUserDto; -public class UpdateActionTest { +public class UpdateActionIT { private final MapSettings settings = new MapSettings().setProperty("sonar.internal.pbkdf2.iterations", "1"); private final System2 system2 = new System2(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateIdentityProviderActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateIdentityProviderActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateIdentityProviderActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateIdentityProviderActionIT.java index 85cd8aabaf9..97a020eb7fd 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateIdentityProviderActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateIdentityProviderActionIT.java @@ -48,7 +48,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.sonar.db.user.UserTesting.newUserDto; -public class UpdateIdentityProviderActionTest { +public class UpdateIdentityProviderActionIT { private final static String SQ_AUTHORITY = "sonarqube"; @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateLoginActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateLoginActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateLoginActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateLoginActionIT.java index b4b5cdff628..d36a5bcccb5 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UpdateLoginActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UpdateLoginActionIT.java @@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.api.Assertions.tuple; import static org.mockito.Mockito.mock; -public class UpdateLoginActionTest { +public class UpdateLoginActionIT { private final System2 system2 = new System2(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UserAnonymizerTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UserAnonymizerIT.java similarity index 98% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UserAnonymizerTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UserAnonymizerIT.java index 4034bb0952e..e10daea53a4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/UserAnonymizerTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/user/ws/UserAnonymizerIT.java @@ -31,7 +31,7 @@ import org.sonar.server.user.ExternalIdentity; import static org.assertj.core.api.Assertions.assertThat; -public class UserAnonymizerTest { +public class UserAnonymizerIT { private final System2 system2 = new AlwaysIncreasingSystem2(); @Rule public DbTester db = DbTester.create(system2); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/AddUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/AddUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/AddUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/AddUserActionIT.java index e1f68057004..63b9bc81f47 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/AddUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/AddUserActionIT.java @@ -43,7 +43,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER; import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_GROUP_NAME; import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_LOGIN; -public class AddUserActionTest { +public class AddUserActionIT { @Rule public DbTester db = DbTester.create(new AlwaysIncreasingSystem2()); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/CreateActionIT.java index 5d36c72fdc3..ee83accb75c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/CreateActionIT.java @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.assertj.core.api.Assertions.tuple; import static org.sonar.db.permission.GlobalPermission.ADMINISTER; -public class CreateActionTest { +public class CreateActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); @Rule diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/DeleteActionIT.java index 40f4f244fbf..713ee70379e 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/DeleteActionIT.java @@ -46,7 +46,7 @@ import static org.assertj.core.api.Assertions.tuple; import static org.sonar.db.permission.GlobalPermission.ADMINISTER; import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_GROUP_NAME; -public class DeleteActionTest { +public class DeleteActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/RemoveUserActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/RemoveUserActionIT.java index 31d35912391..a8cef179bf1 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/RemoveUserActionIT.java @@ -44,7 +44,7 @@ import static org.sonar.db.permission.GlobalPermission.ADMINISTER; import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_GROUP_NAME; import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_LOGIN; -public class RemoveUserActionTest { +public class RemoveUserActionIT { @Rule public DbTester db = DbTester.create(new AlwaysIncreasingSystem2()); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/SearchActionIT.java index f4f69166a27..928433dd6e8 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/SearchActionIT.java @@ -49,7 +49,7 @@ import static org.sonar.test.JsonAssert.assertJson; import static org.sonarqube.ws.UserGroups.Group; import static org.sonarqube.ws.UserGroups.SearchWsResponse; -public class SearchActionTest { +public class SearchActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/UpdateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/UpdateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/UpdateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/UpdateActionIT.java index 47dc31b26f9..c0e9c08e7f4 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/UpdateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/UpdateActionIT.java @@ -43,7 +43,7 @@ import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_GROUP_DESCRIPT import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_GROUP_NAME; import static org.sonar.test.JsonAssert.assertJson; -public class UpdateActionTest { +public class UpdateActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/UsersActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/UsersActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/UsersActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/UsersActionIT.java index aabd7b18189..5d7bd14305d 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usergroups/ws/UsersActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usergroups/ws/UsersActionIT.java @@ -44,7 +44,7 @@ import static org.sonar.db.user.UserTesting.newUserDto; import static org.sonar.server.usergroups.ws.GroupWsSupport.PARAM_GROUP_NAME; import static org.sonar.test.JsonAssert.assertJson; -public class UsersActionTest { +public class UsersActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/GenerateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/GenerateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/GenerateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/GenerateActionIT.java index df760ddcdf3..be1192976ff 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/GenerateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/GenerateActionIT.java @@ -74,7 +74,7 @@ import static org.sonar.server.usertoken.ws.UserTokenSupport.PARAM_PROJECT_KEY; import static org.sonar.server.usertoken.ws.UserTokenSupport.PARAM_TYPE; import static org.sonar.test.JsonAssert.assertJson; -public class GenerateActionTest { +public class GenerateActionIT { private static final String TOKEN_NAME = "Third Party Application"; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/RevokeActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/RevokeActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/RevokeActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/RevokeActionIT.java index 6dcd4ddf181..c819e7bcf55 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/RevokeActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/RevokeActionIT.java @@ -41,7 +41,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.server.usertoken.ws.UserTokenSupport.PARAM_LOGIN; import static org.sonar.server.usertoken.ws.UserTokenSupport.PARAM_NAME; -public class RevokeActionTest { +public class RevokeActionIT { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/SearchActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/SearchActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/SearchActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/SearchActionIT.java index 5b69cf5e619..134107f5586 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/SearchActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/usertoken/ws/SearchActionIT.java @@ -45,7 +45,7 @@ import static org.sonar.api.utils.DateUtils.formatDateTime; import static org.sonar.server.usertoken.ws.UserTokenSupport.PARAM_LOGIN; import static org.sonar.test.JsonAssert.assertJson; -public class SearchActionTest { +public class SearchActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/CreateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/CreateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/CreateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/CreateActionIT.java index 1c2df953d0b..d4fbf7ac326 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/CreateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/CreateActionIT.java @@ -56,7 +56,7 @@ import static org.sonar.server.webhook.ws.WebhooksWsParameters.URL_PARAM; import static org.sonar.server.ws.KeyExamples.NAME_WEBHOOK_EXAMPLE_001; import static org.sonar.server.ws.KeyExamples.URL_WEBHOOK_EXAMPLE_001; -public class CreateActionTest { +public class CreateActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/DeleteActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/DeleteActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/DeleteActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/DeleteActionIT.java index 9d32494811e..3a318df31e7 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/DeleteActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/DeleteActionIT.java @@ -53,7 +53,7 @@ import static org.sonar.db.webhook.WebhookDeliveryTesting.newDto; import static org.sonar.server.tester.UserSessionRule.standalone; import static org.sonar.server.webhook.ws.WebhooksWsParameters.KEY_PARAM; -public class DeleteActionTest { +public class DeleteActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/ListActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/ListActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/ListActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/ListActionIT.java index 5d62be603f8..6fa36bcbf52 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/ListActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/ListActionIT.java @@ -56,7 +56,7 @@ import static org.sonar.db.webhook.WebhookTesting.newGlobalWebhook; import static org.sonar.server.tester.UserSessionRule.standalone; import static org.sonar.server.webhook.ws.WebhooksWsParameters.PROJECT_KEY_PARAM; -public class ListActionTest { +public class ListActionIT { private static final long NOW = 1_500_000_000L; private static final long BEFORE = NOW - 1_000L; diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/UpdateActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/UpdateActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/UpdateActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/UpdateActionIT.java index 75c2c8504ec..a614c3cad88 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/UpdateActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/UpdateActionIT.java @@ -52,7 +52,7 @@ import static org.sonar.server.tester.UserSessionRule.standalone; import static org.sonar.server.ws.KeyExamples.NAME_WEBHOOK_EXAMPLE_001; import static org.sonar.server.ws.KeyExamples.URL_WEBHOOK_EXAMPLE_001; -public class UpdateActionTest { +public class UpdateActionIT { @Rule public UserSessionRule userSession = standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionIT.java index c99cd84630f..fd608bae072 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/WebhookDeliveriesActionIT.java @@ -45,7 +45,7 @@ import static org.assertj.core.api.Assertions.tuple; import static org.sonar.db.webhook.WebhookDeliveryTesting.newDto; import static org.sonar.test.JsonAssert.assertJson; -public class WebhookDeliveriesActionTest { +public class WebhookDeliveriesActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/WebhookDeliveryActionTest.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/WebhookDeliveryActionIT.java similarity index 99% rename from server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/WebhookDeliveryActionTest.java rename to server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/WebhookDeliveryActionIT.java index 041cbb7cc8e..379bce8af7c 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/webhook/ws/WebhookDeliveryActionTest.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/webhook/ws/WebhookDeliveryActionIT.java @@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.db.webhook.WebhookDeliveryTesting.newDto; import static org.sonar.test.JsonAssert.assertJson; -public class WebhookDeliveryActionTest { +public class WebhookDeliveryActionIT { @Rule public UserSessionRule userSession = UserSessionRule.standalone(); diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/count_binding-example.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/count_binding-example.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/count_binding-example.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/count_binding-example.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/get_binding-example.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/get_binding-example.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/get_binding-example.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/get_binding-example.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/list-example.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/list-example.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/list-example.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/list-example.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/list_definitions-example.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/list_definitions-example.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/almsettings/ws/list_definitions-example.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/almsettings/ws/list_definitions-example.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_directory_facet.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_directory_facet.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_directory_facet.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_directory_facet.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_file_facet.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_file_facet.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_file_facet.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_file_facet.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_module_facet.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_module_facet.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_module_facet.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_module_facet.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_non_sticky_project_facet.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_non_sticky_project_facet.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_non_sticky_project_facet.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_non_sticky_project_facet.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_sticky_project_facet.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_sticky_project_facet.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/display_sticky_project_facet.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/display_sticky_project_facet.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/issues_on_different_projects.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/issues_on_different_projects.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/issues_on_different_projects.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/issues_on_different_projects.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/no_issue.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/no_issue.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/no_issue.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/no_issue.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_developer.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_developer.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_developer.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_developer.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_directory_uuid.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_directory_uuid.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_directory_uuid.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_directory_uuid.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_file_key.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_file_key.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_file_key.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_file_key.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_file_uuid.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_file_uuid.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_file_uuid.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_file_uuid.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_project_uuid.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_project_uuid.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_project_uuid.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_project_uuid.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_test_key.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_test_key.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_test_key.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_test_key.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_view_uuid.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_view_uuid.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_by_view_uuid.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_by_view_uuid.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_since_leak_period.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_since_leak_period.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionComponentsTest/search_since_leak_period.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionComponentsIT/search_since_leak_period.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/apply_paging_with_multiple_components.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/apply_paging_with_multiple_components.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/apply_paging_with_multiple_components.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/apply_paging_with_multiple_components.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/apply_paging_with_one_component.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/apply_paging_with_one_component.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/apply_paging_with_one_component.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/apply_paging_with_one_component.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/assignedToMe_facet_must_escape_login_of_authenticated_user.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/assignedToMe_facet_must_escape_login_of_authenticated_user.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/assignedToMe_facet_must_escape_login_of_authenticated_user.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/assignedToMe_facet_must_escape_login_of_authenticated_user.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/assigned_to_me_facet_sticky.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/assigned_to_me_facet_sticky.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/assigned_to_me_facet_sticky.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/assigned_to_me_facet_sticky.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/author_is_hidden.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/author_is_hidden.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/author_is_hidden.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/author_is_hidden.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/default_page_size_is_100.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/default_page_size_is_100.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/default_page_size_is_100.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/default_page_size_is_100.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/display_facets.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/display_facets.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/display_facets.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/display_facets.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/display_facets_effort.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/display_facets_effort.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/display_facets_effort.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/display_facets_effort.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/display_zero_facets.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/display_zero_facets.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/display_zero_facets.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/display_zero_facets.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/empty_result.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/empty_result.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/empty_result.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/empty_result.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_assigned_to_me.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_assigned_to_me.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_assigned_to_me.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_assigned_to_me.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_leak_period.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_leak_period.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_leak_period.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_leak_period.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_leak_period_has_no_effect_on_prs.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_leak_period_has_no_effect_on_prs.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_leak_period_has_no_effect_on_prs.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_leak_period_has_no_effect_on_prs.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_main_scope.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_main_scope.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_main_scope.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_main_scope.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_main_scope_2.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_main_scope_2.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_main_scope_2.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_main_scope_2.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_test_scope.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_test_scope.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/filter_by_test_scope.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/filter_by_test_scope.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/hide_rules.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/hide_rules.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/hide_rules.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/hide_rules.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/ignore_paging_with_one_component.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/ignore_paging_with_one_component.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/ignore_paging_with_one_component.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/ignore_paging_with_one_component.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/issue_on_removed_file.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/issue_on_removed_file.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/issue_on_removed_file.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/issue_on_removed_file.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/issue_with_comment_hidden.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/issue_with_comment_hidden.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/issue_with_comment_hidden.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/issue_with_comment_hidden.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/issue_with_comments.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/issue_with_comments.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/issue_with_comments.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/issue_with_comments.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/load_additional_fields.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/load_additional_fields.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/load_additional_fields.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/load_additional_fields.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/load_additional_fields_with_issue_admin_permission.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/load_additional_fields_with_issue_admin_permission.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/load_additional_fields_with_issue_admin_permission.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/load_additional_fields_with_issue_admin_permission.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/no_issue.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/no_issue.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/no_issue.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/no_issue.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/paging.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/paging.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/paging.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/paging.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/response_contains_all_fields_except_additional_fields.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/response_contains_all_fields_except_additional_fields.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/response_contains_all_fields_except_additional_fields.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/response_contains_all_fields_except_additional_fields.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/result_for_rule_search.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/result_for_rule_search.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/result_for_rule_search.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/issue/ws/SearchActionIT/result_for_rule_search.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/metric/ws/SearchActionTest/search_metrics.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/metric/ws/SearchActionIT/search_metrics.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/metric/ws/SearchActionTest/search_metrics.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/metric/ws/SearchActionIT/search_metrics.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/GroupsActionTest/groups.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/GroupsActionIT/groups.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/GroupsActionTest/groups.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/GroupsActionIT/groups.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/UsersActionTest/search_for_users_is_paginated.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/UsersActionIT/search_for_users_is_paginated.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/UsersActionTest/search_for_users_is_paginated.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/UsersActionIT/search_for_users_is_paginated.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/UsersActionTest/users.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/UsersActionIT/users.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/UsersActionTest/users.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/UsersActionIT/users.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionTest/display_all_project_permissions.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionIT/display_all_project_permissions.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionTest/display_all_project_permissions.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionIT/display_all_project_permissions.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionTest/empty.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionIT/empty.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionTest/empty.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/permission/ws/template/SearchTemplatesActionIT/empty.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/plugins/ws/InstalledActionTest/some.jar b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/plugins/ws/InstalledActionIT/some.jar similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/plugins/ws/InstalledActionTest/some.jar rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/plugins/ws/InstalledActionIT/some.jar diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualitygate/ws/ProjectStatusActionTest/measure_data.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualitygate/ws/ProjectStatusActionIT/measure_data.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualitygate/ws/ProjectStatusActionTest/measure_data.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualitygate/ws/ProjectStatusActionIT/measure_data.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/QProfileBackuperTest/duplicates-xml-backup.xml b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/QProfileBackuperIT/duplicates-xml-backup.xml similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/QProfileBackuperTest/duplicates-xml-backup.xml rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/QProfileBackuperIT/duplicates-xml-backup.xml diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/ChangelogActionTest/changelog_example.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/ChangelogActionIT/changelog_example.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/ChangelogActionTest/changelog_example.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/ChangelogActionIT/changelog_example.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest/compare_nominal.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT/compare_nominal.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest/compare_nominal.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT/compare_nominal.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest/compare_param_on_left.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT/compare_param_on_left.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest/compare_param_on_left.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT/compare_param_on_left.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest/compare_param_on_right.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT/compare_param_on_right.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CompareActionTest/compare_param_on_right.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CompareActionIT/compare_param_on_right.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CreateActionTest/test_json.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CreateActionIT/test_json.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/CreateActionTest/test_json.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/CreateActionIT/test_json.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/InheritanceActionTest/inheritance-buWide.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/InheritanceActionIT/inheritance-buWide.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/InheritanceActionTest/inheritance-buWide.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/InheritanceActionIT/inheritance-buWide.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/InheritanceActionTest/inheritance-simple.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/InheritanceActionIT/inheritance-simple.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/InheritanceActionTest/inheritance-simple.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/InheritanceActionIT/inheritance-simple.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest/bulk_activate_rule.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT/bulk_activate_rule.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest/bulk_activate_rule.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT/bulk_activate_rule.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest/bulk_activate_rule_not_all.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT/bulk_activate_rule_not_all.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest/bulk_activate_rule_not_all.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT/bulk_activate_rule_not_all.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest/does_not_return_warnings_when_bulk_activate_on_profile_and_rules_exist_on_another_language_than_profile.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT/does_not_return_warnings_when_bulk_activate_on_profile_and_rules_exist_on_another_language_than_profile.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumTest/does_not_return_warnings_when_bulk_activate_on_profile_and_rules_exist_on_another_language_than_profile.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/QProfilesWsMediumIT/does_not_return_warnings_when_bulk_activate_on_profile_and_rules_exist_on_another_language_than_profile.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/RestoreActionTest/restore_profile.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/RestoreActionIT/restore_profile.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/qualityprofile/ws/RestoreActionTest/restore_profile.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/qualityprofile/ws/RestoreActionIT/restore_profile.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_common.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_common.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_common.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_common.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_java.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_java.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_java.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_java.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_sonar.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_sonar.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_sonar.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_sonar.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_ws.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_ws.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_ws.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_ws.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_xoo.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_xoo.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/RepositoriesActionTest/repositories_xoo.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/RepositoriesActionIT/repositories_xoo.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/SearchActionTest/paging.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/SearchActionIT/paging.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/rule/ws/SearchActionTest/paging.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/rule/ws/SearchActionIT/paging.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_close_to_each_other.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_close_to_each_other.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_close_to_each_other.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_close_to_each_other.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_multiple_locations.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_multiple_locations.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_multiple_locations.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_multiple_locations.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_single_location.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_single_location.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_single_location.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_single_location.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_with_measures.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_with_measures.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/IssueSnippetsActionTest/issue_snippets_with_measures.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/IssueSnippetsActionIT/issue_snippets_with_measures.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/convert_deprecated_data.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/convert_deprecated_data.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/convert_deprecated_data.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/convert_deprecated_data.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/display_deprecated_fields.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/display_deprecated_fields.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/display_deprecated_fields.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/display_deprecated_fields.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/generated_isNew.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/generated_isNew.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/generated_isNew.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/generated_isNew.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/hide_scmAuthors.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/hide_scmAuthors.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/hide_scmAuthors.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/hide_scmAuthors.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_paginated_lines.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_paginated_lines.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_paginated_lines.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_paginated_lines.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_scmAuthors.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_scmAuthors.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_scmAuthors.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_scmAuthors.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_source.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_source.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_source.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_source.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_source_by_file_key.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_source_by_file_key.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/LinesActionTest/show_source_by_file_key.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/LinesActionIT/show_source_by_file_key.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/accept_negative_value_in_from_parameter.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/accept_negative_value_in_from_parameter.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/accept_negative_value_in_from_parameter.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/accept_negative_value_in_from_parameter.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/group_lines_by_commit.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/group_lines_by_commit.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/group_lines_by_commit.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/group_lines_by_commit.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/not_group_lines_by_commit.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/not_group_lines_by_commit.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/not_group_lines_by_commit.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/not_group_lines_by_commit.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/return_empty_value_when_no_scm.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/return_empty_value_when_no_scm.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/return_empty_value_when_no_scm.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/return_empty_value_when_no_scm.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/show_scm.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/show_scm.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/show_scm.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/show_scm.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/show_scm_from_given_range_lines.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/show_scm_from_given_range_lines.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ScmActionTest/show_scm_from_given_range_lines.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ScmActionIT/show_scm_from_given_range_lines.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ShowActionTest/show_source.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ShowActionIT/show_source.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ShowActionTest/show_source.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ShowActionIT/show_source.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ShowActionTest/show_source_with_params_from_and_to.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ShowActionIT/show_source_with_params_from_and_to.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/source/ws/ShowActionTest/show_source_with_params_from_and_to.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/source/ws/ShowActionIT/show_source_with_params_from_and_to.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_bread_crumbs_on_several_levels.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_bread_crumbs_on_several_levels.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_bread_crumbs_on_several_levels.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_bread_crumbs_on_several_levels.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_anonymous_no_snapshot.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_anonymous_no_snapshot.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_anonymous_no_snapshot.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_anonymous_no_snapshot.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_file_on_branch.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_file_on_branch.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_file_on_branch.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_file_on_branch.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_file_on_master.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_file_on_master.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_file_on_master.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_file_on_master.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_snapshot.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_snapshot.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_snapshot.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_when_snapshot.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_with_favourite.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_with_favourite.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_with_favourite.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_component_info_with_favourite.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_for_admin.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_for_admin.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_for_admin.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_for_admin.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_for_quality_gate_admin.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_for_quality_gate_admin.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_for_quality_gate_admin.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_for_quality_gate_admin.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_for_quality_profile_admin.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_for_quality_profile_admin.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_for_quality_profile_admin.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_for_quality_profile_admin.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_with_all_properties.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_with_all_properties.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_configuration_with_all_properties.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_configuration_with_all_properties.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_default_quality_gate.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_default_quality_gate.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_default_quality_gate.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_default_quality_gate.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_deleted_quality_profiles.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_deleted_quality_profiles.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_deleted_quality_profiles.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_deleted_quality_profiles.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_empty_quality_profiles_when_no_measure.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_empty_quality_profiles_when_no_measure.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_empty_quality_profiles_when_no_measure.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_empty_quality_profiles_when_no_measure.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_extensions.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_extensions.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_extensions.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_extensions.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_extensions_for_admin.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_extensions_for_admin.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_extensions_for_admin.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_extensions_for_admin.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_quality_gate.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_quality_gate.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_quality_gate.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_quality_gate.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_quality_profiles.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_quality_profiles.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_quality_profiles.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/ComponentActionIT/return_quality_profiles.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/SettingsActionTest/empty.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/SettingsActionIT/empty.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/SettingsActionTest/empty.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/SettingsActionIT/empty.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/SettingsActionTest/with_pages.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/SettingsActionIT/with_pages.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/SettingsActionTest/with_pages.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/SettingsActionIT/with_pages.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/SettingsActionTest/with_update_center.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/SettingsActionIT/with_update_center.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/ui/ws/SettingsActionTest/with_update_center.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/ui/ws/SettingsActionIT/with_update_center.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/CreateActionTest/create_user.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/CreateActionIT/create_user.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/CreateActionTest/create_user.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/CreateActionIT/create_user.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/CreateActionTest/reactivate_user.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/CreateActionIT/reactivate_user.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/CreateActionTest/reactivate_user.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/CreateActionIT/reactivate_user.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/blank_email_is_updated_to_null.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/blank_email_is_updated_to_null.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/blank_email_is_updated_to_null.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/blank_email_is_updated_to_null.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_email.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_email.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_email.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_email.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_name.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_name.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_name.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_name.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_scm_accounts.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_scm_accounts.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_scm_accounts.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_scm_accounts.json diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_user.json b/server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_user.json similarity index 100% rename from server/sonar-webserver-webapi/src/test/resources/org/sonar/server/user/ws/UpdateActionTest/update_user.json rename to server/sonar-webserver-webapi/src/it/resources/org/sonar/server/user/ws/UpdateActionIT/update_user.json diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/LogoutActionTest.java b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/LogoutActionTest.java index ba136fc5279..bb7f24fe945 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/LogoutActionTest.java +++ b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/LogoutActionTest.java @@ -49,8 +49,6 @@ public class LogoutActionTest { private static final UserDto USER = newUserDto().setLogin("john"); - @Rule - public DbTester dbTester = DbTester.create(System2.INSTANCE); private HttpServletRequest request = mock(HttpServletRequest.class); private HttpServletResponse response = mock(HttpServletResponse.class); diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/SvgGeneratorTest.java b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/SvgGeneratorTest.java index e3df2d03aeb..962f34c0b63 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/SvgGeneratorTest.java +++ b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/badge/ws/SvgGeneratorTest.java @@ -37,11 +37,6 @@ import static org.sonar.server.badge.ws.SvgGenerator.Color.DEFAULT; public class SvgGeneratorTest { - @Rule - public UserSessionRule userSession = UserSessionRule.standalone(); - @Rule - public DbTester db = DbTester.create(); - private SvgGenerator underTest; @Test diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/ProjectMeasuresQueryFactoryTest.java b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/ProjectMeasuresQueryFactoryTest.java index f1527779f6a..1c773d8e71f 100644 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/ProjectMeasuresQueryFactoryTest.java +++ b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/ws/ProjectMeasuresQueryFactoryTest.java @@ -45,9 +45,6 @@ import static org.sonar.server.measure.index.ProjectMeasuresQuery.Operator.LTE; public class ProjectMeasuresQueryFactoryTest { - @Rule - public UserSessionRule userSession = UserSessionRule.standalone(); - @Test public void create_query() { List criteria = asList( diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/TestMeasureUpdateFormulaFactory.java b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/TestMeasureUpdateFormulaFactory.java deleted file mode 100644 index 84bfecbeb94..00000000000 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/measure/live/TestMeasureUpdateFormulaFactory.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2023 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -package org.sonar.server.measure.live; - -import java.util.List; -import java.util.Set; -import org.sonar.api.measures.Metric; - -class TestMeasureUpdateFormulaFactory implements MeasureUpdateFormulaFactory { - - private final List formulas; - - TestMeasureUpdateFormulaFactory(List formulas) { - this.formulas = formulas; - } - - @Override - public List getFormulas() { - return formulas; - } - - @Override - public Set getFormulaMetrics() { - return MeasureUpdateFormulaFactory.extractMetrics(formulas); - } -} diff --git a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateConverterTest.java b/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateConverterTest.java deleted file mode 100644 index 8247f74ca2c..00000000000 --- a/server/sonar-webserver-webapi/src/test/java/org/sonar/server/qualitygate/QualityGateConverterTest.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2023 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -package org.sonar.server.qualitygate; - -import org.junit.Test; - -public class QualityGateConverterTest { - - @Test - public void test_ToJson() { - // FIXME - } - -} diff --git a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/batch/ProjectActionTest/project_referentials.json b/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/batch/ProjectActionTest/project_referentials.json deleted file mode 100644 index ff04061219e..00000000000 --- a/server/sonar-webserver-webapi/src/test/resources/org/sonar/server/batch/ProjectActionTest/project_referentials.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "timestamp": 0, - "qprofilesByLanguage": { - "java": { - "key": "abcd", - "name": "Default", - "language": "java", - "rulesUpdatedAt": "2014-01-14T13:00:00+0100" - } - }, - "activeRules": [ - { - "repositoryKey": "squid", - "ruleKey": "AvoidCycle", - "name": "Avoid Cycle", - "severity": "MINOR", - "internalKey": "squid-1", - "language": "java", - "params": { - "max" : "2" - } - } - ], - "settingsByModule": { - "org.codehaus.sonar:sonar": { - "sonar.jira.project.key": "SONAR", - "sonar.jira.login.secured": "john" - } - }, - "fileDataByModuleAndPath": {} -} -- 2.39.5