Beispiel #1
0
 void TestEngine_TestFixtureTearDown(object sender, ReportSetUpAndTearDownEventArgs e)
 {
     this.testFixtureTearDownCount++;
     if (e.SetUpAndTearDown.Result != ReportRunResult.Success)
         RenderSetUpOrTearDownFailure("[fixture-teardown]", e.SetUpAndTearDown);
     else
         testListener.WriteLine("[fixture-teardown] success", Category.Info);
 }
Beispiel #2
0
 void TestEngine_AssemblySetUp(object sender, ReportSetUpAndTearDownEventArgs e)
 {
     this.assemblySetUpCount++;
     if (e.SetUpAndTearDown.Result != ReportRunResult.Success)
         RenderSetUpOrTearDownFailure("[assembly-setup]", e.SetUpAndTearDown);
     else
         testListener.WriteLine("[assembly-setup] success", Category.Info);
 }
Beispiel #3
0
 protected virtual void OnTestFixtureTearDown(ReportSetUpAndTearDownEventArgs e)
 {
     if (this.TestFixtureTearDown != null)
         this.TestFixtureTearDown(this, e);
 }
Beispiel #4
0
 protected virtual void OnAssemblyTearDown(ReportSetUpAndTearDownEventArgs e)
 {
     if (this.AssemblyTearDown != null)
         this.AssemblyTearDown(this, e);
 }
Beispiel #5
0
 void TestEngine_TestFixtureTearDown(object sender, ReportSetUpAndTearDownEventArgs e)
 {
     AddLog("[fixture-teardown][{0}] {1}", e.SetUpAndTearDown.Result, e.SetUpAndTearDown.Name);
 }
Beispiel #6
0
 void TestEngine_AssemblyTearDown(object sender, ReportSetUpAndTearDownEventArgs e)
 {
     AddLog("[assembly-teardown][{0}] {1}", e.SetUpAndTearDown.Result, e.SetUpAndTearDown.Name);
 }