Definitions for the CongURE test framework. More...
Definitions for the CongURE test framework.
Definition in file test.h.
#include "congure_impl.h"
Include dependency graph for test.h:Go to the source code of this file.
Macros | |
| #define | CONFIG_CONGURE_TEST_LOST_MSG_POOL_SIZE (4U) |
| Pool size for the message list elements for a lost message report. More... | |
Typedefs | |
| typedef congure_snd_t | congure_test_snd_t |
| Application-defined type for the CongURE state object under test. More... | |
Functions | |
| int | congure_test_snd_setup (void congure_test_snd_t *c, unsigned id) |
| Setup the application-defined CongURE state object under test. More... | |
| congure_test_snd_t * | congure_test_get_state (void) |
| Get the application-defined CongURE state object. More... | |
| int | congure_test_clear_state (int argc, char **argv) |
| Clears the CongURE state object. More... | |
| int | congure_test_call_setup (int argc, char **argv) |
| Setup the CongURE state object. More... | |
| int | congure_test_call_init (int argc, char **argv) |
Calls init() method for CongURE state object. More... | |
| int | congure_test_call_inter_msg_interval (int argc, char **argv) |
Calls inter_msg_interval() method for CongURE state object. More... | |
| int | congure_test_add_msg (int argc, char **argv) |
Adds a message from the message pool to the list for cong_report msgs_lost and cong_report msgs_timeout. More... | |
| int | congure_test_msgs_reset (int argc, char **argv) |
Resets the message pool and messages list for cong_report msgs_lost and cong_report msgs_timeout. More... | |
| int | congure_test_call_report (int argc, char **argv) |
Calls one of the report_*() methods for CongURE state object. More... | |