summaryrefslogtreecommitdiff
path: root/src/components/include/test/application_manager/mock_application_manager_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/test/application_manager/mock_application_manager_settings.h')
-rw-r--r--src/components/include/test/application_manager/mock_application_manager_settings.h160
1 files changed, 54 insertions, 106 deletions
diff --git a/src/components/include/test/application_manager/mock_application_manager_settings.h b/src/components/include/test/application_manager/mock_application_manager_settings.h
index 02e33e2c7f..b1c32c982b 100644
--- a/src/components/include/test/application_manager/mock_application_manager_settings.h
+++ b/src/components/include/test/application_manager/mock_application_manager_settings.h
@@ -44,127 +44,75 @@ namespace application_manager_test {
class MockApplicationManagerSettings
: public application_manager::ApplicationManagerSettings {
public:
- MOCK_CONST_METHOD0(video_data_stopped_timeout,
- const uint32_t());
- MOCK_CONST_METHOD0(audio_data_stopped_timeout,
- const std::uint32_t());
+ MOCK_CONST_METHOD0(video_data_stopped_timeout, const uint32_t());
+ MOCK_CONST_METHOD0(audio_data_stopped_timeout, const std::uint32_t());
// The following line won't really compile, as the return
// type has multiple template arguments. To fix it, use a
// typedef for the return type.
- MOCK_CONST_METHOD0(read_did_frequency,
- const std::pair<uint32_t, int32_t>&());
+ MOCK_CONST_METHOD0(read_did_frequency, const std::pair<uint32_t, int32_t>&());
// The following line won't really compile, as the return
// type has multiple template arguments. To fix it, use a
// typedef for the return type.
MOCK_CONST_METHOD0(get_vehicle_data_frequency,
- const std::pair<uint32_t, int32_t>&());
- MOCK_CONST_METHOD0(hash_string_size,
- uint32_t());
- MOCK_CONST_METHOD0(app_storage_folder,
- const std::string&());
- MOCK_CONST_METHOD0(app_dir_quota,
- const uint32_t&());
- MOCK_CONST_METHOD0(stop_streaming_timeout,
- uint32_t());
- MOCK_CONST_METHOD0(application_list_update_timeout,
- uint32_t());
- MOCK_CONST_METHOD0(heart_beat_timeout,
- uint32_t());
- MOCK_CONST_METHOD0(recording_file_name,
- const std::string&());
- MOCK_CONST_METHOD0(system_files_path,
- const std::string&());
- MOCK_CONST_METHOD0(is_mixing_audio_supported,
- bool());
- MOCK_CONST_METHOD0(tts_global_properties_timeout,
- uint16_t());
- MOCK_CONST_METHOD0(max_supported_protocol_version,
- uint16_t());
- MOCK_CONST_METHOD0(default_timeout,
- const uint32_t&());
- MOCK_CONST_METHOD0(max_cmd_id,
- const uint32_t&());
- MOCK_CONST_METHOD0(launch_hmi,
- bool());
- MOCK_CONST_METHOD0(delete_file_in_none,
- const uint32_t&());
- MOCK_CONST_METHOD0(supported_diag_modes,
- const std::vector<uint32_t>&());
- MOCK_CONST_METHOD0(list_files_in_none,
- const uint32_t&());
- MOCK_CONST_METHOD0(tts_delimiter,
- const std::string&());
- MOCK_CONST_METHOD0(put_file_in_none,
- const uint32_t&());
- MOCK_CONST_METHOD0(sdl_version,
- const std::string&());
- MOCK_CONST_METHOD0(time_out_promt,
- const std::vector<std::string>&());
- MOCK_CONST_METHOD0(hmi_capabilities_file_name,
- const std::string&());
- MOCK_CONST_METHOD0(video_server_type,
- const std::string&());
- MOCK_CONST_METHOD0(audio_server_type,
- const std::string&());
- MOCK_CONST_METHOD0(server_address,
- const std::string&());
- MOCK_CONST_METHOD0(video_streaming_port,
- const uint16_t());
- MOCK_CONST_METHOD0(audio_streaming_port,
- const uint16_t());
- MOCK_CONST_METHOD0(named_video_pipe_path,
- const std::string&());
- MOCK_CONST_METHOD0(named_audio_pipe_path,
- const std::string&());
- MOCK_CONST_METHOD0(video_stream_file,
- const std::string&());
- MOCK_CONST_METHOD0(audio_stream_file,
- const std::string&());
- MOCK_CONST_METHOD0(use_db_for_resumption,
- bool());
+ const std::pair<uint32_t, int32_t>&());
+ MOCK_CONST_METHOD0(hash_string_size, uint32_t());
+ MOCK_CONST_METHOD0(app_storage_folder, const std::string&());
+ MOCK_CONST_METHOD0(app_dir_quota, const uint32_t&());
+ MOCK_CONST_METHOD0(stop_streaming_timeout, uint32_t());
+ MOCK_CONST_METHOD0(application_list_update_timeout, uint32_t());
+ MOCK_CONST_METHOD0(heart_beat_timeout, uint32_t());
+ MOCK_CONST_METHOD0(recording_file_name, const std::string&());
+ MOCK_CONST_METHOD0(system_files_path, const std::string&());
+ MOCK_CONST_METHOD0(is_mixing_audio_supported, bool());
+ MOCK_CONST_METHOD0(tts_global_properties_timeout, uint16_t());
+ MOCK_CONST_METHOD0(max_supported_protocol_version, uint16_t());
+ MOCK_CONST_METHOD0(default_timeout, const uint32_t&());
+ MOCK_CONST_METHOD0(max_cmd_id, const uint32_t&());
+ MOCK_CONST_METHOD0(launch_hmi, bool());
+ MOCK_CONST_METHOD0(delete_file_in_none, const uint32_t&());
+ MOCK_CONST_METHOD0(supported_diag_modes, const std::vector<uint32_t>&());
+ MOCK_CONST_METHOD0(list_files_in_none, const uint32_t&());
+ MOCK_CONST_METHOD0(tts_delimiter, const std::string&());
+ MOCK_CONST_METHOD0(put_file_in_none, const uint32_t&());
+ MOCK_CONST_METHOD0(sdl_version, const std::string&());
+ MOCK_CONST_METHOD0(time_out_promt, const std::vector<std::string>&());
+ MOCK_CONST_METHOD0(hmi_capabilities_file_name, const std::string&());
+ MOCK_CONST_METHOD0(video_server_type, const std::string&());
+ MOCK_CONST_METHOD0(audio_server_type, const std::string&());
+ MOCK_CONST_METHOD0(server_address, const std::string&());
+ MOCK_CONST_METHOD0(video_streaming_port, const uint16_t());
+ MOCK_CONST_METHOD0(audio_streaming_port, const uint16_t());
+ MOCK_CONST_METHOD0(named_video_pipe_path, const std::string&());
+ MOCK_CONST_METHOD0(named_audio_pipe_path, const std::string&());
+ MOCK_CONST_METHOD0(video_stream_file, const std::string&());
+ MOCK_CONST_METHOD0(audio_stream_file, const std::string&());
+ MOCK_CONST_METHOD0(use_db_for_resumption, bool());
MOCK_CONST_METHOD0(app_resumption_save_persistent_data_timeout,
- const uint32_t&());
- MOCK_CONST_METHOD0(resumption_delay_before_ign,
- uint32_t());
- MOCK_CONST_METHOD0(resumption_delay_after_ign,
- uint32_t());
- MOCK_CONST_METHOD0(app_resuming_timeout,
- const uint32_t&());
- MOCK_CONST_METHOD0(attempts_to_open_resumption_db,
- uint16_t());
- MOCK_CONST_METHOD0(open_attempt_timeout_ms_resumption_db,
- uint16_t());
- MOCK_METHOD1(config_file_name,
- void(const std::string& fileName));
+ const uint32_t&());
+ MOCK_CONST_METHOD0(resumption_delay_before_ign, uint32_t());
+ MOCK_CONST_METHOD0(resumption_delay_after_ign, uint32_t());
+ MOCK_CONST_METHOD0(app_resuming_timeout, const uint32_t&());
+ MOCK_CONST_METHOD0(attempts_to_open_resumption_db, uint16_t());
+ MOCK_CONST_METHOD0(open_attempt_timeout_ms_resumption_db, uint16_t());
+ MOCK_METHOD1(config_file_name, void(const std::string& fileName));
// The following line won't really compile, as the return
// type has multiple template arguments. To fix it, use a
// typedef for the return type.
MOCK_CONST_METHOD0(start_stream_retry_amount,
- const std::pair<uint32_t, int32_t>&());
- MOCK_CONST_METHOD0(app_icons_folder,
- const std::string&());
- MOCK_CONST_METHOD0(app_icons_folder_max_size,
- const uint32_t&());
- MOCK_CONST_METHOD0(app_icons_amount_to_remove,
- const uint32_t&());
- MOCK_CONST_METHOD0(list_files_response_size,
- const uint32_t&());
-
+ const std::pair<uint32_t, int32_t>&());
+ MOCK_CONST_METHOD0(app_icons_folder, const std::string&());
+ MOCK_CONST_METHOD0(app_icons_folder_max_size, const uint32_t&());
+ MOCK_CONST_METHOD0(app_icons_amount_to_remove, const uint32_t&());
+ MOCK_CONST_METHOD0(list_files_response_size, const uint32_t&());
// request controller settings section
- MOCK_CONST_METHOD0(thread_pool_size,
- uint32_t());
- MOCK_CONST_METHOD0(app_hmi_level_none_time_scale,
- const uint32_t&());
+ MOCK_CONST_METHOD0(thread_pool_size, uint32_t());
+ MOCK_CONST_METHOD0(app_hmi_level_none_time_scale, const uint32_t&());
MOCK_CONST_METHOD0(app_hmi_level_none_time_scale_max_requests,
- const uint32_t&());
- MOCK_CONST_METHOD0(app_time_scale,
- const uint32_t&());
- MOCK_CONST_METHOD0(app_time_scale_max_requests,
- const uint32_t&());
- MOCK_CONST_METHOD0(pending_requests_amount,
- const uint32_t&());
-
+ const uint32_t&());
+ MOCK_CONST_METHOD0(app_time_scale, const uint32_t&());
+ MOCK_CONST_METHOD0(app_time_scale_max_requests, const uint32_t&());
+ MOCK_CONST_METHOD0(pending_requests_amount, const uint32_t&());
};
} // namespace application_manager_test