FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Unit tests for agent operations. More...
Go to the source code of this file.
Functions | |
void | create_pipe (int *int_dst, int *int_src, FILE **file_dst, FILE **file_src) |
Creates 2 pipes and initialize parameters. More... | |
void | test_meta_agent_init () |
Test for meta_agent_init() More... | |
void | test_add_meta_agent () |
Test for add_meta_agent() More... | |
void | test_agent_death_event () |
Test for agent_death_event() More... | |
void | test_agent_create_event () |
Test for agent_create_event() More... | |
void | test_agent_init () |
Test for agent_init() More... | |
Variables | |
CU_TestInfo | tests_meta_agent [] |
CU_TestInfo | tests_agent [] |
Unit tests for agent operations.
Definition in file testAgent.c.
void create_pipe | ( | int * | int_dst, |
int * | int_src, | ||
FILE ** | file_dst, | ||
FILE ** | file_src | ||
) |
Creates 2 pipes and initialize parameters.
[out] | int_dst | Initial destination pipe |
[out] | int_src | Initial source pipe |
[out] | file_dst | File descriptor for int_dst with read only |
[out] | file_src | File descriptor for int_src with write |
Definition at line 48 of file testAgent.c.
void test_add_meta_agent | ( | ) |
Test for add_meta_agent()
Definition at line 104 of file testAgent.c.
void test_agent_create_event | ( | ) |
Test for agent_create_event()
Definition at line 219 of file testAgent.c.
void test_agent_death_event | ( | ) |
Test for agent_death_event()
Definition at line 167 of file testAgent.c.
void test_agent_init | ( | ) |
void test_meta_agent_init | ( | ) |
Test for meta_agent_init()
Definition at line 76 of file testAgent.c.
CU_TestInfo tests_agent[] |
Definition at line 353 of file testAgent.c.
CU_TestInfo tests_meta_agent[] |
Definition at line 345 of file testAgent.c.