PrintOutAloneEnd() public method

public PrintOutAloneEnd ( string id, ResultsFile file ) : void
id string
file ResultsFile
return void
Exemplo n.º 1
0
        public void WhenFinished(ResultsFile file)
        {
            var rt = new RunTests();

            rt.PrintOutAloneStart(_id);
            foreach (var r in file.Results)
            {
                rt.PrintOutAloneResults(r);
            }
            rt.PrintOutAloneEnd(_id, file);

            if (_outputs != null && _outputs.Any())
            {
                WriteResults.ToFiles(file, _outputs);
                Environment.ExitCode = file.HasError ? 1 : 0;
            }
        }
Exemplo n.º 2
0
        public void WhenFinished(ResultsFile file)
        {
            var rt = new RunTests();

            rt.PrintOutAloneStart(_id);
            foreach (var r in file.Results)
            {
                rt.PrintOutAloneResults(r);
            }
            rt.PrintOutAloneEnd(_id, file);

            if (_outputs != null && _outputs.Any())
            {
                WriteResults.ToFiles(file, _outputs);
                Environment.ExitCode = file.HasError ? 1 : 0;
            }
        }