Closed (fixed)
Project:
Translation Management Tool
Version:
7.x-1.x-dev
Component:
Core
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Apr 2013 at 13:37 UTC
Updated:
2 Jul 2013 at 20:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
berdirComment #2
blueminds commentedPlease see the patch.
Within this issue a very vague test coverage of the review tool has been added. Here is an issue to provide full #2022439
Comment #3
blueminds commentedComment #4
berdirLet's use t() and some placeholders, e.g. for the data_item_key to verify that we get the correct information. uppercase Testing and . at the end, even if it's just for tests :)
Just access it directly. $job_item->getTranslatorController() and $job_item->getSourceController(). You requested the source ui controller using the translator plugin name, that only works because the test module implements both ;)
Should have a one line description and just testReview().
I wouldn't hardcode this but get it from $item->data..
Missing ()
Comment #5
blueminds commentedcomments implemented.
RE $job_item->getTranslatorController() - that gives me the plugin controller but what I need there is the ui controller.
Comment #6
berdirAh yes, sorry about the UI controller. We should probably have methods for those but that's a different topic. Committed and pushed.