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:11:13 UTC

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

Eric Charles created ONAMI-101:
----------------------------------

             Summary: 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