1
// *********************************************************************
2
// Copyright 2007, Andreas Schlapsi
3
// This is free software licensed under the MIT license.
4
// *********************************************************************
6
using System.Reflection;
9
namespace NUnitExtension.RowTest.AddIn
11
public class RowTestSuite : TestSuite
13
private static string GetParentName(MethodInfo method)
16
throw new ArgumentNullException("method");
18
return method.DeclaringType.ToString();
21
private static string GetTestName(MethodInfo method)
24
throw new ArgumentNullException("method");
29
public RowTestSuite(MethodInfo method)
30
: base (GetParentName(method), GetTestName(method))
34
public override TestResult Run(EventListener listener, ITestFilter filter)
36
if (this.Parent != null)
37
this.Fixture = this.Parent.Fixture;
39
return base.Run(listener, filter);
42
protected override void DoOneTimeSetUp(TestResult suiteResult)
46
protected override void DoOneTimeTearDown(TestResult suiteResult)