Example #1
0
        public void WriteTest(PageResult result)
        {
            MakeStylesheet();

            string outputFile = Path.Combine(myFolder.OutputPath, myPath.OutputFileName);

            myFolderModel.MakeFile(outputFile, AddStyleSheetLink(result.Content));
            myFolder.ListFile(outputFile, result.TestCounts, result.ElapsedTime);
        }
Example #2
0
        public void WriteTest(PageResult result)
        {
            MakeStylesheet();

            var outputFile = Path.Combine(myFolder.OutputPath, myPath.OutputFileName);

            myFolderModel.MakeFile(outputFile, HtmlDecorator.AddToStart(ResultComment(result.TestCounts), AddStyleSheetLink(result.Content)));
            myFolder.ListFile(outputFile, result.TestCounts, result.ElapsedTime);
        }
Example #3
0
        public void WriteTest(PageResult result)
        {
            string outputFile = Path.Combine(myFolder.OutputPath, myPath.OutputFileName);

            myFolderModel.MakeFile(outputFile, result.Content);
            myFolder.ListFile(outputFile, result.TestCounts, result.ElapsedTime);
        }
Example #4
0
        private void WriteResult(StoryTestString testResult, TestCounts counts)
        {
            string outputFile = Path.Combine(myFolder.OutputPath, myPath.OutputFileName);
            var    output     = new StringWriter();

            output.Write(testResult);
            output.Close();
            myFolderModel.MakeFile(outputFile, output.ToString());
            myFolder.ListFile(outputFile, counts, elapsedTime);
        }
Example #5
0
 public void Finish(FolderModel folderModel) {
     content.WriteLine("</body></html>");
     folderModel.MakeFile(System.IO.Path.Combine(reportPath, ourReportName), content.ToString());
 }