Пример #1
0
        private static void LogResultSummary(ILogger logger, TestLauncherResult result)
        {
            switch (result.ResultCode)
            {
            case ResultCode.Success:
                logger.Log(LogSeverity.Info, result.ResultSummary);
                break;

            case ResultCode.Failure:
                logger.Log(LogSeverity.Error, result.ResultSummary);
                break;
            }
        }
Пример #2
0
        private static void LogResultSummary(ILogger logger, TestLauncherResult result)
        {
            switch (result.ResultCode)
            {
                case ResultCode.Success:
                    logger.Log(LogSeverity.Info, result.ResultSummary);
                    break;

                case ResultCode.Failure:
                    logger.Log(LogSeverity.Error, result.ResultSummary);
                    break;
            }
        }