1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| package test;
|
| import org.testng.annotations.Test;
|
| /**
| * This class
| *
| * @author cbeust
| */
| public class Misc extends BaseTest {
|
| @Test
| public void makeSureSetUpWithParameterWithNoParametersFails() {
| addClass("test.sample.SetUpWithParameterTest");
| setVerbose(0);
| // setParallel(XmlSuite.PARALLEL_METHODS);
| run();
| String[] passed = {
| };
| // @Configuration failures are not reported in the ITestListener
| String[] failed = {
| };
| String[] skipped = {
| "test",
| };
| verifyTests("Passed", passed, getPassedTests());
| verifyTests("Failed", failed, getFailedTests());
| verifyTests("Failed", skipped, getSkippedTests());
| }
|
| }
|
|