Stefan Weil
854772147c
unittest: Fix two issues reported by Coverity Scan (CID 1402761, 1402755)
...
GTEST_SKIP() returns from the function which caused two warnings:
CID 1402755 (#1 of 1): Resource leak (RESOURCE_LEAK)
CID 1402761 (#1 of 1): Structurally dead code (UNREACHABLE)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-11-16 14:14:13 +01:00
Stefan Weil
bdad068686
unittest: Add missing precision specifiers (CID 1402752)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-11-16 14:13:56 +01:00
Stefan Weil
bb2ea347b1
unittest: Fix and enable scanutils_test
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-06-16 18:36:21 +02:00
Stefan Weil
8887cad12f
Run more unittests with the user's locale
...
Hopefully this improves the test coverage.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-05-16 20:25:12 +02:00
Stefan Weil
9e66fb918f
unittest: Format code
...
It was formatted with clang-format-7 -i unittest/*.{c*,h}.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-29 09:19:13 +02:00
Stefan Weil
2b7df59187
Add more unittests from Google
...
They were provided by Jeff Breidenbach <jbreiden@google.com>.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-08-25 18:16:46 +02:00