You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Eric Charles (JIRA)" <ji...@apache.org> on 2013/03/11 16:17:14 UTC

[jira] [Commented] (ONAMI-101) Inject test classes when running a TestSuite (add a OnamiSuite class)

    [ https://issues.apache.org/jira/browse/ONAMI-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598882#comment-13598882 ] 

Eric Charles commented on ONAMI-101:
------------------------------------

Committed in http://svn.apache.org/viewvc?view=revision&revision=r1455170

Feel free to review and comment.
In the meantime, I will add update the website doc (and fix some bits and the committed javadoc).

Thx, Eric

                
> Inject test classes when running a TestSuite (add a OnamiSuite class)
> ---------------------------------------------------------------------
>
>                 Key: ONAMI-101
>                 URL: https://issues.apache.org/jira/browse/ONAMI-101
>             Project: Apache Onami
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: test-1.4.1
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: test-1.4.1
>
>
> When we run suite, the test classes are not injected.
> We want to support the following construct, where the AuthenticatedStateTest will be injected (the @GuiceModule can be defined on the suite or on the test class.
> @GuiceModules({ InMemoryMailboxModule.class })
> @RunWith(OnamiSuite.class)
> @SuiteClasses({ AuthenticatedStateTest.class })
> public class InMemoryMailboxTest extends AbstractMailboxTest {
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira