include GUI test sources in selfchecks#5687
Conversation
5c1de66 to
6493e82
Compare
6493e82 to
9cf2808
Compare
This comment was marked as resolved.
This comment was marked as resolved.
9cf2808 to
5f90b35
Compare
|
I added those as there's a I did suppress the The |
5f90b35 to
e4a0653
Compare
| #include "addoninfo.h" | ||
| #include "importproject.h" | ||
| // cppcheck-suppress-begin uninitMemberVar | ||
| #include "platform.h" |
There was a problem hiding this comment.
I need to suppress all the warnings from an include. I would expect this to work but it doesn't as it was probably not intended to be used that way. I will file a ticket about it.
There was a problem hiding this comment.
I filed https://trac.cppcheck.net/ticket/14219 about being able to suppress the uninitMemberVar warnings per implementation
13d7da2 to
3c8cfd2
Compare
ce278c3 to
881f529
Compare
881f529 to
5018813
Compare
dabe5ed to
145b119
Compare
|
…s/testprojectfile.cpp`
… selfcheck warning
…/testresultstree.cpp`
|
@chrchr-github Looks like we have false positives when a function is not implemented: |
But it is implemented here: https://github.com/firewave/cppcheck/blob/70e4ea3b850d73f4ed120d54a2b3c637edc79653/gui/projectfile.cpp#L787 |
The GUI tests mock these classes and only implement what is necessary to get them to link. |
|
So we have drive-by detection of https://trac.cppcheck.net/ticket/10670 now - so hopefully we should be able to package that into a separate check. |
There is no warning for this, so not sure what`s going on: |
I will have a look tomorrow. |



No description provided.