예제 #1
0
        public void Traverse()
        {
            if (IsNotEmpty)
            {
                Dictionary<int, TestStep>.ValueCollection steps = testSteps.Values;

                foreach (TestStep step in steps)
                {
                    ReportBase newReport = new ReportBase();
                    newReport.Name = step.ToString();
                    HandleReport(newReport);
                }
            }
        }
 private void HandleReport(ReportBase reportToHandle)
 {
     if (ReportHandlerOn)
     {
         ReportHandler(reportToHandle);
     }
 }
예제 #3
0
 protected void HandleReport(ReportBase reportToHandle)
 {
     if (ReportHandlerOn)
     {
         ReportHandler(reportToHandle);
     }
 }