On Thu, Oct 27, 2011 at 1:11 AM, Edward K. Ream <[email protected]> wrote:
> Rev 4666 of the trunk appears to fix all unwanted scrolling.  Happily,
> this came about through simplified code.  But the work itself was far
> from simple.

It's time to think about unit tests for this area.

Yesterday I had the Aha that one wants to focus on data, even in
gui-related unit tests.  For example, unit tests could test the
scrollbar values before and after a (simulated) mouse click.

Simulating mouse clicks is non-trivial in an environment like Leo's
unit tests: the screen is constantly being redrawn.  Otoh, it's not
rocket science.  Time to see how QTest might help.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to