[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2424) Rearchitect BaseSeamTest to have one configuration per suite instead of class

Christian Bauer (JIRA) jira-events at lists.jboss.org
Thu Jan 17 04:25:19 EST 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2424?page=comments#action_12395438 ] 
            
Christian Bauer commented on JBSEAM-2424:
-----------------------------------------

This already works in CVS, use these overrides in a subclass:

    @Override
    @BeforeSuite
    protected void startSeam() throws Exception
    {
        super.startSeam();
    }
    
    @Override
    @AfterSuite
    protected void stopSeam() throws Exception
    {
        super.stopSeam();
    }
    
    @Override
    public void init() throws Exception
    {
        // no-op
    }
   
    @Override
    public void cleanup() throws Exception
    {
        // no-op
    }

For an example, see http://fisheye.jboss.com/browse/JBoss/jboss-seam/examples/wiki/src/test/org/jboss/seam/wiki/test/util/DBUnitSeamTest.java

> Rearchitect BaseSeamTest to have one configuration per suite instead of class
> -----------------------------------------------------------------------------
>
>                 Key: JBSEAM-2424
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2424
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Test Harness
>    Affects Versions: 2.0.1.CR1
>         Environment: JPA
>            Reporter: Andrew
>         Assigned To: Pete Muir
>             Fix For: 2.1.0.GA
>
>
> See forum reference for information

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

        



More information about the seam-issues mailing list