/// <summary> /// Runs before anything else on the test method. /// </summary> /// <param name="context">The build context of the test method member.</param> protected override void PreBuild(IMemberPreBuildContext context) { if (TestsToRemove.Any(e => e == context.MemberInfo.Name)) { context.PreBuildResult.ExcludeMember = true; } }
/// <summary> /// Runs before anything else on the test method. /// </summary> /// <param name="context">The build context of the test method member.</param> protected override void PreBuild(IMemberPreBuildContext context) { if (TestsToRemove.Any(e => e == context.MemberInfo.Name)) { context.PreBuildResult.ExcludeMember = true; } }
/// <summary> /// Runs before anything else on the test method. /// </summary> /// <param name="context">The build context of the test method member.</param> /// <remarks> /// The builders are called one after one, so an integral name resolution happens. /// </remarks> protected virtual void PreBuild(IMemberPreBuildContext context) { }
/// <summary> /// Runs before anything else on the test method. /// </summary> /// <param name="context">The build context of the test method member.</param> /// <remarks> /// The builders are called one after one, so an integral name resolution happens. /// </remarks> public void RunPreBuild(IMemberPreBuildContext context) { this.PreBuild(context); }
public void RunPreBuild(IMemberPreBuildContext context) { PreBuildCalled++; }
/// <summary> /// Runs before anything else on the test method. /// </summary> /// <param name="context">The build context of the test method member.</param> /// <remarks> /// The builders are called one after one, so an integral name resolution happens. /// </remarks> protected virtual void PreBuild(IMemberPreBuildContext context) { }
/// <summary> /// Runs before anything else on the test method. /// </summary> /// <param name="context">The build context of the test method member.</param> /// <remarks> /// The builders are called one after one, so an integral name resolution happens. /// </remarks> public void RunPreBuild(IMemberPreBuildContext context) { this.PreBuild(context); }