| Age | Commit message (Collapse) | Author |
|
Rather than reloading the view after it is initilised, we just wait
until the view emits its finishedPathLoading() signal. This saves some
time when running the tests (at least on my system).
|
|
Many tests have to wait until this signal is received from the
DolphinView, so it is convenient to have a function that wraps
the QTest::kWaitForSignal() call.
|
|
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.
|
|
proxy model to DolphinView. By this it will be easier later to replace the traditional QAbstractItemViews by any kind of other implementation (e.g. based on QGraphicsView/QML).
svn path=/trunk/KDE/kdebase/apps/; revision=1213189
|
|
URL.
svn path=/trunk/KDE/kdebase/apps/; revision=1205329
|
|
1. Remove unneeded includes
2. Fix typo
3. Add newline at end of file.
svn path=/trunk/KDE/kdebase/apps/; revision=1200027
|
|
test to init() and cleanup().
svn path=/trunk/KDE/kdebase/apps/; revision=1199721
|
|
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
|
|
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
|
|
works as expected.
svn path=/trunk/KDE/kdebase/apps/; revision=1198202
|
|
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
|
|
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
|
|
a common base class. I took that idea from Nepomuk's unit tests in
kdelibs.
svn path=/trunk/KDE/kdebase/apps/; revision=1191051
|
|
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
|
|
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
|