stable

Clone or download

Read-only

refactoring add unit tests on existing code

request #12558 Timezones issue with burndown and burnup graphs This patch should not introduce ant functionnal changes. The aim of commit is to unit test the way burndown data are built. Change-Id: I798164e1f83f157767cd4d30e142b268ba160e14

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +41 −7 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationChecker.php +148 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCacheGenerator.php +47 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownDataBuilder.php +143 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdder.php +119 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +56 −213 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownCacheGenerationCheckerTest.php +221 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownDataBuilderTest.php +163 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/Burndown/BurndownRemainingEffortAdderTest.php +134 −0 Go to diff View file