** Changed in: nunitv2 Status: Fix Committed => Fix Released -- NUnit runner crash https://bugs.launchpad.net/bugs/419106 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: When running the following test in NUnit runner 2.5.1 then a message is shown and also NUnit runner crashes... // Unit test code: namespace NUnit.Crash { [NUnit.Framework.TestFixture] public class CrashMe { // Methods. [NUnit.Framework.Test] public void ShouldCrashNUnit() { var tc = new TestClass(); var expected = GetExpressionType(() => tc.TestProperty); var value = typeof(System.DateTime); NUnit.Framework.Assert.AreEqual(expected, value); } // Static Methods. private System.Type GetExpressionType<T>(System.Linq.Expressions.Expression<System.Func<T>> _expression) { return _expression.Type; } } public class TestClass { // Properties. public System.DateTime? TestProperty { get; set; } } } // Exception thrown when run: NUnit Test Run Failed -------------------------------- System.ArgumentException : Cannot have ']]>' inside an XML CDATA block. For further information, use the Exception Details menu item. _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : nunit-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp