Review Request 124779: Some unit tests for classes that I've written / refactored
Laszlo Kis-Adam
dfighter1985 at gmail.com
Mon Aug 17 12:26:04 UTC 2015
> On Aug. 17, 2015, 2:23 p.m., Kevin Funk wrote:
> > shell/tests/test_filteredproblemstore.cpp, line 80
> > <https://git.reviewboard.kde.org/r/124779/diff/1/?file=395249#file395249line80>
> >
> > Is this really needed?
QCOMPARE simply returns, so it cannot be used in a function that retuns a value (bool for example). So yes, it's neccessary.
- Laszlo
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124779/#review83936
-----------------------------------------------------------
On Aug. 16, 2015, 8:22 p.m., Laszlo Kis-Adam wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124779/
> -----------------------------------------------------------
>
> (Updated Aug. 16, 2015, 8:22 p.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdevplatform
>
>
> Description
> -------
>
> Tests for the following classes:
> * DetectedProblem
> * ProblemStoreNode
> * ProblemStore
> * FilteredProblemStore
> * ProblemModel
> * ProblemModelSet
> * ProblemsView
>
>
> Diffs
> -----
>
> plugins/problemreporter/CMakeLists.txt e179232
> plugins/problemreporter/tests/CMakeLists.txt PRE-CREATION
> plugins/problemreporter/tests/test_problemsview.cpp PRE-CREATION
> shell/filteredproblemstore.h d6cc909
> shell/filteredproblemstore.cpp a27b9ac
> shell/problemstore.h 97f34f3
> shell/problemstore.cpp 4b114b2
> shell/tests/CMakeLists.txt 6b18470
> shell/tests/test_detectedproblem.cpp PRE-CREATION
> shell/tests/test_filteredproblemstore.cpp PRE-CREATION
> shell/tests/test_problemmodel.cpp PRE-CREATION
> shell/tests/test_problemmodelset.cpp PRE-CREATION
> shell/tests/test_problemstore.cpp PRE-CREATION
> shell/tests/test_problemstorenode.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/124779/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Laszlo Kis-Adam
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150817/a3005462/attachment.html>
More information about the KDevelop-devel
mailing list