le_test.h
Go to the documentation of this file.
9 * unit testing requires some extra overhead (the writing of the unit tests) during the development34 * command line argument '-p' or '--pass-through' then <b>pass through</b> mode is selected. If the45 * To perform tests, call the @c LE_TEST macro and pass in your test function to LE_TEST as a parameter.106 * The LE_TEST_EXIT macro will cause the process to exit with the number of failed tests as the exit126 * For unit tests that contain multiple threads run the various tests, the normal testing procedure142 * a signal (which can be caused by a segmentation fault, etc.), LE_TEST_JOIN() will count one test169 //--------------------------------------------------------------------------------------------------181 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------208 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------214 * Performs the test. If the test fails (testResult == false) then an error message is logged and215 * the process either exits or the number of test failures is incremented depending on the operating216 * mode. If the test passes (testResult == true) then an info message is logged and this macro just219 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------235 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------255 //--------------------------------------------------------------------------------------------------259 //--------------------------------------------------------------------------------------------------