![]() |
FOSSology
3.2.0rc1
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 59 of file testAgent.c.
| void test_add_meta_agent | ( | ) |
Test for add_meta_agent()
Definition at line 115 of file testAgent.c.
| void test_agent_create_event | ( | ) |
Test for agent_create_event()
Definition at line 230 of file testAgent.c.
| void test_agent_death_event | ( | ) |
Test for agent_death_event()
Definition at line 178 of file testAgent.c.
| void test_agent_init | ( | ) |
| void test_meta_agent_init | ( | ) |
Test for meta_agent_init()
Definition at line 87 of file testAgent.c.
| CU_TestInfo tests_agent[] |
Definition at line 364 of file testAgent.c.
| CU_TestInfo tests_meta_agent[] |
Definition at line 356 of file testAgent.c.