public void OnTestRunMessage(TestRunMessageEventArgs ev)
 {
     if (ev == null)
     {
         throw new ArgumentNullException(nameof(ev));
     }
     if (ev.Level == TestMessageLevel.Informational && !Strings.IsNullOrWhiteSpace(ev.Message))
     {
         _testCaseFilter.RegisterOutputMessage(ev.Message);
     }
 }
Esempio n. 2
0
 private void OnTestRunMessage(object sender, TestRunMessageEventArgs ev)
 {
     if (ev == null)
     {
         throw new ArgumentNullException(nameof(ev));
     }
     if (ev.Level == TestMessageLevel.Informational && !ev.Message.IsNullOrWhiteSpace())
     {
         _testCaseFilter.RegisterOutputMessage(ev.Message);
     }
 }