stable

Clone or download

Read-only

refactor: timeframe must be base on changeset

Part of story #35094 have "calendar" events attached to tracker email notification No functionnal change expected. But be aware of using changeset and not artifact now for timeframes Change-Id: If7464daf9e986ba8ba46a8c565ea272fa96cdf44 Signed-off-by: Marie Ange Garnier <marie-ange.garnier@eanlean.com>

Modified Files

Name
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetBareMilestoneByArtifactIdTest.php +3 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneTest.php +12 −8 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetPaginatedMilestonesTest.php +26 −22 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetTopMilestonesTest.php +6 −6 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryTest.php +11 −10 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/Timebox/TimeframeValueRetriever.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/Timebox/TimeframeValueRetrieverTest.php +7 −2 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/IterationsRetriever.php +1 −1 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/TaskOutOfDateDetector.php +1 −1 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/TaskRepresentationBuilderForTracker.php +1 −1 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/IterationsRetrieverTest.php +118 −84 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksRetrieverTest.php +198 −175 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskOutOfDateDetectorTest.php +32 −38 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskRepresentationBuilderForTrackerTest.php +7 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Artifact.php +48 −6 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartConfigurationValueRetriever.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement.php +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/ArtifactTimeframeHelper.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/IComputeTimeframes.php +3 −4 Go to diff View file
R plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeArtifactFieldsValueRetriever.php Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTracker.php +24 −12 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeNotConfigured.php +20 −9 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithDuration.php +21 −10 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithEndDate.php +21 −10 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/TimeframeConfigInvalid.php +3 −4 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tooltip/OtherSemantic/TimeframeTooltipEntry.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Builders/ArtifactTestBuilder.php +72 −0 Go to diff View file
A plugins/tracker/tests/unit/Builders/ChangesetValueDateTestBuilder.php +62 −0 Go to diff View file
A plugins/tracker/tests/unit/Builders/ChangesetValueIntegerTestBuilder.php +61 −0 Go to diff View file
M plugins/tracker/tests/unit/Builders/TrackerFormElementDateFieldBuilder.php +17 −3 Go to diff View file
M plugins/tracker/tests/unit/Builders/TrackerFormElementIntFieldBuilder.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Stub/Semantic/Timeframe/IComputeTimeframesStub.php +6 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTrackerTest.php +72 −24 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeNotConfiguredTest.php +22 −16 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithDurationTest.php +105 −88 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithEndDateTest.php +93 −63 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Tooltip/OtherSemantic/TimeframeTooltipEntryTest.php +57 −30 Go to diff View file