You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Matthieu Baechler (JIRA)" <se...@james.apache.org> on 2019/05/20 08:04:00 UTC

[jira] [Closed] (MPT-39) static field injection and deep class hierarchy makes lifecycle management harder than needed

     [ https://issues.apache.org/jira/browse/MPT-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Baechler closed MPT-39.
--------------------------------
    Resolution: Fixed

Solved with 78cf06abf4c44851c116f71e27326773356c14b7

> static field injection and deep class hierarchy makes lifecycle management harder than needed
> ---------------------------------------------------------------------------------------------
>
>                 Key: MPT-39
>                 URL: https://issues.apache.org/jira/browse/MPT-39
>             Project: James MPT
>          Issue Type: Improvement
>            Reporter: Matthieu Baechler
>            Priority: Major
>
> I tried to have a finer management of resources we use in tests but onami + static field injection + test constructor makes it unmanageable.
> It also enforce the use of guice that should not be needed.
> We could make mpt tests look like regular tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org