public void ReportInitialState(int mutantsToBeTested) { _stopWatch.Start(); _mutantsToBeTested = mutantsToBeTested; _progressBar.Start(_mutantsToBeTested, string.Format(LoggingFormat, 0, _mutantsToBeTested, _mutantsKilledCount, _mutantsSurvivedCount, _mutantsTimeoutCount, RemainingTime())); }
public void ReportInitialState(int totalNumberOfTests) { _stopWatch.Start(); if (totalNumberOfTests == 0) { _testsProgressLogger.StartLog(LoggingFormat, GenerateProgressBar(MaxProgressBar), 0, 0, 100, RemainingTime()); return; } _totalNumberOfTests = totalNumberOfTests; var totalNumberOfTestsPercentage = _numberOfTestsRun * 100 / _totalNumberOfTests; var progressBar = GenerateProgressBar(ProgressBarInitialState); _testsProgressLogger.StartLog(LoggingFormat, progressBar, _numberOfTestsRun, _totalNumberOfTests, totalNumberOfTestsPercentage, RemainingTime()); }
public void ReportInitialState(int totalNumberOfTests) { _stopWatch.Start(); _totalNumberOfMutants = totalNumberOfTests; _testsProgressLogger.StartLog(LoggingFormat, GenerateProgressBar(0), 0, _totalNumberOfMutants, 0, RemainingTime()); }