stable

Clone or download

Read-only

chore: Interfaces for XTS Report DAO

part of request #40099 Cross-Tracker search finishing touches 16.1 No functional change expected. Why? Having interfaces will let us write mock-free unit tests. Also moved CreateReport interface and stub in Report folder. Change-Id: Ie566bf23023ec1e228e8575319724c27e8e64681

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/CrossTrackerReportCreator.php +1 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/CrossTrackerReportDao.php +10 −5 Go to diff View file
M plugins/crosstracker/include/CrossTracker/CrossTrackerReportFactory.php +13 −8 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +3 −1 Go to diff View file
R plugins/crosstracker/include/CrossTracker/CreateReport.php Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/RetrieveReport.php +29 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/SearchTrackersOfReport.php +29 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Widget/ProjectCrossTrackerSearch.php +3 −3 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +4 −2 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/CrossTrackerReportDaoTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/CrossTrackerReportCreatorTest.php +1 −0 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/CrossTrackerReportFactoryTest.php +34 −43 Go to diff View file
R plugins/crosstracker/tests/unit/CrossTracker/CreateReportStub.php Go to diff View file
A plugins/crosstracker/tests/unit/CrossTracker/Tests/Stub/Report/RetrieveReportStub.php +54 −0 Go to diff View file
A plugins/crosstracker/tests/unit/CrossTracker/Tests/Stub/Report/SearchTrackersOfReportStub.php +51 −0 Go to diff View file