stable

Clone or download

Read-only

Remove TimeframeBuilder usage from Tracker

part of: story #21362 Base artifact timeframe on a linked artifact All the tests have been kept "as is" with the same test cases and assertions. I only have migrated Mockery mocks to PhpUnit mocks. How to test: - No functional changes expected in Burndown and Burnup graphs Change-Id: I5296c58f6ae06944bff4b39682dd1798bad4119f

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +4 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Artifact.php +1 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartConfigurationValueRetriever.php +8 −7 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.php +9 −9 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/IComputeTimeframes.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeBuilder.php +7 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeNotConfigured.php +13 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithDuration.php +56 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeWithEndDate.php +44 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +4 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/ChartConfigurationValueRetrieverTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_BurndownTest.php +3 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeNotConfiguredTest.php +21 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithDurationTest.php +93 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeWithEndDateTest.php +78 −0 Go to diff View file