<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/tests/dolphinviewtest_allviewmodes.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>Wait longer for the selectionChanged signal</title>
<updated>2011-06-09T12:50:33Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-06-09T12:50:33Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=6d4cfc25d404f5119701504fc8bfae4c7f04ad48'/>
<id>urn:sha1:6d4cfc25d404f5119701504fc8bfae4c7f04ad48</id>
<content type='text'>
The timeout for the selectionChanged signal is increased in
DolphinViewTest_AllViewModes::verifySelectedItemsCount().
I hope that this will fix a part of the failures seen in
http://my.cdash.org/testDetails.php?test=6350150&amp;build=196639
</content>
</entry>
<entry>
<title>Improve stability of DolphinView tests</title>
<updated>2011-06-09T12:41:53Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-06-09T12:41:53Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=91e210ad6ddc1f605ba8028a9d5a0857c28b82ad'/>
<id>urn:sha1:91e210ad6ddc1f605ba8028a9d5a0857c28b82ad</id>
<content type='text'>
1. Fix possible test failure if hidden files are shown initially.
2. Fix possible test failure if a .directory file is created in
the test directory. I think that this fixes the test failure from
http://my.cdash.org/testDetails.php?test=6350151&amp;build=196639
</content>
</entry>
<entry>
<title>Compile with QT_USE_FAST_OPERATOR_PLUS</title>
<updated>2011-05-23T18:57:44Z</updated>
<author>
<name>Alex Merry</name>
<email>kde@randomguy3.me.uk</email>
</author>
<published>2011-05-23T18:57:44Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f192c0d663c43c7c9cd7babf14c4ffb52c55f7b2'/>
<id>urn:sha1:f192c0d663c43c7c9cd7babf14c4ffb52c55f7b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SVN_SILENT Remove trailing white space.</title>
<updated>2011-04-14T11:27:33Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-14T11:27:33Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=c7ef72de5563ae33e9342526cb33d67498de0759'/>
<id>urn:sha1:c7ef72de5563ae33e9342526cb33d67498de0759</id>
<content type='text'>
</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>Implement a cut/copy/paste unit test for DolphinView.</title>
<updated>2011-04-12T19:44:31Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-12T19:44:31Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=e152885d9435a6049cf033addbae6fa303900794'/>
<id>urn:sha1:e152885d9435a6049cf033addbae6fa303900794</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add unit test for bug 270437</title>
<updated>2011-04-10T19:27:15Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-10T19:27:15Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=2784a14b764b8a047501e0e61d53f9278dc439a4'/>
<id>urn:sha1:2784a14b764b8a047501e0e61d53f9278dc439a4</id>
<content type='text'>
Verify that the current item and the scroll position of the view do not
change if previews are turned off. Actually, the bug was in
KFilePreviewGenerator, but it's easier to test this here.
</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>Remove a qWait(2000) which has been committed accidentally.</title>
<updated>2011-04-05T21:02:32Z</updated>
<author>
<name>Frank Reininghaus</name>
<email>frank78ac@googlemail.com</email>
</author>
<published>2011-04-05T21:02:32Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f1e69dce8ab1ab1b674694d5048441a8a5673197'/>
<id>urn:sha1:f1e69dce8ab1ab1b674694d5048441a8a5673197</id>
<content type='text'>
This has been committed by accident in 06dd174f.
</content>
</entry>
</feed>
