stable
Clone or download
Read-only
Part of story #18336 add support of markdown This patch take in account the croos reference How to test: - In the description field of the defintion artifact, write some markdown - Hack your db, Go to tracker_changeset_value_text and change the format from 'text' to 'commonmark' - Go retrieve your test defintion in TTM => The description of the test should be interpreted - Go to the API explorer and test a ttm route. Such as /testmanagement_defintions/:id => If the description is in commomak type then you should see the new key 'commonmark_description' Change-Id: I325d172dbb28eb7055f45157e9b50b0c6193fa4f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/testmanagement/include/TestManagement/REST/ResourcesInjector.class.php | +1 | −1 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php | +10 | −3 | Go to diff View file |
D | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentationBuilder.php | +0 | −105 | Go to diff View file |
A | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DefinitionCommonmarkRepresentation.php | +177 | −0 | Go to diff View file |
A | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DefinitionDescriptionFormatNotFoundException.php | +39 | −0 | Go to diff View file |
A | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentation.php | +36 | −0 | Go to diff View file |
A | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentationBuilder.php | +209 | −0 | Go to diff View file |
R | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentation.php | Go to diff View file | ||
A | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DescriptionTextFieldNotFoundException.php | +34 | −0 | Go to diff View file |
R | plugins/testmanagement/include/TestManagement/REST/v1/MinimalDefinitionRepresentation.php | Go to diff View file | ||
M | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionsResource.class.php | +13 | −4 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/Execution/StepsResultsRepresentationBuilder.php | +1 | −1 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/ExecutionRepresentation.php | +1 | −0 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/ExecutionRepresentationBuilder.php | +13 | −24 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/ExecutionWithAutomatedTestDataProvider.php | +2 | −1 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php | +9 | −3 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/ProjectResource.class.php | +1 | −0 | Go to diff View file |
M | plugins/testmanagement/include/TestManagement/REST/v1/StepsResultsChangesBuilder.php | +1 | −0 | Go to diff View file |
A | plugins/testmanagement/tests/unit/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentationBuilderTest.php | +295 | −0 | Go to diff View file |
R | plugins/testmanagement/tests/unit/TestManagement/REST/v1/DefinitionRepresentationTest.php | Go to diff View file | ||
R | plugins/testmanagement/tests/unit/TestManagement/REST/v1/StepDefinitionRepresentations/StepDefinitionRepresentationBuilderTest.php | Go to diff View file | ||
R | plugins/testmanagement/tests/unit/TestManagement/REST/v1/StepDefinitionRepresentations/StepDefinitionRepresentationTest.php | Go to diff View file | ||
M | plugins/testplan/include/REST/v1/DefinitionLinkedToABacklogItemRepresentation.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php | +12 | −0 | Go to diff View file |