[jboss-dev] Re: AS testsuite

Scott Stark sstark at redhat.com
Wed Jun 18 07:38:23 EDT 2008


The TestSuite.addTest uses a Vector, so the add order is the test run 
order. That is why the setup explicitly adds the tests in the given order.

Ales Justin wrote:
>
> Across ProfileService tests.
> At least that's what I saw yesterday - if ps.DeployUTC failed, then 
> all the next one's failed as well - with that MD.checkComplete error.
>
> On unrelated note, the tests in PS do depend on order - addXY must 
> definitely be before removeXY.
> How do we control this?
>
> With this:
>       suite.addTest(new ProfileServiceUnitTestCase("testAddDataSource"));
>       suite.addTest(new 
> ProfileServiceUnitTestCase("testRemoveDataSource"));
>
> Is suite backed-up by list or set?
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list