Error at XML output with FSharp.Net
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Fix Released
|
Medium
|
Charlie Poole |
Bug Description
Both console and gui runner, nunit version: 2.5.3.9345
The exception:
Unhandled Exception:
System.
at System.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.ConsoleRu
at NUnit.ConsoleRu
at NUnit.ConsoleRu
The message caused by:
Rsxnlyz+
Expected: <Microsoft.
But was: <True>
Related branches
Changed in nunitv2: | |
milestone: | none → 2.5.4 |
assignee: | nobody → Charlie Poole (charlie.poole) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
Got the same error on NUnit version 2.5.2.9222, but unrelated to F#, and it also seems related to bug #419106.
To reproduce, one can use the following test:
[Test] opupWithinNUnit () That(123, new NUnit.Framework .Constraints. ExactTypeConstr aint(typeof( System. Collections. Generic. List<bool? >)));
public void ReproduceErrorP
{
Assert.
}
I got the following popup and exception details:
NUnit Test Run Failed ArgumentExcepti on: Cannot have ']]>' inside an XML CDATA block. ArgumentExcepti on... Xml.XmlTextWrit er.WriteCData( String text) XmlResultWriter .WriteCData( String text) XmlResultWriter .WriteFailureEl ement(TestResul t result) XmlResultWriter .WriteResultEle ment(TestResult result) XmlResultWriter .WriteChildResu lts(TestResult result) XmlResultWriter .WriteResultEle ment(TestResult result) XmlResultWriter .WriteChildResu lts(TestResult result) XmlResultWriter .WriteResultEle ment(TestResult result) XmlResultWriter .WriteChildResu lts(TestResult result) XmlResultWriter .WriteResultEle ment(TestResult result) XmlResultWriter .WriteChildResu lts(TestResult result) XmlResultWriter .WriteResultEle ment(TestResult result) XmlResultWriter .WriteChildResu lts(TestResult result) XmlResultWriter .WriteResultEle ment(TestResult result) XmlResultWriter .SaveTestResult (TestResult result) TestLoader. SaveLastResult( String fileName) TestLoader. RunFinished( TestResult testResult)
System.
System.
at System.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.
at NUnit.Util.