From ffe809c197e25b98c8edd27491aeab694f98cc59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?L=C3=A9o=20Geoffroy?= Date: Wed, 15 Mar 2023 10:39:13 +0100 Subject: [PATCH] SONAR-18679 update UTs to ITs sonar-ce --- .../java/org/sonar/ce/queue/CeQueueImplIT.java} | 2 +- .../component/ComponentUuidFactoryImplIT.java} | 2 +- .../component/ProjectPersisterIT.java} | 2 +- .../component/ReferenceBranchComponentUuidsIT.java} | 2 +- .../SiblingComponentsWithOpenIssuesIT.java} | 2 +- .../projectanalysis/issue/AdHocRuleCreatorIT.java} | 2 +- .../issue/ClosedIssuesInputFactoryIT.java} | 2 +- .../issue/ComponentIssuesLoaderIT.java} | 2 +- .../projectanalysis/issue/DefaultAssigneeIT.java} | 2 +- .../issue/IntegrateIssuesVisitorIT.java} | 2 +- .../issue/ProjectTrackerBaseLazyInputIT.java} | 2 +- .../issue/ScmAccountToUserLoaderIT.java} | 2 +- .../issue/SiblingsIssueMergerIT.java} | 2 +- .../issue/SourceBranchComponentUuidsIT.java} | 2 +- .../issue/TargetBranchComponentUuidsIT.java} | 2 +- .../TrackerReferenceBranchInputFactoryIT.java} | 2 +- .../issue/TrackerSourceBranchInputFactoryIT.java} | 2 +- .../issue/TrackerTargetBranchInputFactoryIT.java} | 2 +- .../measure/MeasureRepositoryImplIT.java} | 2 +- .../NewCodeReferenceBranchComponentUuidsIT.java} | 2 +- .../source/DbLineHashVersionIT.java} | 2 +- .../source/PersistFileSourcesStepIT.java} | 2 +- .../step/CleanIssueChangesStepIT.java} | 2 +- .../projectanalysis/step/EnableAnalysisStepIT.java} | 2 +- .../projectanalysis/step/ExtractReportStepIT.java} | 4 ++-- .../projectanalysis/step/IndexAnalysisStepIT.java} | 2 +- .../step/LoadFileHashesAndStatusStepIT.java} | 2 +- .../projectanalysis/step/LoadPeriodsStepIT.java} | 2 +- .../LoadReportAnalysisMetadataHolderStepIT.java} | 2 +- .../step/PersistAdHocRulesStepIT.java} | 2 +- .../step/PersistDuplicationDataStepIT.java} | 2 +- .../projectanalysis/step/PersistIssuesStepIT.java} | 2 +- .../step/PersistLiveMeasuresStepIT.java} | 2 +- .../step/PersistMeasuresStepIT.java} | 2 +- .../step/PersistProjectLinksStepIT.java} | 2 +- .../step/PersistPushEventsStepIT.java} | 2 +- .../step/PersistScannerAnalysisCacheStepIT.java} | 2 +- .../step/PersistScannerContextStepIT.java} | 2 +- .../step/ReportPersistAnalysisStepIT.java} | 2 +- .../step/ReportPersistComponentsStepIT.java} | 2 +- .../step/SendIssueNotificationsStepIT.java} | 2 +- .../step/UpdateNeedIssueSyncStepIT.java} | 2 +- .../UpdateQualityProfilesLastUsedDateStepIT.java} | 2 +- .../step/ValidateProjectStepIT.java} | 3 +-- .../step/ViewsPersistAnalysisStepIT.java} | 2 +- .../step/ViewsPersistComponentsStepIT.java} | 2 +- .../AuditHousekeepingFrequencyHelperIT.java} | 2 +- .../taskprocessor/AuditPurgeStepIT.java} | 2 +- .../taskprocessor/IndexIssuesStepIT.java} | 2 +- .../analysis/ExportAnalysesStepIT.java} | 2 +- .../branches/ExportBranchesStepIT.java} | 2 +- .../projectexport/file/ExportLineHashesStepIT.java} | 2 +- .../issue/ExportIssuesChangelogStepIT.java} | 2 +- .../projectexport/issue/ExportIssuesStepIT.java} | 2 +- .../projectexport/rule/ExportAdHocRulesStepIT.java} | 2 +- .../projectexport/steps/ExportEventsStepIT.java} | 2 +- .../projectexport/steps/ExportLinksStepIT.java} | 2 +- .../steps/ExportLiveMeasuresStepIT.java} | 2 +- .../projectexport/steps/ExportMetricsStepIT.java} | 4 +--- .../steps/ExportNewCodePeriodsStepIT.java} | 2 +- .../projectexport/steps/ExportSettingsStepIT.java} | 2 +- .../projectexport/steps/LoadProjectStepIT.java} | 2 +- .../step/ExtractReportStepIT}/zip-bomb.zip | Bin .../ce/task/projectexport/issue/rubbish_data.txt | 0 .../sonar/ce/task/log/CeTaskMessagesImplIT.java} | 2 +- .../AnalysisCacheCleaningSchedulerImplIT.java} | 3 +-- .../ce/container/ComputeEngineContainerImplIT.java} | 2 +- .../sonar/ce/monitoring/CeDatabaseMBeanImplIT.java} | 2 +- ...ysisFailureNotificationExecutionListenerIT.java} | 2 +- .../org/sonar/ce/queue/InternalCeQueueImplIT.java} | 2 +- .../sonar/ce/queue/NextPendingTaskPickerIT.java} | 2 +- .../org/sonar/ce/taskprocessor/CeWorkerImplIT.java} | 2 +- 72 files changed, 71 insertions(+), 75 deletions(-) rename server/sonar-ce-common/src/{test/java/org/sonar/ce/queue/CeQueueImplTest.java => it/java/org/sonar/ce/queue/CeQueueImplIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplTest.java => it/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterTest.java => it/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsTest.java => it/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesTest.java => it/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryTest.java => it/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplTest.java => it/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsTest.java => it/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionTest.java => it/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepTest.java => it/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT.java} (97%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepTest.java => it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperTest.java => it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepTest.java => it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepTest.java => it/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepTest.java => it/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepTest.java => it/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepTest.java => it/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepTest.java => it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepTest.java => it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepTest.java => it/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepTest.java => it/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepTest.java => it/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepTest.java => it/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepTest.java => it/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepIT.java} (97%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepTest.java => it/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepTest.java => it/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepIT.java} (99%) rename server/sonar-ce-task-projectanalysis/src/{test/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepTest.java => it/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepIT.java} (98%) rename server/sonar-ce-task-projectanalysis/src/{test/resources/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest => it/resources/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT}/zip-bomb.zip (100%) rename server/sonar-ce-task-projectanalysis/src/{test => it}/resources/org/sonar/ce/task/projectexport/issue/rubbish_data.txt (100%) rename server/sonar-ce-task/src/{test/java/org/sonar/ce/task/log/CeTaskMessagesImplTest.java => it/java/org/sonar/ce/task/log/CeTaskMessagesImplIT.java} (99%) rename server/sonar-ce/src/{test/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplTest.java => it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java} (98%) rename server/sonar-ce/src/{test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java => it/java/org/sonar/ce/container/ComputeEngineContainerImplIT.java} (99%) rename server/sonar-ce/src/{test/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplTest.java => it/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplIT.java} (98%) rename server/sonar-ce/src/{test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java => it/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerIT.java} (99%) rename server/sonar-ce/src/{test/java/org/sonar/ce/queue/InternalCeQueueImplTest.java => it/java/org/sonar/ce/queue/InternalCeQueueImplIT.java} (99%) rename server/sonar-ce/src/{test/java/org/sonar/ce/queue/NextPendingTaskPickerTest.java => it/java/org/sonar/ce/queue/NextPendingTaskPickerIT.java} (99%) rename server/sonar-ce/src/{test/java/org/sonar/ce/taskprocessor/CeWorkerImplTest.java => it/java/org/sonar/ce/taskprocessor/CeWorkerImplIT.java} (99%) diff --git a/server/sonar-ce-common/src/test/java/org/sonar/ce/queue/CeQueueImplTest.java b/server/sonar-ce-common/src/it/java/org/sonar/ce/queue/CeQueueImplIT.java similarity index 99% rename from server/sonar-ce-common/src/test/java/org/sonar/ce/queue/CeQueueImplTest.java rename to server/sonar-ce-common/src/it/java/org/sonar/ce/queue/CeQueueImplIT.java index d17937e7234..e2bf5ee90b5 100644 --- a/server/sonar-ce-common/src/test/java/org/sonar/ce/queue/CeQueueImplTest.java +++ b/server/sonar-ce-common/src/it/java/org/sonar/ce/queue/CeQueueImplIT.java @@ -57,7 +57,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.ce.queue.CeQueue.SubmitOption.UNIQUE_QUEUE_PER_MAIN_COMPONENT; -public class CeQueueImplTest { +public class CeQueueImplIT { private static final String WORKER_UUID = "workerUuid"; private static final long NOW = 1_450_000_000_000L; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplIT.java index a7e9ef3ab74..710f3883ad5 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ComponentUuidFactoryImplIT.java @@ -32,7 +32,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; -public class ComponentUuidFactoryImplTest { +public class ComponentUuidFactoryImplIT { private final Branch mainBranch = new DefaultBranchImpl(DEFAULT_MAIN_BRANCH_NAME); private final Branch mockedBranch = mock(Branch.class); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterIT.java index 4aef4c2cf4b..a2ff4f3a67c 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ProjectPersisterIT.java @@ -37,7 +37,7 @@ import static org.sonar.ce.task.projectanalysis.component.Component.Type.PROJECT import static org.sonar.ce.task.projectanalysis.component.Component.Type.VIEW; import static org.sonar.ce.task.projectanalysis.component.ReportComponent.builder; -public class ProjectPersisterTest { +public class ProjectPersisterIT { private final static Component ROOT = builder(PROJECT, 1) .setUuid("PROJECT_UUID") .setKey("PROJECT_KEY") diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsIT.java index 95e2c5e4e68..147cfc8f5c1 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/ReferenceBranchComponentUuidsIT.java @@ -35,7 +35,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.SnapshotTesting.newAnalysis; -public class ReferenceBranchComponentUuidsTest { +public class ReferenceBranchComponentUuidsIT { @Rule public AnalysisMetadataHolderRule analysisMetadataHolder = new AnalysisMetadataHolderRule(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesIT.java index 711da566a40..b35f634bd3e 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/component/SiblingComponentsWithOpenIssuesIT.java @@ -37,7 +37,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class SiblingComponentsWithOpenIssuesTest { +public class SiblingComponentsWithOpenIssuesIT { @Rule public TreeRootHolderRule treeRootHolder = new TreeRootHolderRule(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorIT.java index 3383ee164b9..df05ba8d268 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/AdHocRuleCreatorIT.java @@ -36,7 +36,7 @@ import org.sonar.server.rule.index.RuleIndexer; import static org.apache.commons.lang.StringUtils.repeat; import static org.assertj.core.api.Assertions.assertThat; -public class AdHocRuleCreatorTest { +public class AdHocRuleCreatorIT { @org.junit.Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryIT.java index 5e92f2b5877..8d226dfdfcd 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ClosedIssuesInputFactoryIT.java @@ -37,7 +37,7 @@ import static org.mockito.Mockito.reset; import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; -public class ClosedIssuesInputFactoryTest { +public class ClosedIssuesInputFactoryIT { private ComponentIssuesLoader issuesLoader = mock(ComponentIssuesLoader.class); private DbClient dbClient = mock(DbClient.class); private MovedFilesRepository movedFilesRepository = mock(MovedFilesRepository.class); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderIT.java index 70935996a71..364a984fba0 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ComponentIssuesLoaderIT.java @@ -64,7 +64,7 @@ import static org.sonar.api.utils.DateUtils.parseDateTime; import static org.sonar.ce.task.projectanalysis.issue.ComponentIssuesLoader.NUMBER_STATUS_AND_BRANCH_CHANGES_TO_KEEP; @RunWith(DataProviderRunner.class) -public class ComponentIssuesLoaderTest { +public class ComponentIssuesLoaderIT { private static final Date NOW = parseDateTime("2018-08-17T13:44:53+0000"); private static final Date DATE_LIMIT_30_DAYS_BACK_MIDNIGHT = parseDateTime("2018-07-18T00:00:00+0000"); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeIT.java index 9b4f73d9fe8..3d04097a7f6 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/DefaultAssigneeIT.java @@ -30,7 +30,7 @@ import org.sonar.db.user.UserDto; import static org.assertj.core.api.Assertions.assertThat; -public class DefaultAssigneeTest { +public class DefaultAssigneeIT { public static final String PROJECT_KEY = "PROJECT_KEY"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorIT.java index 1a3efbb6252..bd142496fc7 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/IntegrateIssuesVisitorIT.java @@ -78,7 +78,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class IntegrateIssuesVisitorTest { +public class IntegrateIssuesVisitorIT { private static final String FILE_UUID = "FILE_UUID"; private static final String FILE_UUID_ON_BRANCH = "FILE_UUID_BRANCH"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputIT.java index 397447fff57..871ba920827 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ProjectTrackerBaseLazyInputIT.java @@ -41,7 +41,7 @@ import static org.mockito.Mockito.mock; import static org.sonar.api.utils.DateUtils.parseDate; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class ProjectTrackerBaseLazyInputTest { +public class ProjectTrackerBaseLazyInputIT { private static final Date ANALYSIS_DATE = parseDate("2016-06-01"); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderIT.java index 5f4b2b04d77..411a7082f38 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/ScmAccountToUserLoaderIT.java @@ -35,7 +35,7 @@ import static java.util.Collections.emptyList; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; -public class ScmAccountToUserLoaderTest { +public class ScmAccountToUserLoaderIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerIT.java index a4f5b636352..870e352dcdb 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/SiblingsIssueMergerIT.java @@ -57,7 +57,7 @@ import static org.mockito.Mockito.when; import static org.sonar.ce.task.projectanalysis.component.ReportComponent.builder; import static org.sonar.db.component.ComponentTesting.newFileDto; -public class SiblingsIssueMergerTest { +public class SiblingsIssueMergerIT { private final IssueLifecycle issueLifecycle = mock(IssueLifecycle.class); private final Branch branch = mock(Branch.class); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsIT.java index 5fa3df32d19..c901b3c8757 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/SourceBranchComponentUuidsIT.java @@ -36,7 +36,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.SnapshotTesting.newAnalysis; -public class SourceBranchComponentUuidsTest { +public class SourceBranchComponentUuidsIT { private static final String BRANCH_KEY = "branch1"; private static final String PR_KEY = "pr1"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsIT.java index f764410f482..af811e8ec56 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TargetBranchComponentUuidsIT.java @@ -36,7 +36,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.SnapshotTesting.newAnalysis; -public class TargetBranchComponentUuidsTest { +public class TargetBranchComponentUuidsIT { private static final String BRANCH_KEY = "branch1"; private static final String PR_KEY = "pr1"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryIT.java index c7f0489a71c..916a98c5714 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerReferenceBranchInputFactoryIT.java @@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class TrackerReferenceBranchInputFactoryTest { +public class TrackerReferenceBranchInputFactoryIT { private final static String COMPONENT_KEY = "file1"; private final static String COMPONENT_UUID = "uuid1"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryIT.java index f711b752da3..6cf56ee40fb 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerSourceBranchInputFactoryIT.java @@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class TrackerSourceBranchInputFactoryTest { +public class TrackerSourceBranchInputFactoryIT { private final static String COMPONENT_KEY = "file1"; private final static String COMPONENT_UUID = "uuid1"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryIT.java index d088cb64769..6bbebc16b2e 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/issue/TrackerTargetBranchInputFactoryIT.java @@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class TrackerTargetBranchInputFactoryTest { +public class TrackerTargetBranchInputFactoryIT { private final static String COMPONENT_KEY = "file1"; private final static String COMPONENT_UUID = "uuid1"; private final static String ORIGINAL_COMPONENT_KEY = "file2"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplIT.java index 608c66bb2b3..3a0953cba8a 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/measure/MeasureRepositoryImplIT.java @@ -63,7 +63,7 @@ import static org.mockito.Mockito.when; import static org.sonar.db.component.ComponentTesting.newFileDto; @RunWith(DataProviderRunner.class) -public class MeasureRepositoryImplTest { +public class MeasureRepositoryImplIT { @Rule diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsIT.java index 555fd074728..0e98bfebfa8 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/period/NewCodeReferenceBranchComponentUuidsIT.java @@ -36,7 +36,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.SnapshotTesting.newAnalysis; -public class NewCodeReferenceBranchComponentUuidsTest { +public class NewCodeReferenceBranchComponentUuidsIT { @Rule public AnalysisMetadataHolderRule analysisMetadataHolder = new AnalysisMetadataHolderRule(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionIT.java index 1df18ee88b3..bae16318b31 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/source/DbLineHashVersionIT.java @@ -35,7 +35,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class DbLineHashVersionTest { +public class DbLineHashVersionIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepIT.java index 2b0dae44431..eb795c894ed 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/source/PersistFileSourcesStepIT.java @@ -54,7 +54,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class PersistFileSourcesStepTest extends BaseStepTest { +public class PersistFileSourcesStepIT extends BaseStepTest { private static final int FILE1_REF = 3; private static final String PROJECT_UUID = "PROJECT"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepIT.java index d950499a3c5..7911b15ac40 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/CleanIssueChangesStepIT.java @@ -30,7 +30,7 @@ import org.sonar.db.issue.IssueDto; import static java.util.Collections.singleton; import static org.assertj.core.api.Assertions.assertThat; -public class CleanIssueChangesStepTest { +public class CleanIssueChangesStepIT { @Rule public DbTester db = DbTester.create(); private final IssueChangesToDeleteRepository repository = new IssueChangesToDeleteRepository(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepIT.java index 82bd32e0a37..e96c977b34d 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/EnableAnalysisStepIT.java @@ -36,7 +36,7 @@ import org.sonar.db.component.SnapshotTesting; import static org.assertj.core.api.Assertions.assertThat; -public class EnableAnalysisStepTest { +public class EnableAnalysisStepIT { private static final ReportComponent REPORT_PROJECT = ReportComponent.builder(Component.Type.PROJECT, 1).build(); private static final String PREVIOUS_ANALYSIS_UUID = "ANALYSIS_1"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT.java similarity index 97% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT.java index faa5afa1179..edea98f75be 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT.java @@ -42,7 +42,7 @@ import org.sonar.db.ce.CeTaskTypes; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class ExtractReportStepTest { +public class ExtractReportStepIT { private static final String TASK_UUID = "1"; @@ -95,7 +95,7 @@ public class ExtractReportStepTest { @Test public void unzip_report_should_fail_if_unzip_size_exceed_threshold() throws Exception { logTester.setLevel(LoggerLevel.DEBUG); - URL zipBombFile = getClass().getResource("/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest/zip-bomb.zip"); + URL zipBombFile = getClass().getResource("/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT/zip-bomb.zip"); try (InputStream input = zipBombFile.openStream()) { dbTester.getDbClient().ceTaskInputDao().insert(dbTester.getSession(), TASK_UUID, input); } diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepIT.java index 24dfe9fa583..342ffe9c14c 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/IndexAnalysisStepIT.java @@ -42,7 +42,7 @@ import static org.mockito.Mockito.when; import static org.sonar.ce.task.projectanalysis.component.Component.Type.PROJECT; import static org.sonar.ce.task.projectanalysis.component.Component.Type.VIEW; -public class IndexAnalysisStepTest extends BaseStepTest { +public class IndexAnalysisStepIT extends BaseStepTest { private static final String PROJECT_KEY = "PROJECT_KEY"; private static final String PROJECT_UUID = "PROJECT_UUID"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepIT.java index 6a9d30afb7c..ea7043bd8c7 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadFileHashesAndStatusStepIT.java @@ -41,7 +41,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -public class LoadFileHashesAndStatusStepTest { +public class LoadFileHashesAndStatusStepIT { @Rule public DbTester db = DbTester.create(); @Rule diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepIT.java index 9864d24399b..7a34a181f89 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadPeriodsStepIT.java @@ -76,7 +76,7 @@ import static org.sonar.db.event.EventDto.CATEGORY_VERSION; import static org.sonar.db.event.EventTesting.newEvent; @RunWith(DataProviderRunner.class) -public class LoadPeriodsStepTest extends BaseStepTest { +public class LoadPeriodsStepIT extends BaseStepTest { @Rule public DbTester dbTester = DbTester.create(System2.INSTANCE); @Rule diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepIT.java index e8ef7de3cae..17591696f93 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/LoadReportAnalysisMetadataHolderStepIT.java @@ -56,7 +56,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @RunWith(DataProviderRunner.class) -public class LoadReportAnalysisMetadataHolderStepTest { +public class LoadReportAnalysisMetadataHolderStepIT { private static final String PROJECT_KEY = "project_key"; private static final long ANALYSIS_DATE = 123456789L; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepIT.java index 56046b6d78b..85319db1187 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepIT.java @@ -42,7 +42,7 @@ import org.sonar.server.rule.index.RuleIndexer; import static org.assertj.core.api.Assertions.assertThat; -public class PersistAdHocRulesStepTest extends BaseStepTest { +public class PersistAdHocRulesStepIT extends BaseStepTest { @Rule public DbTester db = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepIT.java index 3488d4fc441..169fe2696a0 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistDuplicationDataStepIT.java @@ -44,7 +44,7 @@ import static org.sonar.ce.task.projectanalysis.component.Component.Type.FILE; import static org.sonar.ce.task.projectanalysis.component.Component.Type.PROJECT; import static org.sonar.ce.task.projectanalysis.component.ReportComponent.builder; -public class PersistDuplicationDataStepTest extends BaseStepTest { +public class PersistDuplicationDataStepIT extends BaseStepTest { private static final int ROOT_REF = 1; private static final String PROJECT_KEY = "PROJECT_KEY"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepIT.java index eaea64bb9ad..99d9bac1ebc 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistIssuesStepIT.java @@ -73,7 +73,7 @@ import static org.sonar.api.rule.Severity.BLOCKER; import static org.sonar.db.component.ComponentTesting.newFileDto; import static org.sonar.db.issue.IssueTesting.newCodeReferenceIssue; -public class PersistIssuesStepTest extends BaseStepTest { +public class PersistIssuesStepIT extends BaseStepTest { private static final long NOW = 1_400_000_000_000L; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepIT.java index 1620edc22e5..f4829de256f 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistLiveMeasuresStepIT.java @@ -58,7 +58,7 @@ import static org.sonar.ce.task.projectanalysis.component.Component.Type.VIEW; import static org.sonar.ce.task.projectanalysis.measure.Measure.newMeasureBuilder; import static org.sonar.db.measure.MeasureTesting.newLiveMeasure; -public class PersistLiveMeasuresStepTest extends BaseStepTest { +public class PersistLiveMeasuresStepIT extends BaseStepTest { private static final Metric STRING_METRIC = new Metric.Builder("string-metric", "String metric", Metric.ValueType.STRING).create(); private static final Metric INT_METRIC = new Metric.Builder("int-metric", "int metric", Metric.ValueType.INT).create(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepIT.java index f1db84273db..6064b72700d 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistMeasuresStepIT.java @@ -50,7 +50,7 @@ import static org.sonar.ce.task.projectanalysis.component.Component.Type.SUBVIEW import static org.sonar.ce.task.projectanalysis.component.Component.Type.VIEW; import static org.sonar.ce.task.projectanalysis.measure.Measure.newMeasureBuilder; -public class PersistMeasuresStepTest extends BaseStepTest { +public class PersistMeasuresStepIT extends BaseStepTest { private static final Metric STRING_METRIC = new Metric.Builder("string-metric", "String metric", Metric.ValueType.STRING).create(); private static final Metric INT_METRIC = new Metric.Builder("int-metric", "int metric", Metric.ValueType.INT).create(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepIT.java index f487969e72e..2537a63dbfc 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistProjectLinksStepIT.java @@ -53,7 +53,7 @@ import static org.sonar.scanner.protocol.output.ScannerReport.ComponentLink.Comp import static org.sonar.scanner.protocol.output.ScannerReport.ComponentLink.ComponentLinkType.ISSUE; import static org.sonar.scanner.protocol.output.ScannerReport.ComponentLink.ComponentLinkType.SCM; -public class PersistProjectLinksStepTest extends BaseStepTest { +public class PersistProjectLinksStepIT extends BaseStepTest { @Rule public AnalysisMetadataHolderRule analysisMetadataHolder = new AnalysisMetadataHolderRule(); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepIT.java index ff91809b998..6973956fe8f 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistPushEventsStepIT.java @@ -50,7 +50,7 @@ import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class PersistPushEventsStepTest { +public class PersistPushEventsStepIT { private final TestSystem2 system2 = new TestSystem2().setNow(1L); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepIT.java index b2540b81f66..b55016055cc 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerAnalysisCacheStepIT.java @@ -37,7 +37,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class PersistScannerAnalysisCacheStepTest { +public class PersistScannerAnalysisCacheStepIT { @Rule public BatchReportReaderRule reader = new BatchReportReaderRule(); @Rule diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepIT.java index 4143d0d4cab..d85d967f103 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/PersistScannerContextStepIT.java @@ -38,7 +38,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class PersistScannerContextStepTest { +public class PersistScannerContextStepIT { private static final String ANALYSIS_UUID = "UUID"; @ClassRule diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepIT.java index 188dbb56310..0bdeef19ed9 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistAnalysisStepIT.java @@ -47,7 +47,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class ReportPersistAnalysisStepTest extends BaseStepTest { +public class ReportPersistAnalysisStepIT extends BaseStepTest { private static final String PROJECT_KEY = "PROJECT_KEY"; private static final String ANALYSIS_UUID = "U1"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepIT.java index c47def416d8..1a4c4c031cc 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ReportPersistComponentsStepIT.java @@ -60,7 +60,7 @@ import static org.sonar.db.component.ComponentDto.UUID_PATH_OF_ROOT; import static org.sonar.db.component.ComponentDto.UUID_PATH_SEPARATOR; import static org.sonar.db.component.ComponentTesting.newDirectory; -public class ReportPersistComponentsStepTest extends BaseStepTest { +public class ReportPersistComponentsStepIT extends BaseStepTest { private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd"); private static final String PROJECT_KEY = "PROJECT_KEY"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepIT.java index f6a9526dd8a..5b315e9dbda 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/SendIssueNotificationsStepIT.java @@ -108,7 +108,7 @@ import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.db.issue.IssueTesting.newIssue; import static org.sonar.db.rule.RuleTesting.newRule; -public class SendIssueNotificationsStepTest extends BaseStepTest { +public class SendIssueNotificationsStepIT extends BaseStepTest { private static final String BRANCH_NAME = "feature"; private static final String PULL_REQUEST_ID = "pr-123"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepIT.java index e21637eb108..07ca29aaf72 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/UpdateNeedIssueSyncStepIT.java @@ -33,7 +33,7 @@ import org.sonar.db.component.ComponentDto; import static org.assertj.core.api.Assertions.assertThat; -public class UpdateNeedIssueSyncStepTest { +public class UpdateNeedIssueSyncStepIT { private static final Component PROJECT = ReportComponent.DUMB_PROJECT; @Rule diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepIT.java index 7746f3400eb..69bcb33dbb2 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/UpdateQualityProfilesLastUsedDateStepIT.java @@ -49,7 +49,7 @@ import static org.sonar.api.measures.CoreMetrics.QUALITY_PROFILES; import static org.sonar.api.measures.CoreMetrics.QUALITY_PROFILES_KEY; import static org.sonar.db.qualityprofile.QualityProfileTesting.newQualityProfileDto; -public class UpdateQualityProfilesLastUsedDateStepTest { +public class UpdateQualityProfilesLastUsedDateStepIT { private static final long ANALYSIS_DATE = 1_123_456_789L; private static final Component PROJECT = ReportComponent.DUMB_PROJECT; private QProfileDto sonarWayJava = newProfile("sonar-way-java"); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepIT.java index c1e5539dac0..d9f5a716443 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ValidateProjectStepIT.java @@ -37,7 +37,6 @@ import org.sonar.db.DbClient; import org.sonar.db.DbTester; import org.sonar.db.component.BranchType; import org.sonar.db.component.ComponentDto; -import org.sonar.db.component.ComponentTesting; import org.sonar.db.component.SnapshotTesting; import static org.assertj.core.api.Assertions.assertThatThrownBy; @@ -45,7 +44,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.BranchDto.DEFAULT_MAIN_BRANCH_NAME; -public class ValidateProjectStepTest { +public class ValidateProjectStepIT { static long PAST_ANALYSIS_TIME = 1_420_088_400_000L; // 2015-01-01 static long DEFAULT_ANALYSIS_TIME = 1_433_131_200_000L; // 2015-06-01 diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepIT.java index 272c4cf5d4a..3d0ab973fc8 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistAnalysisStepIT.java @@ -48,7 +48,7 @@ import static org.sonar.ce.task.projectanalysis.component.Component.Type.SUBVIEW import static org.sonar.ce.task.projectanalysis.component.Component.Type.VIEW; import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; -public class ViewsPersistAnalysisStepTest extends BaseStepTest { +public class ViewsPersistAnalysisStepIT extends BaseStepTest { private static final String ANALYSIS_UUID = "U1"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepIT.java index 5a8adb1a802..2cdb776d0cd 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/step/ViewsPersistComponentsStepIT.java @@ -61,7 +61,7 @@ import static org.sonar.db.component.ComponentTesting.newPrivateProjectDto; import static org.sonar.db.component.ComponentTesting.newProjectCopy; import static org.sonar.db.component.ComponentTesting.newSubPortfolio; -public class ViewsPersistComponentsStepTest extends BaseStepTest { +public class ViewsPersistComponentsStepIT extends BaseStepTest { private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd"); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperIT.java index 45f1f7f7653..6591b6dc5b7 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditHousekeepingFrequencyHelperIT.java @@ -42,7 +42,7 @@ import static org.sonar.core.config.PurgeConstants.AUDIT_HOUSEKEEPING_FREQUENCY; import static org.sonar.core.config.PurgeProperties.DEFAULT_FREQUENCY; @RunWith(DataProviderRunner.class) -public class AuditHousekeepingFrequencyHelperTest { +public class AuditHousekeepingFrequencyHelperIT { private static final long NOW = 10_000_000_000L; private final DbClient dbClient = mock(DbClient.class); diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepIT.java index 577512512d1..e24e30454ca 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/AuditPurgeStepIT.java @@ -40,7 +40,7 @@ import static org.mockito.Mockito.when; import static org.sonar.core.config.Frequency.MONTHLY; import static org.sonar.core.config.PurgeConstants.AUDIT_HOUSEKEEPING_FREQUENCY; -public class AuditPurgeStepTest { +public class AuditPurgeStepIT { private final static long NOW = 1_400_000_000_000L; private final static long BEFORE = 1_300_000_000_000L; private final static long LATER = 1_500_000_000_000L; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepIT.java index beb8123b665..4264f718c7f 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectanalysis/taskprocessor/IndexIssuesStepIT.java @@ -37,7 +37,7 @@ import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.sonar.db.component.BranchType.BRANCH; -public class IndexIssuesStepTest { +public class IndexIssuesStepIT { private String BRANCH_UUID = "branch_uuid"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepIT.java index 2c345e7db6d..c69ac175982 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/analysis/ExportAnalysesStepIT.java @@ -53,7 +53,7 @@ import static org.sonar.db.component.ComponentDto.UUID_PATH_OF_ROOT; import static org.sonar.db.component.ComponentDto.UUID_PATH_SEPARATOR; @RunWith(DataProviderRunner.class) -public class ExportAnalysesStepTest { +public class ExportAnalysesStepIT { private static final String PROJECT_UUID = "PROJECT_UUID"; private static final ComponentDto PROJECT = new ComponentDto() diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepIT.java index 9c8ae3124ac..be7dd483a07 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/branches/ExportBranchesStepIT.java @@ -51,7 +51,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.ComponentDto.UUID_PATH_OF_ROOT; -public class ExportBranchesStepTest { +public class ExportBranchesStepIT { private static final String PROJECT_UUID = "PROJECT_UUID"; private static final ComponentDto PROJECT = new ComponentDto() // no id yet diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepIT.java index fb24c7107fc..ac6a7cfee6f 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/file/ExportLineHashesStepIT.java @@ -47,7 +47,7 @@ import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; -public class ExportLineHashesStepTest { +public class ExportLineHashesStepIT { private static final String PROJECT_MASTER_UUID = "project uuid"; private static final String PROJECT_BRANCH_UUID = "branch-uuid"; private static final String FILE_UUID = "file uuid"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepIT.java index 09eef46284a..0d8e79be2a1 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesChangelogStepIT.java @@ -54,7 +54,7 @@ import static org.sonar.api.issue.Issue.STATUS_OPEN; import static org.sonar.api.issue.Issue.STATUS_REOPENED; import static org.sonar.api.issue.Issue.STATUS_RESOLVED; -public class ExportIssuesChangelogStepTest { +public class ExportIssuesChangelogStepIT { private static final String PROJECT_UUID = "project uuid"; private static final String ISSUE_OPEN_UUID = "issue 1 uuid"; private static final String ISSUE_CONFIRMED_UUID = "issue 2 uuid"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepIT.java index 7d9544b0a83..3dfb5e68d3b 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/issue/ExportIssuesStepIT.java @@ -74,7 +74,7 @@ import static org.sonar.api.issue.Issue.STATUS_REOPENED; import static org.sonar.api.issue.Issue.STATUS_RESOLVED; @RunWith(DataProviderRunner.class) -public class ExportIssuesStepTest { +public class ExportIssuesStepIT { private static final String SOME_PROJECT_UUID = "project uuid"; private static final String PROJECT_KEY = "projectkey"; private static final String SOME_REPO = "rule repo"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepIT.java index 04d1f1f6ece..15902ec685d 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/rule/ExportAdHocRulesStepIT.java @@ -54,7 +54,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.ComponentDto.UUID_PATH_OF_ROOT; -public class ExportAdHocRulesStepTest { +public class ExportAdHocRulesStepIT { private static final String PROJECT_UUID = "some-uuid"; private static final ComponentDto PROJECT = new ComponentDto() diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepIT.java index 7dc28f6fb46..e2aea5fc0b5 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportEventsStepIT.java @@ -41,7 +41,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.db.component.ComponentDto.UUID_PATH_OF_ROOT; import static org.sonar.db.component.SnapshotDto.STATUS_PROCESSED; -public class ExportEventsStepTest { +public class ExportEventsStepIT { private static final long NOW = 1_450_000_000_000L; private static final long IN_THE_PAST = 1_440_000_000_000L; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepIT.java index 4c0ddf07f65..d1b8475bdec 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportLinksStepIT.java @@ -42,7 +42,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.db.component.ComponentDto.UUID_PATH_OF_ROOT; -public class ExportLinksStepTest { +public class ExportLinksStepIT { private static final String PROJECT_UUID = "project_uuid"; private static final ComponentDto PROJECT = new ComponentDto() diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepIT.java index e2747cadb93..c4aad6eb747 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportLiveMeasuresStepIT.java @@ -42,7 +42,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import static org.sonar.api.measures.Metric.ValueType.INT; -public class ExportLiveMeasuresStepTest { +public class ExportLiveMeasuresStepIT { @Rule public LogTester logTester = new LogTester(); @Rule diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepIT.java similarity index 97% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepIT.java index 2a72b0e2ce4..16f7a3202df 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportMetricsStepIT.java @@ -21,8 +21,6 @@ package org.sonar.ce.task.projectexport.steps; import com.sonarsource.governance.projectdump.protobuf.ProjectDump; import java.util.List; -import java.util.function.Predicate; -import javax.annotation.Nonnull; import org.junit.Before; import org.junit.Rule; import org.junit.Test; @@ -36,7 +34,7 @@ import org.sonar.db.metric.MetricDto; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class ExportMetricsStepTest { +public class ExportMetricsStepIT { private static final MetricDto NCLOC = new MetricDto() .setUuid("1") diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepIT.java index 0540a66a417..3d9697d5e01 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportNewCodePeriodsStepIT.java @@ -46,7 +46,7 @@ import static org.sonar.db.component.ComponentDto.UUID_PATH_OF_ROOT; import static org.sonar.db.newcodeperiod.NewCodePeriodType.PREVIOUS_VERSION; import static org.sonar.db.newcodeperiod.NewCodePeriodType.SPECIFIC_ANALYSIS; -public class ExportNewCodePeriodsStepTest { +public class ExportNewCodePeriodsStepIT { private static final String PROJECT_UUID = "project_uuid"; private static final String ANOTHER_PROJECT_UUID = "another_project_uuid"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepIT.java similarity index 99% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepIT.java index d895bb92537..e8ca859a22a 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/ExportSettingsStepIT.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.db.component.ComponentDto.UUID_PATH_OF_ROOT; -public class ExportSettingsStepTest { +public class ExportSettingsStepIT { private static final ComponentDto GLOBAL = null; private static final ComponentDto PROJECT = new ComponentDto() diff --git a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepTest.java b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepIT.java similarity index 98% rename from server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepTest.java rename to server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepIT.java index bcc96996bfb..2f9475a1e31 100644 --- a/server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepTest.java +++ b/server/sonar-ce-task-projectanalysis/src/it/java/org/sonar/ce/task/projectexport/steps/LoadProjectStepIT.java @@ -32,7 +32,7 @@ import org.sonar.db.component.ComponentDto; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class LoadProjectStepTest { +public class LoadProjectStepIT { private static final String PROJECT_KEY = "project_key"; diff --git a/server/sonar-ce-task-projectanalysis/src/test/resources/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest/zip-bomb.zip b/server/sonar-ce-task-projectanalysis/src/it/resources/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT/zip-bomb.zip similarity index 100% rename from server/sonar-ce-task-projectanalysis/src/test/resources/org/sonar/ce/task/projectanalysis/step/ExtractReportStepTest/zip-bomb.zip rename to server/sonar-ce-task-projectanalysis/src/it/resources/org/sonar/ce/task/projectanalysis/step/ExtractReportStepIT/zip-bomb.zip diff --git a/server/sonar-ce-task-projectanalysis/src/test/resources/org/sonar/ce/task/projectexport/issue/rubbish_data.txt b/server/sonar-ce-task-projectanalysis/src/it/resources/org/sonar/ce/task/projectexport/issue/rubbish_data.txt similarity index 100% rename from server/sonar-ce-task-projectanalysis/src/test/resources/org/sonar/ce/task/projectexport/issue/rubbish_data.txt rename to server/sonar-ce-task-projectanalysis/src/it/resources/org/sonar/ce/task/projectexport/issue/rubbish_data.txt diff --git a/server/sonar-ce-task/src/test/java/org/sonar/ce/task/log/CeTaskMessagesImplTest.java b/server/sonar-ce-task/src/it/java/org/sonar/ce/task/log/CeTaskMessagesImplIT.java similarity index 99% rename from server/sonar-ce-task/src/test/java/org/sonar/ce/task/log/CeTaskMessagesImplTest.java rename to server/sonar-ce-task/src/it/java/org/sonar/ce/task/log/CeTaskMessagesImplIT.java index f129cfc3c45..aab0384acf5 100644 --- a/server/sonar-ce-task/src/test/java/org/sonar/ce/task/log/CeTaskMessagesImplTest.java +++ b/server/sonar-ce-task/src/it/java/org/sonar/ce/task/log/CeTaskMessagesImplIT.java @@ -46,7 +46,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; -public class CeTaskMessagesImplTest { +public class CeTaskMessagesImplIT { @Rule public DbTester dbTester = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplTest.java b/server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java similarity index 98% rename from server/sonar-ce/src/test/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplTest.java rename to server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java index 468d94f0f2c..8aa991e6f11 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplTest.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java @@ -42,9 +42,8 @@ import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; -public class AnalysisCacheCleaningSchedulerImplTest { +public class AnalysisCacheCleaningSchedulerImplIT { private System2 system2 = mock(System2.class); private final static UuidFactory uuidFactory = new SequenceUuidFactory(); @Rule diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java b/server/sonar-ce/src/it/java/org/sonar/ce/container/ComputeEngineContainerImplIT.java similarity index 99% rename from server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java rename to server/sonar-ce/src/it/java/org/sonar/ce/container/ComputeEngineContainerImplIT.java index 4da1608722b..8a57a3f413a 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/container/ComputeEngineContainerImplIT.java @@ -56,7 +56,7 @@ import static org.sonar.process.ProcessProperties.Property.PATH_DATA; import static org.sonar.process.ProcessProperties.Property.PATH_HOME; import static org.sonar.process.ProcessProperties.Property.PATH_TEMP; -public class ComputeEngineContainerImplTest { +public class ComputeEngineContainerImplIT { @Rule public TemporaryFolder tempFolder = new TemporaryFolder(); diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplTest.java b/server/sonar-ce/src/it/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplIT.java similarity index 98% rename from server/sonar-ce/src/test/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplTest.java rename to server/sonar-ce/src/it/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplIT.java index ae4db994a71..8f43bd9b081 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplTest.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/monitoring/CeDatabaseMBeanImplIT.java @@ -34,7 +34,7 @@ import org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo; import static org.assertj.core.api.Assertions.assertThat; -public class CeDatabaseMBeanImplTest { +public class CeDatabaseMBeanImplIT { @Rule public DbTester dbTester = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java b/server/sonar-ce/src/it/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerIT.java similarity index 99% rename from server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java rename to server/sonar-ce/src/it/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerIT.java index 9d2100f5bf7..97d228c73b7 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerTest.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/notification/ReportAnalysisFailureNotificationExecutionListenerIT.java @@ -60,7 +60,7 @@ import static org.mockito.Mockito.verifyNoInteractions; import static org.mockito.Mockito.when; import static org.sonar.db.component.ComponentTesting.newDirectory; -public class ReportAnalysisFailureNotificationExecutionListenerTest { +public class ReportAnalysisFailureNotificationExecutionListenerIT { @Rule public DbTester dbTester = DbTester.create(System2.INSTANCE); diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/queue/InternalCeQueueImplTest.java b/server/sonar-ce/src/it/java/org/sonar/ce/queue/InternalCeQueueImplIT.java similarity index 99% rename from server/sonar-ce/src/test/java/org/sonar/ce/queue/InternalCeQueueImplTest.java rename to server/sonar-ce/src/it/java/org/sonar/ce/queue/InternalCeQueueImplIT.java index 4a537ed3120..fdf5b58d390 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/queue/InternalCeQueueImplTest.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/queue/InternalCeQueueImplIT.java @@ -64,7 +64,7 @@ import static org.mockito.Mockito.when; import static org.sonar.ce.container.ComputeEngineStatus.Status.STARTED; import static org.sonar.ce.container.ComputeEngineStatus.Status.STOPPING; -public class InternalCeQueueImplTest { +public class InternalCeQueueImplIT { private static final String AN_ANALYSIS_UUID = "U1"; private static final String WORKER_UUID_1 = "worker uuid 1"; diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/queue/NextPendingTaskPickerTest.java b/server/sonar-ce/src/it/java/org/sonar/ce/queue/NextPendingTaskPickerIT.java similarity index 99% rename from server/sonar-ce/src/test/java/org/sonar/ce/queue/NextPendingTaskPickerTest.java rename to server/sonar-ce/src/it/java/org/sonar/ce/queue/NextPendingTaskPickerIT.java index 3fd745c8ea0..282ade6bb62 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/queue/NextPendingTaskPickerTest.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/queue/NextPendingTaskPickerIT.java @@ -46,7 +46,7 @@ import static org.sonar.db.ce.CeQueueDto.Status.PENDING; import static org.sonar.db.ce.CeTaskCharacteristicDto.BRANCH_KEY; import static org.sonar.db.ce.CeTaskCharacteristicDto.PULL_REQUEST; -public class NextPendingTaskPickerTest { +public class NextPendingTaskPickerIT { private final System2 alwaysIncreasingSystem2 = new AlwaysIncreasingSystem2(1L, 1); diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/taskprocessor/CeWorkerImplTest.java b/server/sonar-ce/src/it/java/org/sonar/ce/taskprocessor/CeWorkerImplIT.java similarity index 99% rename from server/sonar-ce/src/test/java/org/sonar/ce/taskprocessor/CeWorkerImplTest.java rename to server/sonar-ce/src/it/java/org/sonar/ce/taskprocessor/CeWorkerImplIT.java index 9b55622906f..f0acbec6aa2 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/taskprocessor/CeWorkerImplTest.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/taskprocessor/CeWorkerImplIT.java @@ -75,7 +75,7 @@ import static org.sonar.ce.taskprocessor.CeWorker.Result.DISABLED; import static org.sonar.ce.taskprocessor.CeWorker.Result.NO_TASK; import static org.sonar.ce.taskprocessor.CeWorker.Result.TASK_PROCESSED; -public class CeWorkerImplTest { +public class CeWorkerImplIT { private System2 system2 = new TestSystem2().setNow(1_450_000_000_000L); -- 2.39.5