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