[Mono-dev] Win Patches for Datagrid (first here) then idle
stifu at free.fr
Mon Jun 18 12:10:24 UTC 2012
Steve's click simulation hack is in DataGridViewTest.cs. I wonder if it'd be
possible to refactor it into a helper class, so it can be reused for any
Rob Wilkens wrote
> Sorry, not a rush on my behalf, but i want to keep this thread alive
> until it's taken care of.
> Will probably go out a few hours mid day today (won't be out as much as
> yesterday; today may be a lunch at the beach day-- dad bought an annual
> beach parking pass and we 'have' to get the most for our money out of
> it), let me know if you need anything from me, and you probably will in
> terms of creating tests. I just have to figure out how to steal
> Steven's (i think it was him) code for faking mouse button clicks, and
> figure out where to send the clicks in terms of x and y (i have to click
> towards the far left but a little to the right, and then down maybe
> 50-100 pixels on a plus sign to make the sample crash as is and not
> crash with my fix.
> On 06/18/2012 02:42 AM, Stifu wrote:
>> A lot of work ahead, I see.
>> About patch 1... I cannot manage to run the concerned test case with Mono
>> master, for some reason (I get a NullReferenceException in the DataGrid
>> constructor). I can run it with Mono 2.10, though. Rather than a
>> (unlikely, DataGrid.cs hasn't been updated for ages), it may be related
>> the way I build WinForms. So I'll have to figure that out first.
>> I'd rather hang myself than use cygwin again, so I'll just try to build
>> whole thing on Linux.
>> Rob Wilkens wrote
>>> BTW -- at least one of my tests (and this is separate from earlier
>>> would involve checking something visually.. I'm not sure if there is a
>>> trick for that (this is: Where edit boxes were displayed when they
>>> shouldn't be, or columns were displayed when they shouldn't have been).
>>> But thanks for your suggestion, i will try to use it for at least where
>>> had the crash
>>> On Jun 17, 2012, at 9:40 PM, Steven Boswell II wrote:
>>>> around line 1124. I had to mimic a mouse-click in order to validate
>>>> of my data-grid-view bug fixes, and code to do that begins on that
>>>> From: Rob Wilkens <robwilkens@>
>>>> To: "mono-devel-list at .ximian" <mono-devel-list at .ximian>; Stifu
>>>> Sent: Sunday, June 17, 2012 6:05 PM
>>>> Subject: [Mono-dev] Win Patches for Datagrid (first here) then idle
>>>> [... If you want me to create a unit test for something you don't see
>>>> unit test for, let me know, but in some cases, clicks are required with
>>>> mouse and i'm not necessarily sure how to create a patch to do that.
>>>> Mono-devel-list mailing list
>>>> Mono-devel-list at .ximian
>>> Mono-devel-list mailing list
>>> Mono-devel-list at .ximian
>> View this message in context:
>> Sent from the Mono - Dev mailing list archive at Nabble.com.
>> Mono-devel-list mailing list
>> Mono-devel-list at .ximian
> Mono-devel-list mailing list
> Mono-devel-list at .ximian
View this message in context: http://mono.1490590.n4.nabble.com/Win-Patches-for-Datagrid-first-here-then-idle-tp4650027p4650040.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list