https://bugzilla.novell.com/show_bug.cgi?id=661996
https://bugzilla.novell.com/show_bug.cgi?id=661996#c4 --- Comment #4 from Thomas Goldstein <[email protected]> 2011-01-09 22:39:29 UTC --- Unit tests are useful things indeed. I wrote this little test method: [Test] // bug 661996 public void TestHexadecimalText () { Thread.CurrentThread.CurrentCulture = new CultureInfo ("en-US"); NumericUpDown nud = new NumericUpDown (); nud.Maximum = 100; nud.Hexadecimal = true; nud.Text = "A"; Assert.AreEqual ("A", nud.Text, "#1"); Assert.AreEqual (10, nud.Value, "#2"); nud.Text = "10"; Assert.AreEqual ("10", nud.Text, "#3"); Assert.AreEqual (16, nud.Value, "#4"); } Before the patch, none of the tests pass. After the patch, they all pass except #2 (value is 0, should be 10). Weird. I don't know what's causing this yet, I'll look into it more later. -- Configure bugmail: https://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
