Ejemplo n.º 1
0
 public void ReportLevels()
 {
     report.Step("Let's play with levels");
     report.StartLevel("Click on me to see more reports");
     report.Report("Something");
     report.Report("Something else");
     report.Report("Additional something");
     report.EndLevel();
 }
Ejemplo n.º 2
0
        public void SingleLevelReport(string text = "This is the title of the level - click to expand")
        {
            try
            {
                Report.StartLevel(text);

                Report.Report("This text is nested inside the level");
            }
            finally
            {
                // We must end the level to avoid cases where subsequent reports accidentally write
                // inside this level.
                Report.EndLevel();
            }
        }
Ejemplo n.º 3
0
 public static void ReportStartLevel(string levelTitle)
 {
     report.StartLevel(levelTitle);
 }