┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/CMakeLists.txt
AgeCommit message (Collapse)Author
2012-10-15Port Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini ↵Emmanuel Pescosta
guide on techbase - http://techbase.kde.org/Projects/Nepomuk/Nepomuk2Port REVIEW: 106825
2012-08-14Adding the Accessibility classesAmandeep Singh
2012-05-18Don't create a .directory-file for each directoryPeter Penz
This regression has been introduced on master and has not been released yet: Due to the changed properties-format an update has been done which resulted in writing a .directory file into each newly entered directory. The patch updates the view-properties and version only in the constructor so that it is assured that reading properties never accidently will change the internal version. A unit-test has been added to catch regressions like this in future. BUG: 300240 FIXED-IN: 4.9.0
2012-05-17Create unit-test for KStandardItemModelPeter Penz
2012-04-25Fix search-UI issues in combination with the new places entriesPeter Penz
The places-entries for searching revealed some serious issues in combination with the search-panel. Move the filtering away from QDockWidget and bring it back below the search-bar.
2012-04-11KItemViews: Internal directory restructurationPeter Penz
- Move all private headers from the kitemviews-directory into the 'private' subdirectory. - Get rid of DolphinDirLister and just use a directory-lister internally in KFileItemModel. - Minor interface-cleanups for signals
2012-02-01First version of a unit test for KItemListControllerFrank Reininghaus
At the moment, only key press events are tested, and the current item and selection after the event are verified. Moreover, this commit makes sure that KItemListController::keyPressEvent() really does not select anything if the selection mode is NoSelection. (cherry picked from commit 7457f4868cf0bc83e8a90ce5693292378f3d07c4)
2012-01-15fix build of tests on windowsPatrick Spendrin
2011-08-30KItemListKeyboardSearchManager improvements and unit testsFrank Reininghaus
This commit implements a 'repeated key search' feature, similar to QAbstractItemView, and adds unit tests for keyboard searching.
2011-08-09Improvements for selections, smooth scrolling, tooltips and info-panelPeter Penz
2011-07-30Merged very early alpha-version of Dolphin 2.0Peter Penz
Dolphin 2.0 will get a new view-engine with the following improvements: - Better performance - Animated transitions - No clipped filenames due to dynamic item-sizes - Grouping support for all view-modes - Non-rectangular selection areas - Simplified code for better maintenance More details will be provided in a blog-entry during the next days. Please note that the code is in a very early alpha-stage and although the most tricky parts have been implemented already very basic things like drag and drop or selections have not been pushed yet. Those things are rather trivial to implement but this still will take some time.
2011-05-26Don't try to build dolphinsearchboxtest if Nepomuk isn't found.Frank Reininghaus
2011-04-03Dolphin unit test refactoringFrank Reininghaus
This commit changes mainly two things: 1. The functionality related to the handling of temporary files and folders is moved to a new class TestDir. 2. The setup of a temporary folder and of DolphinView instances is now done in each unit test function. A benefit of this change is that there are no unwanted interactions between different unit test functions any more. Moreover, different test functions could now share a test folder more easily. Additionally, the reference arguments of all functions are changed to pointers for consistency.
2011-03-21Make it linkKevin Ottens
2011-02-05dolphinsearchboxtest: link with goldAndreas Hartmetz
2011-02-04Add unittest for DolphinSearchBoxPeter Penz
A minor API cleanup in DolphinSearchBox has been done related to the test.
2011-01-26Some additions to DolphinDetailsViewTest_AllViewModes.Frank Reininghaus
In particular, tests for changing the zoom level and for saving and restoring the view state. svn path=/trunk/KDE/kdebase/apps/; revision=1217270
2010-11-29Use the correct libraries for the test in the CMake file.Frank Reininghaus
svn path=/trunk/KDE/kdebase/apps/; revision=1202160
2010-11-29Add a unit test for the basic selection-related functionality ofFrank Reininghaus
DolphinView. The main testing code is inside an abstract base class. Three classes inherit this base class and do the actual testing in one view mode each. svn path=/trunk/KDE/kdebase/apps/; revision=1202157
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-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
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