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