IRowSuite IConeSuite.AddRowSuite(ConeMethodThunk thunk, string suiteName) { throw new NotImplementedException(); }
public ConePadRowSuite(ConePadSuite parent, ConeMethodThunk thunk) { this.parent = parent; this.thunk = thunk; }
protected abstract IRowSuite CreateRowSuite(ConeMethodThunk method, string context);
void AddTest(ITestName displayName, ConeMethodThunk thunk, object[] args, ExpectedTestResult result) { tests.Add(NewTest(displayName, thunk, args, result)); }
IConeTest NewTest(ITestName displayName, ConeMethodThunk thunk, object[] args, ExpectedTestResult result) { return new ConePadTest(displayName, NewTestMethod(fixture, thunk.Method, result), args, thunk); }
public IRowSuite AddRowSuite(ConeMethodThunk thunk, string suiteName) { return new ConePadRowSuite(this, thunk) { Name = Name + "." + suiteName }; }
public IRowSuite AddRowSuite(ConeMethodThunk thunk, string suiteName) { var newSuite = new AddinRowSuite(thunk, this, testExecutor, suiteName); AddWithAttributes(thunk, newSuite); return newSuite; }
void AddTestMethod(ConeMethodThunk thunk) { AddWithAttributes(thunk, new AddinTestMethod(thunk, this, testExecutor, thunk.NameFor(null))); }
protected override IRowSuite CreateRowSuite(ConeMethodThunk method, string suiteName) { return suite.AddRowSuite(method, suiteName); }
public AddinTestMethod(ConeMethodThunk thunk, Test suite, TestExecutor testExecutor, string name) : base(suite, testExecutor, name) { this.thunk = thunk; }