[
https://issues.apache.org/jira/browse/ONAMI-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Charles closed ONAMI-101.
------------------------------
Resolution: Fixed
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)