Fixed by creating a separate test. It appears that Mono has some issue
with null characters in an attribute argument.

-- 
Mono test should be at runtime
https://bugs.launchpad.net/bugs/432573
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.

Status in NUnit Test Framework: Fix Committed

Bug description:
The test MsgUtilsTests.EscapeControlCharsTest fails with [TestCase("\0", 
"\\0")] when the framework is compiled under .NET but tested under Mono. The 
test should be excluded under Mono but is not because a compile-time condition 
is used.

This should be fixed in some way. Options are:

* Remove the test for all platforms
* Make it a separate test rather than a test case and use PlatformAttribute
* Add a Platform named parameter to TestCaseAttribute and use it.


It's possible that other compile-time tests for mono may cause the same problem.

_______________________________________________
Mailing list: https://launchpad.net/~nunit-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~nunit-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to