Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TfsTestSuiteDetail"/> class.
 /// </summary>
 /// <param name="testSuite">Associated <see cref="TfsTestSuite"/>.</param>
 public TfsTestSuiteDetail(TfsTestSuite testSuite)
 {
     if (testSuite == null)
     {
         throw new ArgumentNullException("testSuite");
     }
     TestSuiteClass = testSuite;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TfsTestPlan"/> class.
 /// </summary>
 /// <param name="testPlan">Original test plan - <see cref="ITestPlan"/>.</param>
 public TfsTestPlan(ITestPlan testPlan)
 {
     if (testPlan == null)
     {
         throw new ArgumentNullException("testPlan");
     }
     OriginalTestPlan = testPlan;
     Id            = OriginalTestPlan.Id;
     Name          = OriginalTestPlan.Name;
     RootTestSuite = new TfsTestSuite(OriginalTestPlan.RootSuite, this);
 }