예제 #1
0
        /// <summary>
        /// Adds a reason element to a node and returns it.
        /// </summary>
        /// <param name="targetNode">The target node.</param>
        /// <returns>The new reason element.</returns>
        private TNode AddReasonElement(TNode targetNode)
        {
            TNode reasonNode = targetNode.AddElement("reason");

            return(reasonNode.AddElementWithCDATA("message", Message));
        }
예제 #2
0
파일: TestResult.cs 프로젝트: et1975/nunit
 private TNode AddOutputElement(TNode targetNode)
 {
     return targetNode.AddElementWithCDATA("output", Output);
 }
예제 #3
0
 private TNode AddOutputElement(TNode targetNode)
 {
     return(targetNode.AddElementWithCDATA("output", Output));
 }