public void EmptyProfilingSummary() { var profilingResults = new CodeProfilingResults(new List <CodeProfilerSection>()); var profilingResultsFormatter = new CodeProfilingResultsFormatter(profilingResults); var profiler = new CodeProfiler(); Assert.AreEqual(profilingResultsFormatter.Summary, profiler.GetProfilingResultsSummary(ProfilingMode.Rendering)); }
public void EmptyProfilingSummary() { var profilingResults = new CodeProfilingResults(new List<CodeProfilerSection>()); var profilingResultsFormatter = new CodeProfilingResultsFormatter(profilingResults); var profiler = new CodeProfiler(); Assert.AreEqual(profilingResultsFormatter.Summary, profiler.GetProfilingResultsSummary(ProfilingMode.Rendering)); }