This class contains information about the test application and its deployment settings.
Inheritance: PropertyChangedBase
Example #1
0
 /// <summary>
 /// Initializes a new instance of the test run results.
 /// </summary>
 /// <param name="unitTestHarness">The unit test harness.</param>
 public TestRunData(UnitTestHarness unitTestHarness)
 {
     Passed       = true;
     _assemblies  = new ObservableCollection <TestAssemblyData>();
     _harness     = unitTestHarness;
     _information = new TestApplicationInformation();
     _harness.TestAssemblyStarting  += (x, xe) => IsRunning = true;
     _harness.TestAssemblyCompleted += (x, xe) =>
     {
         IsRunning = false;
         NotifyPropertyChanged("PassedAndComplete");
     };
     _harness.IsDispatcherRunningChanged += (x, xe) => NotifyPropertyChanged("IsDispatcherRunning");
 }
 /// <summary>
 /// Initializes a new instance of the test run results.
 /// </summary>
 /// <param name="unitTestHarness">The unit test harness.</param>
 public TestRunData(UnitTestHarness unitTestHarness)
 {
     Passed = true;
     _assemblies = new ObservableCollection<TestAssemblyData>();
     _harness = unitTestHarness;
     _information = new TestApplicationInformation();
     _harness.TestAssemblyStarting += (x, xe) => IsRunning = true;
     _harness.TestAssemblyCompleted += (x, xe) =>
         {
             IsRunning = false;
             NotifyPropertyChanged("PassedAndComplete");
         };
     _harness.IsDispatcherRunningChanged += (x, xe) => NotifyPropertyChanged("IsDispatcherRunning");
 }