public override void Finish() { var nunitNamespaceTreeBuilder = new NUnit.Core.NamespaceTreeBuilder(new NUnit.Core.TestSuite(assembly.Name)); foreach (var nunitFixture in nunitFixtures) nunitNamespaceTreeBuilder.Add(nunitFixture); NUnit.Core.TestSuite nunitRootSuite = nunitNamespaceTreeBuilder.RootSuite; var assemblyTest = new NUnitTest(assembly.Name, assembly, nunitRootSuite); PopulateMetadata(assemblyTest); PopulateAssemblyTestMetadata(assemblyTest, assembly); testModel.RootTest.AddChild(assemblyTest); BuildTestChildren(assembly, assemblyTest, nunitRootSuite); }
public override void Finish() { var nunitNamespaceTreeBuilder = new NUnit.Core.NamespaceTreeBuilder(new NUnit.Core.TestSuite(assembly.Name)); foreach (var nunitFixture in nunitFixtures) { nunitNamespaceTreeBuilder.Add(nunitFixture); } NUnit.Core.TestSuite nunitRootSuite = nunitNamespaceTreeBuilder.RootSuite; var assemblyTest = new NUnitTest(assembly.Name, assembly, nunitRootSuite); PopulateMetadata(assemblyTest); PopulateAssemblyTestMetadata(assemblyTest, assembly); testModel.RootTest.AddChild(assemblyTest); BuildTestChildren(assembly, assemblyTest, nunitRootSuite); }