Beispiel #1
0
        private static string GetFailMessage(IComparerResult comparerResult)
        {
            UnitTestWriter unitTestWriter = new UnitTestWriter();

            GetFailMessageElements(comparerResult).Write(unitTestWriter);
            return(unitTestWriter.GetTextAsString());
        }
Beispiel #2
0
        private static string GetFailMessage(IComparerResult comparerResult)
        {
            UnitTestWriter unitTestWriter      = new UnitTestWriter();
            Element        failMessageElements = GetFailMessageElements(comparerResult);

            if (failMessageElements != null)
            {
                failMessageElements.Write(unitTestWriter);
            }
            return(unitTestWriter.GetTextAsString());
        }