bool driver_entry_ut::list() { this->test_common_fini_unloaded(); this->test_common_fini_successful_start(); this->test_common_fini_successful_load(); this->test_common_fini_successful_add_module(); this->test_common_fini_corrupted(); this->test_common_fini_failed_load(); this->test_common_fini_failed_start(); this->test_common_add_module_invalid_file(); this->test_common_add_module_invalid_file_size(); this->test_common_add_module_garbage_module(); this->test_common_add_module_add_when_already_loaded(); this->test_common_add_module_add_when_already_running(); this->test_common_add_module_add_when_corrupt(); this->test_common_add_module_add_too_many(); this->test_common_load_successful_load(); this->test_common_load_load_when_already_loaded(); this->test_common_load_load_when_already_running(); this->test_common_load_load_when_corrupt(); this->test_common_load_fail_due_to_relocation_error(); this->test_common_load_fail_due_to_no_modules_added(); this->test_common_load_add_md_failed(); this->test_common_unload_unload_when_already_unloaded(); this->test_common_unload_unload_when_running(); this->test_common_unload_unload_when_corrupt(); this->test_common_start_start_when_unloaded(); this->test_common_start_start_when_already_running(); this->test_common_start_start_when_corrupt(); this->test_common_start_start_when_start_vmm_missing(); this->test_common_start_start_vmm_failure(); this->test_common_stop_stop_when_unloaded(); this->test_common_stop_stop_when_not_running(); this->test_common_stop_stop_when_alread_stopped(); this->test_common_stop_stop_when_corrupt(); this->test_common_stop_stop_vmm_missing(); this->test_common_stop_stop_vmm_failure(); this->test_common_dump_invalid_drr(); this->test_common_dump_invalid_vcpuid(); this->test_common_dump_dump_when_unloaded(); this->test_common_dump_dump_when_corrupt(); this->test_common_dump_dump_when_loaded(); this->test_common_dump_get_drr_missing(); this->test_common_dump_get_drr_failure(); this->test_helper_common_vmm_status(); this->test_helper_get_file_invalid_index(); this->test_helper_get_file_success(); this->test_helper_symbol_length_null_symbol(); this->test_helper_symbol_length_success(); this->test_helper_resolve_symbol_invalid_name(); this->test_helper_resolve_symbol_invalid_sym(); this->test_helper_resolve_symbol_missing_symbol(); this->test_helper_execute_symbol_invalid_arg(); this->test_helper_execute_symbol_missing_symbol(); this->test_helper_execute_symbol_sym_failed(); this->test_helper_execute_symbol_sym_success(); this->test_helper_constructors_success(); return verify_no_mem_leaks(); }
bool driver_entry_ut::list() { this->test_commit_fini_common_stop_failure(); this->test_commit_fini_common_unload_failure(); this->test_commit_fini_success(); this->test_commit_fini_success_multiple_times(); this->test_common_add_module_invalid_file(); this->test_common_add_module_invalid_file_size(); this->test_common_add_module_status_corrupt(); this->test_common_add_module_status_loaded(); this->test_common_add_module_status_running(); this->test_common_add_module_get_next_file_failed(); this->test_common_add_module_elf_file_init_failed(); this->test_common_add_module_elf_file_total_exec_failed(); this->test_common_add_module_add_elf_file_failed(); this->test_common_add_module_elf_file_load_failed(); this->test_common_add_module_add_success(); this->test_common_load_status_corrupt(); this->test_common_load_status_loaded(); this->test_common_load_status_running(); this->test_common_load_loader_init_failed(); this->test_common_load_loader_add_file_failed(); this->test_common_load_loader_relocate_failed(); this->test_common_load_allocate_page_pool_failed(); this->test_common_load_success(); this->test_common_unload_status_corrupt(); this->test_common_unload_status_running(); this->test_common_unload_free_page_pool_failed(); this->test_common_unload_remove_elf_files_failed(); this->test_common_unload_success_with_loaded(); this->test_common_unload_success_with_unloaded_without_modules(); this->test_common_unload_success_with_unloaded_with_modules(); this->test_common_start_status_corrupt(); this->test_common_start_status_running(); this->test_common_start_status_unloaded(); this->test_common_start_init_vmm_failed(); this->test_common_start_start_vmm_failed(); this->test_common_start_success(); this->test_common_start_success_multiple_times(); this->test_common_stop_status_corrupt(); this->test_common_stop_status_loaded(); this->test_common_stop_status_unloaded(); this->test_common_stop_start_vmm_failed(); this->test_common_stop_success(); this->test_common_stop_success_multiple_times(); this->test_common_dump_status_corrupt(); this->test_common_dump_status_unloaded(); this->test_common_dump_platform_alloc_failed(); this->test_common_dump_resolve_symbol_failed(); this->test_common_dump_debug_ring_read_failed(); this->test_common_dump_success(); this->test_common_dump_success_multiple_times(); this->test_helper_set_vmm_status(); this->test_helper_vmm_status(); this->test_helper_get_file_invalid_index(); this->test_helper_get_file_success(); this->test_helper_get_next_file_too_man_files(); this->test_helper_get_next_file_success(); this->test_helper_add_elf_file_invalid_size(); this->test_helper_add_elf_file_(); this->test_helper_add_elf_file_get_next_file_failed(); this->test_helper_add_elf_file_platform_alloc_exec_failed(); this->test_helper_add_elf_file_success(); this->test_helper_add_elf_file_success_multiple_times(); this->test_helper_symbol_length_null_symbol(); this->test_helper_symbol_length_success(); this->test_helper_resolve_symbol_invalid_name(); this->test_helper_resolve_symbol_invalid_sym(); this->test_helper_resolve_symbol_resolve_symbol_failed(); this->test_helper_resolve_symbol_success(); this->test_helper_execute_symbol_invalid_arg(); this->test_helper_execute_symbol_resolve_symbol_failed(); this->test_helper_execute_symbol_sym_failed(); this->test_helper_execute_symbol_sym_success(); this->test_helper_allocate_page_pool_resolve_symbol_failed(); this->test_helper_allocate_page_pool_alloc_page_failed(); this->test_helper_allocate_page_pool_add_page_failed(); this->test_helper_allocate_page_pool_success(); this->test_helper_allocate_page_pool_success_multiple_times(); this->test_helper_free_page_pool_resolve_symbol_failed(); this->test_helper_free_page_pool_remove_page_failed(); this->test_helper_free_page_pool_success(); this->test_helper_free_page_pool_success_multiple_times(); return verify_no_mem_leaks(); }