← Back to team overview

nunit-core team mailing list archive

[Bug 868278] Re: in the result.xml file, the newline character is escaped

 

** Changed in: nunitv2
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/868278

Title:
  in the result.xml file, the newline character is escaped

Status in NUnit V2 Test Framework:
  New

Bug description:
  NUnit version 2.5.10, NUnitRunner

  1. Call Assert function with message contains newline character. e.g:
                   StringBuilder msg = new StringBuilder();
                   msg.AppendLine("line1");
                   msg.AppendLine("line2");
                   ....
                   msg.AppendLine("line3");
                  Assert.False(True, msg.ToString());
  2. Run testing for this assembly
  3. Save as the result as xml
  4. Open the result in xml format
  => The message doesn't include newline character. It show all in 1 line.
  Expected: It should keep the newline character.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/868278/+subscriptions