← Back to team overview

nunit-core team mailing list archive

[Bug 507532] Re: Error at XML output with FSharp.Net

 

** Changed in: nunitv2
       Status: Fix Committed => Fix Released

-- 
Error at XML output with FSharp.Net
https://bugs.launchpad.net/bugs/507532
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: Fix Released

Bug description:
Both console and gui runner, nunit version: 2.5.3.9345

The exception:

Unhandled Exception:
System.ArgumentException: Cannot have ']]>' inside an XML CDATA block.
   at System.Xml.XmlTextWriter.WriteCData(String text)
   at NUnit.Util.XmlResultWriter.WriteCData(String text)
   at NUnit.Util.XmlResultWriter.WriteFailureElement(TestResult result
   at NUnit.Util.XmlResultWriter.WriteResultElement(TestResult result)
   at NUnit.Util.XmlResultWriter.WriteChildResults(TestResult result)
   at NUnit.Util.XmlResultWriter.WriteResultElement(TestResult result)
   at NUnit.Util.XmlResultWriter.WriteChildResults(TestResult result)
   at NUnit.Util.XmlResultWriter.WriteResultElement(TestResult result)
   at NUnit.Util.XmlResultWriter.WriteChildResults(TestResult result)
   at NUnit.Util.XmlResultWriter.WriteResultElement(TestResult result)
   at NUnit.Util.XmlResultWriter.SaveTestResult(TestResult result)
   at NUnit.ConsoleRunner.ConsoleUi.CreateXmlOutput(TestResult result)
   at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
   at NUnit.ConsoleRunner.Runner.Main(String[] args)

The message caused by:
Rsxnlyz+TestType.Test:
  Expected: <Microsoft.FSharp.Collections.FSharpList`1+_Cons[Microsoft.FSharp.Core.Tuple`2[FSharpTools.ResourceAnalyzer.AdapterTypes+Ident,FSharpTools.ResourceAnalyzer.AdapterTypes+Exp]]>
  But was:  <True>