stable

Clone or download

Read-only

Import TTM step structure : RelaxNG validation / ttm part

part of story #13003 Add the validation of external field : testmanagementStepDef on XML External element looks like : <externalField type="ttmstepdef" ID="F1602" rank="2"> <name>steps</name> <label>Steps definition</label> <description>Definition</description> <permissions> <permission scope="field" REF="F1602" ugroup="UGROUP_ANONYMOUS" type="PLUGIN_TRACKER_FIELD_READ"/> <permission scope="field" REF="F1602" ugroup="UGROUP_REGISTERED" type="PLUGIN_TRACKER_FIELD_SUBMIT"/> <permission scope="field" REF="F1602" ugroup="UGROUP_PROJECT_MEMBERS" type="PLUGIN_TRACKER_FIELD_UPDATE"/> </permissions> </externalField> Change-Id: Ibfec724981923145cd2c535c3c7e1d800ad59a69

Modified Files

Name
A include/TestManagement/XML/ImportXMLFromTracker.php +45 −0 Go to diff View file
M include/testmanagementPlugin.php +12 −0 Go to diff View file
A phpunit/TestManagement/XML/TrackerXMLImportTest.php +82 −0 Go to diff View file
A resources/testmanagement_external_fields.rnc +20 −0 Go to diff View file
A resources/testmanagement_external_fields.rng +41 −0 Go to diff View file