Esempio n. 1
0
int init_module(void)
{
	START_TESTS("BIB-Session");

	INIT_CALL_END(init(), simple_bib(), end(), "Single BIB");
	INIT_CALL_END(init(), simple_session(), end(), "Single Session");
	INIT_CALL_END(init(), test_clean_old_sessions(), end(), "Session cleansing.");
	INIT_CALL_END(init(), test_address_filtering(), end(), "Address-dependent filtering.");
	INIT_CALL_END(init(), test_for_each(), end(), "for-each function.");

	END_TESTS;
}
Esempio n. 2
0
int init_module(void)
{
	START_TESTS("BIB");

	INIT_CALL_END(init(), simple_bib(), end(), "Single BIB");
	INIT_CALL_END(init(), test_allocate_ipv4_transport_address(), end(), "Allocate function.");
	INIT_CALL_END(init(), test_compare_addr6(), end(), "compare_addr6");
	INIT_CALL_END(init(), test_compare_full6(), end(), "compare_full6");
	INIT_CALL_END(init(), test_compare_addr4(), end(), "compare_addr4");

	END_TESTS;
}