CodeProfilerTests EmptyProfilingSummary Method Delta Engine Documentation

Namespace: DeltaEngine.Profiling.Tests
Assembly: DeltaEngine.Profiling.Tests (in DeltaEngine.Profiling.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void EmptyProfilingSummary()
Examples

[Test]
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));
}
See Also