These headers or their equivalents should be included prior to including this header file. More...
|Mock objects mock objects are simulated objects that mimic the behavior of real objects. |
|Functionality to store expected values for mock function parameters. |
|This is a set of useful assert macros like the standard C libary's assert(3) macro. |
|It is often beneficial to make sure that functions are called in an order. |
|This is the way tests are executed with CMocka. |
|Dynamic Memory Allocation|
|Memory leaks, buffer overflows and underflows can be checked using cmocka. |
|How to handle assert(3) of the standard C library. |
|Largest integral type. More...|
|void||cmocka_set_message_output (enum cm_message_output output)|
|Function to set the output format for a test. More...|
These headers or their equivalents should be included prior to including this header file.
This allows test applications to use custom definitions of C standard library functions and types.
|typedef uintmax_t LargestIntegralType|
Largest integral type.
This type should be large enough to hold any pointer or integer supported by the compiler.
|void cmocka_set_message_output||(||enum cm_message_output||output||)|
Function to set the output format for a test.
The ouput format for the test can either be set globally using this function or overriden with environment variable CMOCKA_MESSAGE_OUTPUT.
The environment variable can be set to either STDOUT, SUBUNIT, TAP or XML.
|[in]||output||The output format to use for the test.|