예제 #1
0
        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);
            }
        }
예제 #2
0
        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);
            }
        }