public void AfterAssembly(TestAssembly testAssembly) { if (this.currentTestAssembly != null) { this.currentTestAssembly.EndTime = DateTime.Now; this.currentTestAssembly = null; } }
public void BeforeAssembly(TestAssembly testAssembly) { this.currentTestAssembly = new XmlTestAssembly(testAssembly.Assembly.GetName(), testAssembly.Assembly.Location); this.currentTestAssembly.StartTime = DateTime.Now; this.testBatch.TestAssemblies.Add(this.currentTestAssembly); }