public RowTestSuite CreateRowTestSuite(MethodInfo method) { if (method == null) throw new ArgumentNullException("method"); RowTestSuite testSuite = new RowTestSuite(method); NUnitFramework.ApplyCommonAttributes(method, testSuite); return testSuite; }
public RowTestSuite CreateRowTestSuite(MethodInfo method) { if (method == null) { throw new ArgumentNullException("method"); } RowTestSuite testSuite = new RowTestSuite(method); NUnitFramework.ApplyCommonAttributes(method, testSuite); return(testSuite); }
public Test BuildFrom(MethodInfo method) { if (method == null) { throw new ArgumentNullException("method"); } RowTestSuite suite = _testFactory.CreateRowTestSuite(method); Attribute[] rows = RowTestFramework.GetRowAttributes(method); foreach (Attribute row in rows) { suite.Add(_testFactory.CreateRowTestCase(row, method)); } return(suite); }