stable
Clone or download
Read-only
part of story #21368 create mirrored iteration No functional change, this only touches unit tests. TeamProjectsCollection is annoying to build and is built in a lot of tests. I also added a ProjectReferenceStub to replace the ProjectReferenceBuilder. Interfaces like ProjectReference should have Stubs. Builders are meant for more complex business objects that don't have interfaces, like TeamProjectsCollection. Change-Id: I9241f47ee28ea206b4838e227d3c47b9d2b1815b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/program_management/tests/unit/Adapter/Admin/Configuration/ConfigurationErrorPresenterBuilderTest.php | +22 | −21 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Admin/Configuration/ConfigurationErrorsCollectorTest.php | +9 | −9 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorTest.php | +5 | −1 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/RequiredFieldCheckerTest.php | +11 | −13 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/SemanticCheckerTest.php | +5 | −7 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/StatusSemanticCheckerTest.php | +12 | −9 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/WorkflowCheckerTest.php | +4 | −8 | Go to diff View file |
M | plugins/program_management/tests/unit/Adapter/Program/PlanningAdapterTest.php | +7 | −7 | Go to diff View file |
D | plugins/program_management/tests/unit/Builder/ProjectReferenceBuilder.php | +0 | −44 | Go to diff View file |
A | plugins/program_management/tests/unit/Builder/TeamProjectsCollectionBuilder.php | +50 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php | +5 | −4 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Admin/PotentialTeam/PotentialTeamsCollectionTest.php | +5 | −5 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Admin/Team/TeamsPresenterBuilderTest.php | +5 | −8 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/IterationCreationProcessorTest.php | +5 | −1 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreatorTest.php | +5 | −8 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandlerTest.php | +3 | −3 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ConfigurationErrorsGathererTest.php | +6 | −6 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/IterationCreatorCheckerTest.php | +16 | −33 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ProgramIncrementCreatorCheckerTest.php | +16 | −33 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/TimeboxCreatorCheckerTest.php | +11 | −10 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/TrackerErrorPresenterTest.php | +9 | −14 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Team/TeamProjectsCollectionTest.php | +5 | −1 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/Source/SourceTrackerCollectionTest.php | +5 | −6 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/TrackerCollectionTest.php | +7 | −16 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Workspace/ComponentInvolvedVerifierTest.php | +2 | −2 | Go to diff View file |
A | plugins/program_management/tests/unit/Stub/ProjectReferenceStub.php | +63 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Stub/RetrieveProjectFromTrackerStub.php | +2 | −3 | Go to diff View file |
M | plugins/program_management/tests/unit/Stub/RetrieveProjectReferenceStub.php | +18 | −2 | Go to diff View file |