public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry { Type = ProfileType.Enter, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 1, IsTest = true }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 2, Method = "Method2", Runtime = "Method2", Sequence = 2 }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 6, Method = "Method3", Runtime = "Method3", Sequence = 3 }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 6, Method = "Method3", Runtime = "Method3", Sequence = 4 }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 7, Method = "Test2", Runtime = "Test2", Sequence = 5, IsTest = true }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 7, Method = "Test2", Runtime = "Test2", Sequence = 5, IsTest = true }, }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry { Type = ProfileType.Enter, Functionid = 1, Method = "Setup1", Runtime = "Setup1", Sequence = 1, IsSetup = true }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 1, Method = "Setup1", Runtime = "Setup1", Sequence = 2 }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 1, Method = "Setup2", Runtime = "Setup2", Sequence = 3, IsSetup = true }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 1, Method = "Setup2", Runtime = "Setup2", Sequence = 4 }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 5, IsTest = true }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 4, Method = "Method1", Runtime = "RMethod", Sequence = 6 }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 4, Method = "Method1", Runtime = "RMethod", Sequence = 7 }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 8 } }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new List <ProfilerEntry> { new ProfilerEntry { Type = ProfileType.Enter, Functionid = 0, Method = "Test1", Runtime = "Test", Sequence = 1, IsTest = true }, }; for (int i = 0; i < 5000; i++) { entries.AddRange(new[] { new ProfilerEntry { Type = ProfileType.Enter, Functionid = i + 1, Method = "Method" + i, Runtime = "MethodR" + i, Sequence = 1, IsTest = false }, }); } for (int i = 4999; i >= 0; i--) { entries.AddRange(new[] { new ProfilerEntry { Type = ProfileType.Leave, Functionid = i + 1, Method = "Method" + i, Runtime = "MethodR" + i, Sequence = 1, IsTest = false }, }); } entries.AddRange(new[] { new ProfilerEntry { Type = ProfileType.Leave, Functionid = 0, Method = "Test1", Runtime = "Test", Sequence = 5, IsTest = true }, }); items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry { Type = ProfileType.Enter, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 1, IsTest = true, Time = .0001 }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 4, Method = "Method1", Runtime = "RMethod", Sequence = 2, Time = .0002 }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 4, Method = "Method1", Runtime = "RMethod", Sequence = 3, Time = .0003 }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 4, Time = .0004 }, new ProfilerEntry { Type = ProfileType.Enter, Functionid = 1, Method = "Teardown", Runtime = "Teardown", Sequence = 5, IsTeardown = true, Time = .0005 }, new ProfilerEntry { Type = ProfileType.Leave, Functionid = 1, Method = "Teardown", Runtime = "Teardown", Sequence = 6, Time = .0006 }, }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new List<ProfilerEntry> { new ProfilerEntry {Type = ProfileType.Enter, Functionid = 0, Method = "Test1", Runtime = "Test", Sequence = 1, IsTest = true}, }; for (int i = 0; i < 5000; i++) { entries.AddRange(new[] { new ProfilerEntry {Type = ProfileType.Enter, Functionid = i + 1, Method = "Method" + i, Runtime = "MethodR" + i, Sequence = 1, IsTest = false}, }); } for (int i = 4999; i >=0; i--) { entries.AddRange(new[] { new ProfilerEntry {Type = ProfileType.Leave, Functionid = i + 1, Method = "Method" + i, Runtime = "MethodR" + i, Sequence = 1, IsTest = false}, }); } entries.AddRange(new[] { new ProfilerEntry {Type = ProfileType.Leave, Functionid = 0, Method = "Test1", Runtime = "Test", Sequence = 5, IsTest = true}, }); items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry {Type = ProfileType.Enter, Functionid = 1, Method = "Test", Runtime = "Test", Sequence = 1, IsTest = true}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 1, Method = "Test", Runtime = "Test", Sequence = 2} }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry {Functionid = 1, Method = "Test", Runtime = "Test", Sequence = 1}, new ProfilerEntry {Functionid = 1, Method = "Test", Runtime = "Test", Sequence = 2} }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry {Type = ProfileType.Enter, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 3, IsTest = true}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 6, Method = "Method3", Runtime = "Method3", Sequence = 5}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 6, Method = "Method3", Runtime = "Method3", Sequence = 6}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 3, IsTest = true}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 4, Method = "Teardown", Runtime = "Teardown", Sequence = 3, IsTeardown = true}, }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry {Type = ProfileType.Enter, Functionid = 3, Method = "Test1", Runtime = "Test", Sequence = 1, IsTest = true}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 2, Method = "Method2", Runtime = "Method2", Sequence = 2}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 6, Method = "Method3", Runtime = "Method3", Sequence = 3}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 6, Method = "Method3", Runtime = "Method3", Sequence = 4}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 7, Method = "Setup", Runtime = "Setup", Sequence = 5, IsSetup = true}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 7, Method = "Setup", Runtime = "Setup", Sequence = 5, IsSetup = true}, }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry { Functionid = 1, Method = "Test", Runtime = "Test", Sequence = 1 }, new ProfilerEntry { Functionid = 1, Method = "Test", Runtime = "Test", Sequence = 2 } }; items = assembler.Assemble(entries).ToList(); }
public void Setup() { var assembler = new TestRunInfoAssembler(); var entries = new[] { new ProfilerEntry {Type = ProfileType.Enter, Functionid = 1, Thread=0 ,Method = "Test1", Runtime = "RTest1", Sequence = 1, IsTest = true}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 2, Thread=1 ,Method = "Test2", Runtime = "RTest2", Sequence = 1, IsTest = true}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 3, Thread=0, Method = "Method1", Runtime = "RMethod1", Sequence = 2}, new ProfilerEntry {Type = ProfileType.Enter, Functionid = 4, Thread=1, Method = "Method2", Runtime = "RMethod2", Sequence = 4}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 3, Thread=0, Method = "Method1", Runtime = "RMethod1", Sequence = 3}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 4, Thread=1, Method = "Method2", Runtime = "RMethod2", Sequence = 5}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 2, Thread=1, Method = "Test2", Runtime = "Test", Sequence = 6}, new ProfilerEntry {Type = ProfileType.Leave, Functionid = 1, Thread=0, Method = "Test1", Runtime = "Test", Sequence = 7} }; items = assembler.Assemble(entries).ToList(); }