• R
    Fix potential segfaults in test cases · 7130363e
    Robert Drab 提交于
    In many places checking for nullptr is done using EXPECT test macros
    that doesn't return from the function when condition is not met
    (i.e. they are non-fatal). Lack of further error handling results
    in a subsequent segfault. To avoid that in most places it's sufficient
    to change macro type to ASSERT.
    Signed-off-by: NRobert Drab <robert.drab@huawei.com>
    7130363e
SysApiTest.cpp 19.1 KB