Exemplo n.º 1
0
void testsuite_init(struct sieve_instance *svinst, bool log_stdout)
{
	testsuite_sieve_instance = svinst;

	testsuite_test_context_init();
	testsuite_log_init(log_stdout);
	testsuite_tmp_dir_init();
	
	testsuite_script_init();
	testsuite_binary_init();
	testsuite_smtp_init();

	testsuite_ext = sieve_extension_register
		(svinst, &testsuite_extension, TRUE);
}
void testsuite_binary_reset(void)
{
	testsuite_binary_init();
	testsuite_binary_deinit();
}