Increased code coverage > 94%

Backport of 0d0f8642060c47708ef2286359f7d4dab44fae72 from !211

Signed-off-by: ahcorde <ahcorde@gmail.com>
This commit is contained in:
ahcorde 2020-10-23 17:31:47 +02:00 committed by Christophe Bedard
parent f45370fabd
commit b2c7eaf1df

View file

@ -46,6 +46,13 @@ TEST(TestUtils, valid_symbol_funcptr) {
"invalid symbol"; "invalid symbol";
} }
/*
Testing _get_symbol_funcptr from a null pointer.
*/
TEST(TestUtils, invalid_get_symbol_funcptr) {
EXPECT_STREQ(_get_symbol_funcptr(nullptr), SYMBOL_UNKNOWN);
}
/* /*
Testing symbol resolution for std::function object created from a lambda. Testing symbol resolution for std::function object created from a lambda.
*/ */