[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Review Request 126894: Refactor the listjobtest to allow listing of multile paths.
From: Milian Wolff <mail () milianw ! de>
Date: 2016-01-26 15:34:45
Message-ID: 20160126153445.17778.61213 () mimi ! kde ! org
[Download RAW message or body]
--===============8679168447626487589==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126894/
-----------------------------------------------------------
Review request for KDE Frameworks and David Faure.
Repository: kio
Description
-------
With this change it is now possible to list multiple paths
as defined via the command line.
While at it, I refactored the code to clean it up:
- rely on QEventLoopLocker to quit the application once all jobs
have finished
- use a lambda to count the listed entries
- don't append to a KIO::UDSEntryList to cound the listed entries
Diffs
-----
tests/listjobtest.cpp 702b09950734894a9f82746d58071225419b4e3f
Diff: https://git.reviewboard.kde.org/r/126894/diff/
Testing
-------
Thanks,
Milian Wolff
--===============8679168447626487589==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> \
<tr> <td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/126894/">https://git.reviewboard.kde.org/r/126894/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;"> <tr>
<td>
<div>Review request for KDE Frameworks and David Faure.</div>
<div>By Milian Wolff.</div>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
kio
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">With this change it is now possible to list multiple paths as defined \
via the command line.
While at it, I refactored the code to clean it up:
- rely on QEventLoopLocker to quit the application once all jobs
have finished
- use a lambda to count the listed entries
- don't append to a KIO::UDSEntryList to cound the listed entries</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>tests/listjobtest.cpp <span style="color: \
grey">(702b09950734894a9f82746d58071225419b4e3f)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/126894/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
--===============8679168447626487589==--
[Attachment #3 (text/plain)]
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic