Example #1
0
 public static void Write(SubFlows subFlows, string location)
 {
     if (!subFlows.IsEmpty())
     {
         string fileName = string.Format(@"{0}\{1}-{2}.html", location, "Report", subFlows.FlowName);
         File.WriteAllText(fileName, HtmlGenerator.GenerateReport(subFlows));
     }
 }
Example #2
0
 public void Generate()
 {
     Assert.AreEqual(File.ReadAllText(@"Test\Utility\GeneratedReport.htm"), HtmlGenerator.GenerateReport(subFlows));
 }