Lines 1-6
Link Here
|
1 |
package test.configuration; |
1 |
package test.configuration; |
2 |
|
2 |
|
3 |
import java.util.ArrayList; |
3 |
import java.util.ArrayList; |
|
|
4 |
import java.util.Collections; |
4 |
import java.util.List; |
5 |
import java.util.List; |
5 |
|
6 |
|
6 |
import org.testng.annotations.AfterGroups; |
7 |
import org.testng.annotations.AfterGroups; |
Lines 9-15
Link Here
|
9 |
import org.testng.annotations.Test; |
10 |
import org.testng.annotations.Test; |
10 |
|
11 |
|
11 |
public class ConfigurationGroupBothSampleTest { |
12 |
public class ConfigurationGroupBothSampleTest { |
12 |
static List<Integer> m_list = new ArrayList<Integer>(); |
13 |
static List<Integer> m_list = Collections.synchronizedList(new ArrayList<Integer>()); |
13 |
|
14 |
|
14 |
@BeforeGroups(groups={"twice"}, value={"twice"}) |
15 |
@BeforeGroups(groups={"twice"}, value={"twice"}) |
15 |
public void a(){ |
16 |
public void a(){ |