stable

Clone or download

Read-only

refactoring: Build DescriptionValue with a static method

part of request #22231 Decrease adapter responsibility No functional change expected when creating mirror program increments. You can use cypress tests for non-regression. Change-Id: Iaceb37c5871512dcd754d21b70d2e75b7ab3386c

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/TaskBuilder.php +4 −3 Go to diff View file
D plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/DescriptionValueAdapter.php +0 −49 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/ArtifactFieldValuesRetriever.php +19 −1 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/TextFieldValueProxy.php +51 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/SourceChangesetValuesCollectionAdapter.php +15 −13 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/DescriptionValue.php +20 −9 Go to diff View file
R plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/BuildDescriptionValue.php Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/TextFieldValue.php +33 −0 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/DescriptionValueAdapterTest.php +0 −117 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/ArtifactFieldValuesRetrieverTest.php +28 −1 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/TextFieldValueProxyTest.php +33 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/SourceChangesetValuesCollectionAdapterTest.php +133 −0 Go to diff View file
M plugins/program_management/tests/unit/Builder/ReplicationDataBuilder.php +10 −4 Go to diff View file
M plugins/program_management/tests/unit/Builder/SourceChangesetValuesCollectionBuilder.php +6 −1 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/DescriptionValueTest.php +46 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveDescriptionValueStub.php +50 −0 Go to diff View file
M plugins/tracker/tests/unit/Builders/ArtifactTestBuilder.php +9 −2 Go to diff View file