Unit test for KItemListController,

Frank Reininghaus frank78ac at googlemail.com
Tue Jan 31 22:52:40 GMT 2012


Hi,

I've attached a first version of a unit test for KItemListController
(unfortunately, ReviewBoard gave me some error messages when I tried
to upload the patch).

At the moment, it tests only key presses (not including
PageUp/PageDown and Enter so far). It's designed such that one can
easily add new test cases by just adding an item to the test event
list.

The changes in dolphin/src/kitemviews/ are:

1. Add the new test class as friend where necessary.
2. Respect the NoSelection mode.

Any comments are welcome!

Cheers,
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 29948 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20120131/72cb0bd4/attachment.diff>


More information about the kfm-devel mailing list