<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/tests/dolphindetailsviewtest.cpp, branch master</title>
<subtitle>Patched KDE Dolphin with Pixel Scaling
</subtitle>
<id>https://fiftyfourth.xyz/git/dolphin/atom?h=master</id>
<link rel='self' href='https://fiftyfourth.xyz/git/dolphin/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/'/>
<updated>2011-07-30T18:13:41Z</updated>
<entry>
<title>Merged very early alpha-version of Dolphin 2.0</title>
<updated>2011-07-30T18:13:41Z</updated>
<author>
<name>Peter Penz</name>
<email>peter.penz19@gmail.com</email>
</author>
<published>2011-07-30T18:13:09Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f23e9496f303995557b744c03178f5dbd9b35016'/>
<id>urn:sha1:f23e9496f303995557b744c03178f5dbd9b35016</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Improve stability of unit tests when running them with Valgrind</title>
<updated>2011-04-14T11:10:33Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-14T10:57:46Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=6d7e993c26d17582402adf3d662a0f5b16e684a7'/>
<id>urn:sha1:6d7e993c26d17582402adf3d662a0f5b16e684a7</id>
<content type='text'>
I noticed unexpected unit test failures when running the tests with
Valgrind. The reason was that test execution was slowed down a lot,
such that that TestBase::waitForFinishedPathLoading() did not receive
the view's signal within the default timeout of 2 seconds, and that
this failure was not detected in every test -&gt; the tests failed later
on because not all expected items had been loaded yet.

To fix this, I changed two things:
1. Added an assert in TestBase::waitForFinishedPathLoading() that checks
if the signal has been received. Continuing does not make much sense if
that is not the case.
2. Increased the default timeout to 20 seconds. The reason why there is
a finite timeout at all is that I didn't want to waste too much time on
machines where the file kioslave seems to have problems loading a
directory (I've seen corresponding test logs at cdash.org). However, with
the first change I mentioned above, the waiting time is lost only once
(due to the assert) rather than every time a directory is loaded
-&gt; I think that the timeout increase does not lead to an increased waste
of time on such machines.
</content>
</entry>
<entry>
<title>Do not reload the DolphinView in the tests' initView() members</title>
<updated>2011-04-06T09:44:01Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-05T21:55:37Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=a9ecea7cd12e6d5cd8d9a10c9424ded4cc3ccdc7'/>
<id>urn:sha1:a9ecea7cd12e6d5cd8d9a10c9424ded4cc3ccdc7</id>
<content type='text'>
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).
</content>
</entry>
<entry>
<title>Add function TestBase::waitForFinishedPathLoading()</title>
<updated>2011-04-05T20:12:51Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-05T20:12:51Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=c58d84c26106e48a368982d88c3cac47eec0ca54'/>
<id>urn:sha1:c58d84c26106e48a368982d88c3cac47eec0ca54</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Dolphin unit test refactoring</title>
<updated>2011-04-03T13:32:12Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-03T13:31:27Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=95cb8ffe01e0252d3a26f244e8607254200d067f'/>
<id>urn:sha1:95cb8ffe01e0252d3a26f244e8607254200d067f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Encapsulate the creation and handling of the directory lister, the model and 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).</title>
<updated>2011-01-09T13:58:35Z</updated>
<author>
<name>Peter Penz</name>
<email>peter.penz19@gmail.com</email>
</author>
<published>2011-01-09T13:58:35Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=fae8ba471b0adb917f4edd1a99bca47fdaea0169'/>
<id>urn:sha1:fae8ba471b0adb917f4edd1a99bca47fdaea0169</id>
<content type='text'>
svn path=/trunk/KDE/kdebase/apps/; revision=1213189
</content>
</entry>
<entry>
<title>Show an undetermined progress indication within one second after changing an URL.</title>
<updated>2010-12-10T21:54:53Z</updated>
<author>
<name>Peter Penz</name>
<email>peter.penz19@gmail.com</email>
</author>
<published>2010-12-10T21:54:53Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=0da54e5c1beb880efbc580f2202108ea46d52a1c'/>
<id>urn:sha1:0da54e5c1beb880efbc580f2202108ea46d52a1c</id>
<content type='text'>
svn path=/trunk/KDE/kdebase/apps/; revision=1205329
</content>
</entry>
<entry>
<title>Some minor changes in DolphinDetailsViewTest:</title>
<updated>2010-11-23T17:14:04Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2010-11-23T17:14:04Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=cd1ced91584105a53428bc1a23fb9c95cccdd6cb'/>
<id>urn:sha1:cd1ced91584105a53428bc1a23fb9c95cccdd6cb</id>
<content type='text'>
1. Remove unneeded includes
2. Fix typo
3. Add newline at end of file.

svn path=/trunk/KDE/kdebase/apps/; revision=1200027
</content>
</entry>
<entry>
<title>Simplify dolphindetailsviewtest by moving code that is shared by all</title>
<updated>2010-11-22T14:10:26Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2010-11-22T14:10:26Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=0fa31487801ace7092264f6f153a5e9a13ec2275'/>
<id>urn:sha1:0fa31487801ace7092264f6f153a5e9a13ec2275</id>
<content type='text'>
test to init() and cleanup().

svn path=/trunk/KDE/kdebase/apps/; revision=1199721
</content>
</entry>
<entry>
<title>Backup and restore the zoom level in</title>
<updated>2010-11-20T19:13:57Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2010-11-20T19:13:57Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=730ac2c5975964eb190c681f475af6a92036ad94'/>
<id>urn:sha1:730ac2c5975964eb190c681f475af6a92036ad94</id>
<content type='text'>
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
</content>
</entry>
</feed>
