mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
This is an intermediate step to have smaller unit tests. It is a trade off between having many many test executables compared to a few bigger ones. But this comes a lot closer to what QtTest is meant to be used.
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
// cppcheck suppression file for swift.
|
|
//
|
|
// In order to suppress a false positive add a line using one of the following templates:
|
|
// [Explaining reason - comments]
|
|
// [error id]:[filename2]
|
|
// [error id]
|
|
|
|
// False positive caused by missing support for C++11 feature
|
|
unusedPrivateFunction:src/blackmisc/lockfree.h
|
|
|
|
// Ignore noExplicitConstructor for now.
|
|
noExplicitConstructor
|
|
|
|
// Ignore style issues in g2clib
|
|
variableScope:src/plugins/weatherdata/gfs/g2clib/*.c
|
|
|
|
// Shared pointers should be passed by value
|
|
passedByValue:src/blackmisc/lockfree.h
|
|
|
|
// Passing std::function by value is acceptable
|
|
passedByValue:src/xswiftbus/libxplanemp/src/ResourceManager.h
|
|
passedByValue:tests/blackcore/vatsim/testnetwork/expect.h
|
|
passedByValue:src/xswiftbus/command.h
|
|
|
|
// Unique pointers should be passed by value
|
|
passedByValue:src/xswiftbus/menus.h
|
|
passedByValue:src/xswiftbus/menus.cpp
|
|
|
|
// cppcheck cannot handle the advanced workaround in use
|
|
operatorEqRetRefThis:src/blackmisc/iterator.h
|
|
|
|
// Ignore unusedFunction as it has too many false positives (especially in tests)
|
|
unusedFunction
|
|
|
|
// Return value of those functions is not required.
|
|
ignoredReturnValue:src/blackmisc/dbusserver.cpp
|
|
ignoredReturnValue:src/blackmisc/simplecommandparser.cpp |