stable

Clone or download

Read-only

Add stubs for field references and values

part of story #22675 replicate program increment changes to mirrored program increments How to test: No functional change expected when creating mirror program increments. You can test for non-regression with the end-to-end tests. Notes: This lets us use field references more easily in unit tests. All *Value are now built from the corresponding *FieldReference. Change-Id: I09a3f812d293922ae46a8aaaf8f78e350f013577

Modified Files

Name
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/DescriptionValue.php +5 −10 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/EndPeriodValue.php +5 −8 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SourceTimeboxChangesetValues.php +5 −5 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/StartDateValue.php +5 −8 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/StatusValue.php +4 −4 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/TitleValue.php +5 −8 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/RetrieveTitleField.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/StatusValueMapperTest.php +16 −9 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/FieldValuesGathererTest.php +39 −30 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/DescriptionValueTest.php +4 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/EndPeriodValueTest.php +4 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/MappedStatusValueTest.php +8 −27 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/StartDateValueTest.php +4 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/StatusValueTest.php +4 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/TitleValueTest.php +4 −6 Go to diff View file
A plugins/program_management/tests/unit/Stub/ArtifactLinkFieldReferenceStub.php +52 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/DescriptionFieldReferenceStub.php +52 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/EndPeriodFieldReferenceStub.php +52 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/GatherFieldValuesStub.php +11 −12 Go to diff View file
M plugins/program_management/tests/unit/Stub/GatherSynchronizedFieldsStub.php +11 −11 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveArtifactLinkFieldStub.php +2 −19 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveDescriptionFieldStub.php +2 −19 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveDescriptionValueStub.php +2 −3 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveEndPeriodFieldStub.php +2 −19 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveEndPeriodValueStub.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveStartDateFieldStub.php +2 −19 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveStartDateValueStub.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveStatusFieldStub.php +2 −19 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveStatusValuesStub.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveTitleFieldStub.php +3 −23 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveTitleValueStub.php +1 −1 Go to diff View file
A plugins/program_management/tests/unit/Stub/StartDateFieldReferenceStub.php +52 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/StatusFieldReferenceStub.php +52 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/TextFieldValueStub.php +47 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/TitleFieldReferenceStub.php +52 −0 Go to diff View file