01: package test.dependent;
02:
03: /**
04: * This class verifies that when methods have dependents, they are run
05: * in the correct order.
06: *
07: * @author Cedric Beust, Aug 19, 2004
08: *
09: */
10: public class OrderMethodTest extends BaseOrderMethodTest {
11: /**
12: * @testng.test groups="1.0"
13: */
14: public void z_first0() {
15: // ppp("1.0");
16: m_group1[0] = true;
17: }
18:
19: /**
20: * @testng.test groups="2.1" dependsOnGroups="1.0,1.1"
21: */
22: public void a_second1() {
23: // ppp("2.1");
24: verifyGroup(2, m_group1);
25: m_group2[1] = true;
26: }
27:
28: /**
29: * @testng.test groups="1.1"
30: */
31: public void z_premiere1() {
32: // ppp("1.1");
33: m_group1[1] = true;
34: }
35:
36: }
|