Increased code coverage > 94%
Backport of 0d0f8642060c47708ef2286359f7d4dab44fae72 from !211 Signed-off-by: ahcorde <ahcorde@gmail.com>
This commit is contained in:
parent
f45370fabd
commit
b2c7eaf1df
1 changed files with 7 additions and 0 deletions
|
@ -46,6 +46,13 @@ TEST(TestUtils, valid_symbol_funcptr) {
|
|||
"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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue