/// <summary>
 /// Default constructor - initializes all fields to default values
 /// </summary>
 public RunPipeResultEventArgs(RunPipe pipe, ReportRun result)
     : base(pipe)
 {
     if (result==null)
         throw new ArgumentNullException("result");
     this.result = result;
 }
Example #2
0
 /// <summary>
 /// Default constructor - initializes all fields to default values
 /// </summary>
 public RunPipeEventArgs(RunPipe pipe)
 {
     if (pipe == null)
     {
         throw new ArgumentNullException("pipe");
     }
     this.pipe = pipe;
 }
 /// <summary>
 /// Default constructor - initializes all fields to default values
 /// </summary>
 public RunPipeResultEventArgs(RunPipe pipe, ReportRun result)
     : base(pipe)
 {
     if (result == null)
     {
         throw new ArgumentNullException("result");
     }
     this.result = result;
 }
 public RunPipeStarter(RunPipe pipe)
 {
     if (pipe == null)
         throw new ArgumentNullException("pipe");
     this.pipe = pipe;
 }
 public void Skip(RunPipe pipe, ReportRun result)
 { }
        public void Failure(RunPipe pipe, ReportRun result)
        {
			Writer.WriteLine("[failure] {0}: {1}", pipe.Name, result.Exception.Message);
		}
        public void Ignore(RunPipe pipe, ReportRun result)
        {
			Writer.WriteLine("[ignored] {0}", pipe.Name);
		}
 // MLS 12/21/05 - changing some of the messages below to give details more like the AutoRunner,
 //      although it still doesn't show all the details that the AutoRunner does.
 // TOOD: Refactor so that this is exactly like the AutoRunner, and remove duplicate code.
 
 public void Success(RunPipe pipe, ReportRun result)
 {
     Writer.WriteLine("[success] {0}", pipe.Name);
 }
		public void Start(RunPipe pipe)
		{}