[Mono-bugs] [Bug 480178] System.Globalization.CharUnicodeInfo.GetUnicodeCategory() does not handle surrogate characters appropriately.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 17 14:18:18 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=480178

http://bugzilla.novell.com/show_bug.cgi?id=480178#c40


Damien Diederen <dd at crosstwine.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #362386|0                           |1
        is obsolete|                            |

--- Comment #40 from Damien Diederen <dd at crosstwine.com> 2010-05-17 18:18:17 UTC ---
Created an attachment (id=362715)
 --> (http://bugzilla.novell.com/attachment.cgi?id=362715)
CharCategoryTest: Update category dumps to match MS .NET v2.0.50727 and
v3.5.21022

The category codes in newer versions of Microsoft's framework are not
compatible with the ones encoded in this class, causing tests to fail.
Fix that by using a new set of dumps generated under v3.5.21022.

Also, drop CharTest.IsWhiteSpace_Complete as the same checks are
performed by CharCategoryTest.IsWhiteSpace.

While we are at it, improve the generator so that:

  - common code is shared between the generator and the test;

  - a number of test cases can be generated at once via command-line
    arguments;

  - the dumps are word-wrapped, enhancing legibility and avoiding line
    length limitations in some compilers.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list