OpenVPN
|
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include "assert_module.h"
Go to the source code of this file.
Functions | |
void | increment_value (int *const value) |
static void | increment_value_fail (void **state) |
static void | increment_value_assert (void **state) |
static void | decrement_value_fail (void **state) |
int | main (void) |
|
static |
Definition at line 43 of file assert_module_test.c.
References decrement_value(), and expect_assert_failure.
Referenced by main().
void increment_value | ( | int *const | value | ) |
Definition at line 29 of file assert_module.c.
Referenced by increment_value_assert(), and increment_value_fail().
|
static |
Definition at line 35 of file assert_module_test.c.
References expect_assert_failure, and increment_value().
Referenced by main().
|
static |
Definition at line 27 of file assert_module_test.c.
References increment_value().
Referenced by main().
int main | ( | void | ) |
Definition at line 49 of file assert_module_test.c.
References cmocka_run_group_tests, cmocka_unit_test, decrement_value_fail(), increment_value_assert(), and increment_value_fail().