]> source.dussan.org Git - sonarqube.git/commit
SONAR-21647 Migrate DAO IT (#10676)
authorOrlovAlexander <35396155+OrlovAlexander85@users.noreply.github.com>
Thu, 22 Feb 2024 10:55:34 +0000 (11:55 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 22 Feb 2024 20:02:53 +0000 (20:02 +0000)
commit1977da91cd025d92fa64b608f5244937e2afba96
tree28f6d1b53b17c5eaee7685983ecfebed7b03c021
parent5d0acc25ee67fd9e8a41299bb602c95acf94fad1
SONAR-21647 Migrate DAO IT (#10676)
193 files changed:
build.gradle
server/sonar-db-dao/build.gradle
server/sonar-db-dao/src/it/java/org/sonar/db/DatabaseMBeanIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/IsAliveMapperIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/MyBatisIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/SQDatabaseForH2IT.java
server/sonar-db-dao/src/it/java/org/sonar/db/alm/pat/AlmPatDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/alm/pat/AlmPatDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/alm/setting/AlmSettingDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/alm/setting/AlmSettingDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/alm/setting/ProjectAlmSettingDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/alm/setting/ProjectAlmSettingDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/audit/AuditDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/ce/CeActivityDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/ce/CeQueueDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/ce/CeScannerContextDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/ce/CeTaskCharacteristicDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/ce/CeTaskInputDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/ce/CeTaskMessageDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/AnalysisPropertiesDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/ApplicationProjectsDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/BranchDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/ComponentDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/ComponentKeyUpdaterDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/ProjectLinkDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/ScrollForFileMoveComponentDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/component/SnapshotDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/duplication/DuplicationDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/entity/EntityDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/es/EsQueueDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/event/EventComponentChangeDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/event/EventDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/issue/AnticipatedTransitionDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/issue/IssueChangeDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/issue/IssueChangeMapperIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/issue/IssueDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/issue/IssueFixedDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/issue/IssueMapperIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/measure/LiveMeasureDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/measure/MeasureDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/measure/ProjectMeasuresIndexerIteratorIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/metric/MetricDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/newcodeperiod/NewCodePeriodDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/notification/NotificationQueueDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/AuthorizationDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/GroupPermissionDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/GroupPermissionDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/UserPermissionDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/UserPermissionDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/template/GroupWithPermissionTemplateDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/template/PermissionTemplateCharacteristicDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/template/PermissionTemplateCharacteristicDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/template/PermissionTemplateDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/template/PermissionTemplateDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/permission/template/UserWithPermissionTemplateDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/plugin/PluginDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/plugin/PluginDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/portfolio/PortfolioDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/project/ProjectBadgeTokenDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/project/ProjectDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/project/ProjectExportDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/property/InternalComponentPropertiesDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/property/InternalPropertiesDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/property/PropertiesDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/property/PropertiesDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/provisioning/GithubOrganizationGroupDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/provisioning/GithubPermissionsMappingDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/purge/PurgeCommandsIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/purge/PurgeDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/purge/PurgeDaoWithAuditIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/purge/PurgeMapperIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/pushevent/PushEventDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualitygate/ProjectQgateAssociationDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualitygate/QualityGateConditionDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualitygate/QualityGateDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualitygate/QualityGateGroupPermissionsDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualitygate/QualityGateUserPermissionsDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualityprofile/ActiveRuleDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualityprofile/DefaultQProfileDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualityprofile/QProfileChangeDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualityprofile/QProfileEditGroupsDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualityprofile/QProfileEditUsersDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualityprofile/QualityProfileDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/qualityprofile/QualityProfileExportDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/report/RegulatoryReportDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/report/ReportScheduleDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/report/ReportSubscriptionDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/rule/RuleChangeDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/rule/RuleDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/rule/RuleRepositoryDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/scannercache/ScannerAnalysisCacheDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/schemamigration/SchemaMigrationDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/scim/ScimUserDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/source/FileSourceDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/ExternalGroupDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/GroupDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/GroupDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/GroupMembershipDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/RoleDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/SamlMessageIdDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/SessionTokensDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/UserDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/UserDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/UserDismissedMessagesDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/UserGroupDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/UserGroupDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/UserTokenDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/user/UserTokenDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/webhook/WebhookDaoIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/webhook/WebhookDaoWithPersisterIT.java
server/sonar-db-dao/src/it/java/org/sonar/db/webhook/WebhookDeliveryDaoIT.java
server/sonar-db-dao/src/test/java/org/sonar/api/notifications/NotificationTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/BatchSessionTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/DBSessionsImplTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/DaoModuleTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/DaoUtilsTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/DbSessionImplTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/OffsetBasedPaginationTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/PaginationTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/StartMyBatisTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/audit/model/ComponentKeyNewValueTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/audit/model/ComponentNewValueTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/audit/model/LicenseNewValueTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/audit/model/UserNewValueTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/audit/model/WebhookNewValueTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/CeActivityDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/CeQueueDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/CeTaskCharacteristicDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/CeTaskDtoLightTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/CeTaskMessageDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/CeTaskQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/LogsIteratorInputStreamTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/ce/UpdateIfTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/AnalysisPropertyDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/BranchDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentTreeQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentValidatorTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/ProjectLinkDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/ScrapAnalysisPropertyDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/SnapshotDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/component/SnapshotQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/entity/EntityDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/event/EventDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/event/EventValidatorTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/issue/IndexedIssueDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/issue/IssueChangeDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/issue/IssueDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/issue/IssueQueryParamsTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/issue/NewCodeReferenceIssueDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/measure/LargestBranchNclocDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/measure/MeasureDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/measure/MeasureTreeQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/measure/PastMeasureDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/metric/MetricDtoFunctionsTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/metric/MetricDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/metric/RemovedMetricConverterTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/newcodeperiod/NewCodePeriodDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/GlobalPermissionTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/PermissionQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/UserPermissionDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/template/DefaultTemplatesTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/template/PermissionTemplateCharacteristicDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/portfolio/PortfolioDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/project/CreationMethodTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/property/InternalComponentPropertyDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/property/PropertyDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/PurgeConfigurationTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/PurgeProfilerTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/PurgeableAnalysisDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/period/DefaultPeriodCleanerTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/period/DeleteAllFilterTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/period/IntervalTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/period/KeepOneFilterTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/purge/period/KeepWithVersionFilterTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/qualityprofile/ActiveRuleKeyTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/qualityprofile/ActiveRuleParamDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/qualityprofile/QProfileChangeDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/rule/RuleDescriptionSectionContextDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/rule/RuleDescriptionSectionDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/rule/RuleDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/rule/RuleForIndexingDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/scim/ScimGroupDaoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/scim/ScimGroupQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/scim/ScimUserDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/scim/ScimUserQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/source/FileSourceDtoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/source/LineHashVersionTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/user/GroupMembershipQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/user/UserQueryTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/user/UserTokenDtoTest.java
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/DbTester.java