01: package test.configuration;
02:
03: import org.testng.Assert;
04: import org.testng.Reporter;
05:
06: public class GroupLessTest extends GroupLessBaseTest {
07:
08: /**
09: * @testng.test groups = "init"
10: */
11: public void initMethod() {
12: Assert.assertTrue(setup);
13: }
14:
15: /**
16: * @testng.test groups = "init"
17: * dependsOnMethods = "initMethod"
18: */
19: public void startMethod() {
20: }
21:
22: /**
23: * @testng.test groups = "run"
24: * dependsOnGroups = "init"
25: */
26: public void endMethod() {
27: }
28:
29: /**
30: * @testng.test dependsOnMethods = "endMethod"
31: */
32: public void verify() {
33: Assert.assertTrue(setup);
34: }
35:
36: }
|