stable

Clone or download

Read-only

REST test for computed fields

This is part of story #9090 have computed fields compatible with artifact links v2 They enable to test the complexity of the request : - with more than on field on same artifact - with mixing deprecated and migrated field on same artifact It also test complexity of calcul : - fast compute - slow compute with the name identical to target - slow compute with name different from target The complexity of recurisvity is already tested in unit test. Change-Id: Ib664a40ba5ec17d2bd103450b9a1358e5ef656eb

Modified Files

Name
M plugins/git/tests/rest/GitDataBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +2 −1 Go to diff View file
M tests/lib/TestDataBuilder.php +1 −0 Go to diff View file
M tests/lib/rest/TestDataBuilder.php +162 −16 Go to diff View file
M tests/lib/rest/TestDataBuilderNG.php +6 −2 Go to diff View file
M tests/lib/rest/init_data.php +1 −0 Go to diff View file
M tests/rest/ArtifactsTest.php +52 −0 Go to diff View file
A tests/rest/_fixtures/07-computedfield/project.xml +19 −0 Go to diff View file
A tests/rest/_fixtures/07-computedfield/user_map.csv +1 −0 Go to diff View file
A tests/rest/_fixtures/07-computedfield/users.xml +10 −0 Go to diff View file
A tests/rest/_fixtures/tuleap_computedfields_template.xml +254 −0 Go to diff View file
M tests/rest/bin/setup.sh +1 −0 Go to diff View file