Example #1
0
 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;
		}
Example #3
0
 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;
 }
Example #4
0
 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();
 }
Example #5
0
 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);
 }