public void WriteLine(string text, FacadeCategory category) { if (text == null) { throw new ArgumentNullException("text"); } try { testListener.WriteLine(text, FacadeUtils.ToCategory(category)); } catch (Exception ex) { throw ServerExceptionUtils.Wrap(ex); } }
public void TestFinished(FacadeTestResult result) { if (result == null) { throw new ArgumentNullException("result"); } try { testListener.TestFinished(FacadeUtils.ToTestResult(result)); } catch (Exception ex) { throw ServerExceptionUtils.Wrap(ex); } }