Review Request 124779: Some unit tests for classes that I've written / refactored

Kevin Funk kfunk at kde.org
Tue Aug 18 07:28:11 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124779/#review83976
-----------------------------------------------------------

Ship it!



plugins/problemreporter/tests/test_problemsview.cpp (line 110)
<https://git.reviewboard.kde.org/r/124779/#comment58170>

    s/ != nullptr//. Repeats.
    
    The verbosity is not needed.



shell/tests/test_problemmodelset.cpp (line 41)
<https://git.reviewboard.kde.org/r/124779/#comment58171>

    Could be simply a POD (=> Remove ctors). Initalize with `Foo{name, model}`.


- Kevin Funk


On Aug. 17, 2015, 10:25 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. 17, 2015, 10:25 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/20150818/97e04a01/attachment.html>


More information about the KDevelop-devel mailing list