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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development