1 package test.multiple; 2 3 import org.testng.annotations.Test; 4 5 import test.BaseTest; 6 7 public class TestMultiple extends BaseTest { 8 9 private static final String CLASS_NAME = "test.multiple.ThisFactory"; 10 11 @Test(groups = { "current" }) multiple()12 public void multiple() { 13 addClass(CLASS_NAME); 14 run(); 15 String[] passed = { 16 "f1", 17 }; 18 String[] failed = { 19 "f1","f1","f1","f1","f1", "f1","f1","f1","f1", 20 }; 21 verifyTests("Passed", passed, getPassedTests()); 22 verifyTests("Failed", failed, getFailedTests()); 23 } 24 25 } 26