Refactor ActionbarPresenter for better testability
--------------------------------------------------

                 Key: MGNLUI-408
                 URL: http://jira.magnolia-cms.com/browse/MGNLUI-408
             Project: Magnolia UI
          Issue Type: Task
      Security Level: Public
    Affects Versions: 5.0 Alpha1
            Reporter: Daniel Lipp
            Priority: Major
             Fix For: 5.0


Current implementation of ActionbarPresenter doesn't allow Unit-Test for many 
methods and makes it very complicated for others (u have to provided a full 
ActionbarDefinition although this is only used to instantiated ActionbarViews). 

First step to fix this issue: don't create ActionbarView (via calling 
ActionbarBuilder.build(definition)) in #start(ActionbarDefinition, 
ActionFactory) but pass it as a third parameter in the #start method


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to