3
import org.testng.annotations.AfterClass;
4
import org.testng.annotations.BeforeClass;
5
import org.testng.annotations.Test;
7
public class FactoryOrderSampleTest {
11
public FactoryOrderSampleTest(int j) {
13
log("classC constructor " + value);
16
private void log(String string) {
17
// System.out.println(string);
20
@BeforeClass(groups = { "s1ds" })
22
log("classC.BeforeClass " + value);
25
@Test(groups = { "s1ds" })
26
public void methodC1() throws Exception {
27
// Thread.sleep(1000);
28
log("classC.methodC1 " + value);
31
@AfterClass(groups = { "s1ds" })
32
public void cleanup() {
33
log("classC.AfterClass " + value);
37
public String toString() {
38
return "[FactoryOrderSampleTest " + value + "]";
41
public int getValue() {
b'\\ No newline at end of file'