stable

Clone or download

Read-only

Ease project retrieval in test suite

part of request #23433 Clean program management tests No functional change expected. ProjectManager is no longer mocked, having it stub makes it usage easier Change-Id: I66b6d3223f467d06f1689fc5233174f4285b9d72

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationCreationProcessorBuilder.php +4 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorBuilder.php +4 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PrioritizeFeaturesPermissionVerifier.php +3 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/ProgramAdapter.php +3 −2 Go to diff View file
M plugins/program_management/include/Adapter/ProjectReferenceRetriever.php +3 −2 Go to diff View file
M plugins/program_management/include/Adapter/Team/TeamAdapter.php +6 −12 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/ProgramFlagsBuilder.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/ProgramPrivacyBuilder.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/ProgramsSearcher.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/ProjectManagerAdapter.php +6 −1 Go to diff View file
A plugins/program_management/include/Adapter/Workspace/RetrieveFullProject.php +29 −0 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/TeamsSearcher.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/UGroupManagerAdapter.php +3 −8 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramBacklogItemsResource.php +2 −1 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +7 −5 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +4 −3 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +80 −45 Go to diff View file
M plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +7 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Events/CollectLinkedProjectsProxyTest.php +25 −18 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Plan/PrioritizeFeaturesPermissionVerifierTest.php +9 −12 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Plan/ProgramAdapterTest.php +8 −14 Go to diff View file
M plugins/program_management/tests/unit/Adapter/ProgramManagementProjectAdapterTest.php +4 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Team/TeamAdapterTest.php +8 −12 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/ProgramFlagsBuilderTest.php +4 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/ProgramPrivacyBuilderTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/ProgramsSearcherTest.php +6 −8 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/TeamsSearcherTest.php +6 −8 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandlerTest.php +3 −4 Go to diff View file
M plugins/program_management/tests/unit/Domain/Workspace/CollectLinkedProjectsHandlerTest.php +14 −17 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveFullProjectStub.php +59 −0 Go to diff View file