public NUnitTestSuite(NUnitAssemblyTestSuite rootSuite, NunitTestInfo tinfo) : base(tinfo.Name) { fullName = !string.IsNullOrEmpty(tinfo.PathName) ? tinfo.PathName + "." + tinfo.Name : tinfo.Name; this.testInfo = tinfo; this.rootSuite = rootSuite; this.TestId = tinfo.TestId; }
public NUnitTestSuite (NUnitAssemblyTestSuite rootSuite, NunitTestInfo tinfo): base (tinfo.Name) { fullName = !string.IsNullOrEmpty (tinfo.PathName) ? tinfo.PathName + "." + tinfo.Name : tinfo.Name; this.testInfo = tinfo; this.rootSuite = rootSuite; this.TestId = tinfo.TestId; }
public NUnitTestCase(NUnitAssemblyTestSuite rootSuite, NunitTestInfo tinfo, string className) : base(tinfo.Name) { this.className = className; this.pathName = tinfo.PathName; this.rootSuite = rootSuite; this.TestSourceCodeDocumentId = this.TestId = tinfo.TestId; this.IsExplicit = tinfo.IsExplicit; }
public NUnitTestSuite(NUnitAssemblyTestSuite rootSuite, NunitTestInfo tinfo) : base(tinfo.Name) { fullName = !string.IsNullOrEmpty(tinfo.PathName) ? tinfo.PathName + "." + tinfo.Name : tinfo.Name; this.testInfo = tinfo; this.rootSuite = rootSuite; this.TestSourceCodeDocumentId = this.TestId = tinfo.TestId; this.childNamespaces = new UnitTestCollection(); }
public NUnitTestSuite(NUnitAssemblyTestSuite rootSuite, NunitTestInfo tinfo) : base(tinfo.Name) { fullName = !string.IsNullOrEmpty(tinfo.PathName) ? tinfo.PathName + "." + tinfo.Name : tinfo.Name; this.testInfo = tinfo; this.rootSuite = rootSuite; this.TestId = tinfo.TestId; this.canMergeWithParent = string.IsNullOrEmpty(tinfo.FixtureTypeName) && string.IsNullOrEmpty(tinfo.FixtureTypeNamespace); }