KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_navlib_safe_init.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <navlib_safe_init.h>
#include <stdexcept>
#include <sys/wait.h>
#include <unistd.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (SuccessfulInit)
 
 BOOST_AUTO_TEST_CASE (ExceptionHandling)
 
 BOOST_AUTO_TEST_CASE (SystemErrorHandling)
 
 BOOST_AUTO_TEST_CASE (UnknownExceptionHandling)
 
 BOOST_AUTO_TEST_CASE (AbortRecovery)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( AbortRecovery )

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( ExceptionHandling )

Definition at line 47 of file test_navlib_safe_init.cpp.

References NavlibDriverCrashed(), result, and SafeNavlibInit().

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( SuccessfulInit )

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( SystemErrorHandling )

Definition at line 59 of file test_navlib_safe_init.cpp.

References NavlibDriverCrashed(), result, and SafeNavlibInit().

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( UnknownExceptionHandling )

Definition at line 72 of file test_navlib_safe_init.cpp.

References NavlibDriverCrashed(), result, and SafeNavlibInit().