stable

Clone or download

Read-only

Split SearchTeamsOfProgram interface

part of story #21791 see Programs & Teams in sidebar No functional change expected. ProgramStore did a lot of things, which makes it harder to stub. Besides, it returned an array of array, which does not make it easy to use. Returning an array of int is easier for callers. It will be useful for us to build a list of team projects in the sidebar. Change-Id: I92a7f0555ab9c61f3040cca9b9809cd89a70294d

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTask.php +5 −5 Go to diff View file
M plugins/program_management/include/Adapter/Program/ProgramDao.php +7 −8 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandler.php +5 −5 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Team/TeamProjectsCollection.php +9 −6 Go to diff View file
M plugins/program_management/include/Domain/Program/ProgramStore.php +0 −5 Go to diff View file
A plugins/program_management/include/Domain/Program/SearchTeamsOfProgram.php +31 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTaskTest.php +13 −16 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/RequiredFieldCheckerTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/SemanticCheckerTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/StatusSemanticCheckerTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/WorkflowCheckerTest.php +5 −5 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreatorTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandlerTest.php +10 −19 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/IterationCreatorCheckerTest.php +7 −7 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ProgramIncrementCreatorCheckerTest.php +7 −7 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/TimeboxCreatorCheckerTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SynchronizedFieldCollectionBuilderTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Team/TeamProjectsCollectionTest.php +4 −4 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/Source/SourceTrackerCollectionTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/TrackerCollectionTest.php +9 −9 Go to diff View file
R plugins/program_management/tests/unit/Stub/ProgramStoreStub.php Go to diff View file