Esempio n. 1
0
        public override void RunnerRunEnd(uint eventTime, GingerRunner gingerRunner, string filename = null, int runnerCount = 0, bool offlineMode = false)
        {
            gingerRunner.ExecutionLoggerManager.Configuration.ExecutionLoggerConfigurationIsEnabled = Configuration.ExecutionLoggerConfigurationIsEnabled;
            mExecutionLogger.SetReportRunner(gingerRunner, gingerReport, GingerData, mContext, filename, runnerCount);
            if (this.Configuration.ExecutionLoggerConfigurationIsEnabled)
            {
                this.ExecutionLogBusinessFlowsCounter             = 0;
                mExecutionLogger.ExecutionLogBusinessFlowsCounter = 0;
                this.BFCounter = 0;

                if (!offlineMode)
                {
                    ExecutionProgressReporterListener.AddExecutionDetailsToLog(ExecutionProgressReporterListener.eExecutionPhase.End, "Runner", string.Format("{0} (ID:{1})", gingerRunner.Name, gingerRunner.Guid), gingerReport);
                }
            }
        }