stable

Clone or download

Read-only

Export/Import effort based semantic Progress

part of: story #20919 define progress of artifacts How to test: - Export the structure of a tracker where the semantic Progress is defined - Create a new tracker using this XML structure --> The semantic progress has the same configuration in the newly created tracker than the source one. - When the source tracker has no semantic Progress defined --> The semantic Progress in the newly created tracker is undefined - When the total effort and the remaining effort field have the same ID in the XML --> The semantic Progress is invalid --> The reason is displayed in the global semantic admin and in the roadmap widget (on tasks) if there is one. Change-Id: I6541ebbd2c2fa5a48a3394aaa59f646a219b11e9

Modified Files

Name
M plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksRetrieverTest.php +11 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/IComputeProgression.php +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/InvalidMethod.php +10 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodBasedOnEffort.php +31 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/MethodNotConfigured.php +9 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgress.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgressBuilder.php +11 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgressFromXMLBuilder.php +96 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticFactory.class.php +8 −0 Go to diff View file
M plugins/tracker/resources/tracker-definition.rnc +14 −0 Go to diff View file
M plugins/tracker/resources/tracker-definition.rng +17 −0 Go to diff View file
M plugins/tracker/resources/tracker.rng +17 −0 Go to diff View file
M plugins/tracker/resources/trackers.rng +17 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +8 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/InvalidMethodTest.php +20 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBasedOnEffortTest.php +60 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodNotConfiguredTest.php +20 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Progress/SemanticProgressBuilderTest.php +15 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Progress/SemanticProgressFromXMLBuilderTest.php +162 −0 Go to diff View file
M src/common/xml/resources/project/project.rng +17 −0 Go to diff View file
M src/common/xml/resources/project/tracker-definition.rng +17 −0 Go to diff View file