stable

Clone or download

Read-only

Use TimePeriod object instead of start_date & duration in Burndown

This is part of story #12537 configure my burndown/up & sprint with a start date & end date There are no functional changes expected. Burndown display and cache calculation must work as before. Change-Id: Ifb6ec7b9d9c4921d78640ff2482ef9d55a0b238b

Modified Files

Name
M plugins/agiledashboard/include/Planning/ArtifactMilestone.class.php +5 −8 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Planning/ArtifactMilestoneTest.php +46 −0 Go to diff View file
M plugins/tracker/include/Tracker/Chart/Data/Burndown.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartConfigurationValueChecker.php +6 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartConfigurationValueRetriever.php +33 −10 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationChecker.php +26 −14 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCommonDataBuilder.php +8 −15 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForLegacy.php +17 −28 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForREST.php +7 −9 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForLegacy.php +13 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +21 −40 Go to diff View file
M plugins/tracker/include/Tracker/UserWithReadAllPermission.class.php +5 −3 Go to diff View file
A plugins/tracker/include/Tracker/UserWithReadAllPermissionBuilder.php +32 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/ChartConfigurationValueCheckerTest.php +299 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/ChartConfigurationValueRetrieverTest.php +239 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationCheckerTest.php +22 −17 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForLegacyTest.php +24 −14 Go to diff View file
M plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderForRESTTest.php +13 −4 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderForLegacyTest.php +187 −0 Go to diff View file
D plugins/tracker/tests/Tracker/FormElement/ChartConfigurationValueCheckerTest.php +0 −258 Go to diff View file
D plugins/tracker/tests/Tracker/FormElement/ChartConfigurationValueRetrieverTest.php +0 −215 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_BurndownTest.php +11 −6 Go to diff View file