stable
Clone or download
Read-only
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. Using a smaller interface allows us to replace a lot of mocks with a simple stub class. It will be useful for us to build a list of team projects in the sidebar. Change-Id: I17041c8e81c93eb191a69e016a4531def6edd811
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/include/Adapter/Program/Plan/ProgramAdapter.php | +7 | −16 | Go to diff View file |
M | plugins/program_management/include/Adapter/Program/ProgramDao.php | +5 | −4 | Go to diff View file |
M | plugins/program_management/include/Adapter/Team/TeamAdapter.php | +7 | −16 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ArtifactCreatedHandler.php | +5 | −5 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/ProgramStore.php | +0 | −2 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/VerifyIsProgram.php | +28 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Workspace/ComponentInvolvedVerifier.php | +12 | −15 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Plan/ProgramAdapterTest.php | +23 | −29 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Team/TeamAdapterTest.php | +18 | −23 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ArtifactCreatedHandlerTest.php | +8 | −15 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Workspace/ComponentInvolvedVerifierTest.php | +16 | −19 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/VerifyIsProgramStub.php | +50 | −0 | Go to diff View file |