┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)Author
2010-11-20Backup and restore the zoom level inFrank Reininghaus
bug234600_overlappingIconsWhenZooming() such that it's the standard value again in the following test. Also verify that the zoom level is as expected after each call to DolphinView::setZoomLevel(int). svn path=/trunk/KDE/kdebase/apps/; revision=1199137
2010-11-20Make sure that an item's visualRect in the Details View is not widerFrank Reininghaus
than the "Name" column. Fixes keyboard navigation problems if files with very wide names are present in the current folder. Unit test included. CCBUG: 257401 svn path=/trunk/KDE/kdebase/apps/; revision=1199123
2010-11-17Add unit test which checks that DolphinDetailsView::expandedUrls()Frank Reininghaus
works as expected. svn path=/trunk/KDE/kdebase/apps/; revision=1198202
2010-11-09Add unit test for bug 201459.Frank Reininghaus
svn path=/trunk/KDE/kdebase/apps/; revision=1194790
2010-11-091. Add method TestBase::reloadViewAndWait().Frank Reininghaus
2. Remove some debug output from DolphinDetailsViewTest - it seems that the test failure I saw on cdash.org is due to a failing kioslave, which is probably not Dolphin's fault. svn path=/trunk/KDE/kdebase/apps/; revision=1194514
2010-11-09Add unit test for bug 217447.Frank Reininghaus
To make it work, I had to make DolphinTreeView::indexAt public, but this method is public in the base class anyway. svn path=/trunk/KDE/kdebase/apps/; revision=1194511
2010-10-29It's easier to put functionality that is used by many unit tests intoFrank Reininghaus
a common base class. I took that idea from Nepomuk's unit tests in kdelibs. svn path=/trunk/KDE/kdebase/apps/; revision=1191051
2010-10-25Add some debug output to DolphinDetailsViewTestFrank Reininghaus
I've seen the test fail due to timeout at http://my.cdash.org/index.php?project=kdebase&date= Maybe some debug output helps to find the cause for this. svn path=/trunk/KDE/kdebase/apps/; revision=1189677
2010-10-22Link with gold, KDirModel is in KIO. Also remove redundantAndreas Hartmetz
QT_QTCORE_LIBRARY - KDE4_*_LIBS includes dependencies. svn path=/trunk/KDE/kdebase/apps/; revision=1188673
2010-10-22Add a second Dolphin unit test (for a regression in DolphinDetailsViewFrank Reininghaus
which has been fixed recently). This commit also adds a new class TestHelper which provides some funtionality that most Dolphin unit tests will need. I hope that this makes implementing additional tests as easy as possible :-) svn path=/trunk/KDE/kdebase/apps/; revision=1188536
2010-10-21Link with goldAndreas Hartmetz
svn path=/trunk/KDE/kdebase/apps/; revision=1188148
2010-10-21Add a first unit test for Dolphin, which verifies that the fix for oneFrank Reininghaus
of the problems related to Dolphin's modifications to QTreeView works as it should. This is only a small start, but I hope that we can cover at least the basic functionality of DolphinView, the three item views and possibly a couple of other classes with a rather stable API soon. svn path=/trunk/KDE/kdebase/apps/; revision=1188049
2008-06-10Just use KMimeType::extractKnownExtension() instead of the custom ↵Peter Penz
implementation. Thanks to David Faure for the hint! svn path=/trunk/KDE/kdebase/apps/; revision=819137
2008-02-23fixed issue that when renaming "Open office.org writer documentation.pdf" ↵Peter Penz
that only "Open office" is selected and ".org writer documentation" is handled as extension BUG: 158228 svn path=/trunk/KDE/kdebase/apps/; revision=778329
2007-12-14Moving code around in dolphin fixes DnD support in konqueror :)David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-09-24Adapt CMakeLists.txt as discussed with Alex.Laurent Montel
KDE4_ADD_TEST_EXECUTABLE is deprecated now use KDE4_ADD_EXECUTABLE(<target> TEST <files>) instead QT4_ADD_DBUS_INTERFACE_NO_NAMESPACE and QT4_ADD_DBUS_INTERFACES_NO_NAMESPACE are deprecated too used SET_SOURCE_FILES_PROPERTIES(<files> PROPERTIES NO_NAMESPACE TRUE) QT4_ADD_DBUS_INTERFACES(<srcList> <files>) set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) is put in each CMakeLists.txt where KDE4_ADD_EXECUTABLE(<target> TEST <files>) and KDE4_ADD_UNIT_TEST were used. svn path=/trunk/KDE/kdebase/apps/; revision=716149
2007-07-10remove kde4_automoc()Allen Winter
svn path=/trunk/KDE/kdebase/apps/; revision=685984
2007-06-17Port to new kde4_add_*test* macrosAndreas Pakulat
svn path=/trunk/KDE/kdebase/apps/; revision=676863
2007-05-19Make the test link (moving renamedialog to libdolphinprivate since we'll ↵David Faure
need that feature in the part anyway) svn path=/trunk/KDE/kdebase/apps/; revision=666229
2007-05-18David Faure wrote:Peter Penz
> Sounds like the kind of method that would benefit greatly from a unit test :) OK, committing my first unit test for KDE. Although very minimal it's at least a start ;-) (currently deactivated as I've some problem in CMakeList.txt) svn path=/trunk/KDE/kdebase/apps/; revision=666162