Ejemplo n.º 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;
 }
Ejemplo n.º 2
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;
		}
Ejemplo n.º 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;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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);
 }