stable

Clone or download

Read-only

Milestone objects use TimePeriod

This is part of story #12537 configure my burndown/up & sprint with a start date & end date Milestone objects depend now from TimePeriod object instead of start_date and duration independently. There are no functionnal changes expected. Change-Id: I5886c9b6818d2dd898358c1e93448182e93d51e1

Modified Files

Name
M plugins/agiledashboard/include/Planning/ArtifactMilestone.class.php +62 −46 Go to diff View file
M plugins/agiledashboard/include/Planning/Milestone.class.php +7 −3 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +13 −9 Go to diff View file
M plugins/agiledashboard/include/Planning/NoMilestone.class.php +17 −5 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestone.class.php +20 −5 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Planning/ArtifactMilestoneTest.php +223 −0 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Planning/MilestoneFactoryTest.php +187 −0 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Planning/NoMilestoneTest.php +81 −0 Go to diff View file
M plugins/agiledashboard/tests/include/MilestoneFactoryTest.php +0 −99 Go to diff View file
D plugins/agiledashboard/tests/include/MilestoneTest.php +0 −242 Go to diff View file