public override void InvokeMethod(object fixture, MethodEntry testMethod) { if (testMethod.MethodType == MethodType.FixtureSetUpMethod) { // TODO: Need to get test context here from instance then pass it to setup method. [18mar09, ml] // "Using the TestContext class": http://msdn.microsoft.com/en-us/library/ms404699.aspx testMethod.Invoke(fixture, new object[] { null }); } else { testMethod.Invoke(fixture); } }
public override void InvokeMethod(object fixture, MethodEntry testMethod) { testMethod.Invoke(fixture); }
public override void InvokeMethod(object fixture, MethodEntry testMethod) { if (testMethod.MethodType == MethodType.FixtureSetUpMethod) { // TODO: Need to get test context here from instance then pass it to setup method. [18mar09, ml] // "Using the TestContext class": http://msdn.microsoft.com/en-us/library/ms404699.aspx testMethod.Invoke(fixture, new object[]{null}); } else { testMethod.Invoke(fixture); } }