Exemplo n.º 1
0
 /// <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;
     }
 }
Exemplo n.º 2
0
 /// <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;
     }
 }
Exemplo n.º 3
0
 /// <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)
 {
 }
Exemplo n.º 4
0
 /// <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);
 }
Exemplo n.º 5
0
 public void RunPreBuild(IMemberPreBuildContext context)
 {
     PreBuildCalled++;
 }
Exemplo n.º 6
0
 /// <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)
 {
 }
Exemplo n.º 7
0
 /// <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);
 }