#utc_elm_need_efreet.c
utc_elm_shutdown.c
utc_elm_init.c
-utc_elm_config_scale_set.c
-utc_elm_config_scale_get.c
-utc_elm_policy_set.c
+utc_elm_config_scale_get_set.c
+utc_elm_policy_get_set.c
utc_elm_config_mirrored_set.c
utc_elm_config_mirrored_get.c
-utc_elm_config_password_show_last_get.c
-utc_elm_config_password_show_last_set.c
-utc_elm_config_password_show_last_timeout_get.c
-utc_elm_config_password_show_last_timeout_set.c
+utc_elm_config_password_show_last_get_set.c
+utc_elm_config_password_show_last_timeout_get_set.c
utc_elm_run.c
utc_elm_exit.c
-utc_elm_config_longpress_timeout_get.c
-utc_elm_config_longpress_timeout_set.c
-utc_elm_font_properties_get.c
-utc_elm_font_properties_free.c
+utc_elm_config_longpress_timeout_get_set.c
+utc_elm_font_properties_get_free.c
utc_elm_config_font_overlay_list_get.c
utc_elm_config_font_overlay_set.c
utc_elm_config_font_overlay_unset.c
-utc_elm_font_fontconfig_name_get.c
-utc_elm_font_fontconfig_name_free.c
-utc_elm_config_cache_font_cache_size_get.c
-utc_elm_config_cache_font_cache_size_set.c
-utc_elm_config_text_classes_list_get.c
-utc_elm_config_text_classes_list_free.c
-utc_elm_font_available_hash_add.c
-utc_elm_font_available_hash_del.c
-utc_elm_config_engine_set.c
-utc_elm_config_engine_get.c
-utc_elm_config_cursor_engine_only_get.c
-utc_elm_config_cursor_engine_only_set.c
+utc_elm_font_fontconfig_name_get_free.c
+utc_elm_config_cache_font_cache_size_get_set.c
+utc_elm_config_text_classes_list_get_free.c
+utc_elm_font_available_hash_add_del.c
+utc_elm_config_engine_get_set.c
+utc_elm_config_cursor_engine_only_get_set.c
utc_elm_coords_finger_size_adjust.c
#utc_elm_config_save.c
utc_elm_config_reload.c
utc_elm_cache_all_flush.c
-utc_elm_config_finger_size_set.c
-utc_elm_config_finger_size_get.c
-utc_elm_config_focus_highlight_animate_set.c
-utc_elm_config_focus_highlight_animate_get.c
-utc_elm_config_focus_highlight_enabled_set.c
-utc_elm_config_focus_highlight_enabled_get.c
+utc_elm_config_finger_size_get_set.c
+utc_elm_config_focus_highlight_animate_get_set.c
+utc_elm_config_focus_highlight_enabled_get_set.c
utc_elm_app_compile_bin_dir_set.c
utc_elm_app_compile_data_dir_set.c
utc_elm_app_compile_lib_dir_set.c
utc_elm_app_prefix_dir_get.c
utc_elm_app_bin_dir_get.c
utc_elm_app_compile_locale_set.c
-utc_elm_policy_get.c
-#utc_elm_config_access_get.c
-utc_elm_config_preferred_engine_set.c
-#utc_elm_config_access_set.c
+#utc_elm_config_access_get_set.c
utc_elm_config_all_flush.c
-utc_elm_config_cache_edje_collection_cache_size_get.c
-utc_elm_config_cache_edje_collection_cache_size_set.c
-utc_elm_config_cache_edje_file_cache_size_get.c
-utc_elm_config_cache_edje_file_cache_size_set.c
-utc_elm_config_color_classes_list_free.c
-utc_elm_config_color_classes_list_get.c
+utc_elm_config_cache_edje_collection_cache_size_get_set.c
+utc_elm_config_cache_edje_file_cache_size_get_set.c
+utc_elm_config_color_classes_list_get_free.c
utc_elm_config_color_overlay_apply.c
utc_elm_config_color_overlay_list_get.c
utc_elm_config_color_overlay_set.c
utc_elm_config_color_overlay_unset.c
utc_elm_config_font_overlay_apply.c
-utc_elm_config_glayer_double_tap_timeout_get.c
-utc_elm_config_glayer_double_tap_timeout_set.c
-utc_elm_config_glayer_long_tap_start_timeout_get.c
-utc_elm_config_glayer_long_tap_start_timeout_set.c
+utc_elm_config_glayer_double_tap_timeout_get_set.c
+utc_elm_config_glayer_long_tap_start_timeout_get_set.c
utc_elm_config_indicator_service_get.c
-utc_elm_config_preferred_engine_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_set.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set.c
-utc_elm_config_scroll_thumbscroll_friction_standard_get.c
-utc_elm_config_scroll_thumbscroll_friction_standard_set.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_get.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_set.c
-utc_elm_config_scroll_thumbscroll_min_friction_get.c
-utc_elm_config_scroll_thumbscroll_min_friction_set.c
-utc_elm_config_selection_unfocused_clear_get.c
-utc_elm_config_selection_unfocused_clear_set.c
-utc_elm_config_softcursor_mode_get.c
-utc_elm_config_softcursor_mode_set.c
-utc_elm_config_tooltip_delay_get.c
-utc_elm_config_tooltip_delay_set.c
+utc_elm_config_preferred_engine_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_weight_get_set.c
+utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_standard_get_set.c
+utc_elm_config_scroll_thumbscroll_hold_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_min_friction_get_set.c
+utc_elm_config_selection_unfocused_clear_get_set.c
+utc_elm_config_softcursor_mode_get_set.c
+utc_elm_config_tooltip_delay_get_set.c
utc_elm_config_language_auto_mirrored.c
-utc_elm_app_name_set.c
-utc_elm_app_name_get.c
-utc_elm_app_base_scale_set.c
-utc_elm_app_base_scale_get.c
-utc_elm_config_accel_preference_get.c
-utc_elm_config_accel_preference_set.c
-utc_elm_config_accel_preference_override_get.c
-utc_elm_config_accel_preference_override_set.c
-utc_elm_config_atspi_mode_get.c
-utc_elm_config_atspi_mode_set.c
-utc_elm_config_first_item_focus_on_first_focusin_get.c
-utc_elm_config_first_item_focus_on_first_focusin_set.c
-utc_elm_config_focus_autoscroll_mode_get.c
-utc_elm_config_focus_autoscroll_mode_set.c
-utc_elm_config_focus_highlight_clip_disabled_get.c
-utc_elm_config_focus_highlight_clip_disabled_set.c
-utc_elm_config_focus_move_policy_get.c
-utc_elm_config_focus_move_policy_set.c
+utc_elm_app_name_get_set.c
+utc_elm_app_base_scale_get_set.c
+utc_elm_config_accel_preference_get_set.c
+utc_elm_config_accel_preference_override_get_set.c
+utc_elm_config_atspi_mode_get_set.c
+utc_elm_config_first_item_focus_on_first_focusin_get_set.c
+utc_elm_config_focus_autoscroll_mode_get_set.c
+utc_elm_config_focus_highlight_clip_disabled_get_set.c
+utc_elm_config_focus_move_policy_get_set.c
utc_elm_config_font_hint_type_set.c
-utc_elm_config_item_select_on_focus_disabled_get.c
-utc_elm_config_item_select_on_focus_disabled_set.c
-utc_elm_config_scroll_thumbscroll_smooth_amount_get.c
-utc_elm_config_scroll_thumbscroll_smooth_amount_set.c
-utc_elm_config_scroll_thumbscroll_smooth_start_get.c
-utc_elm_config_scroll_thumbscroll_smooth_start_set.c
-utc_elm_config_scroll_thumbscroll_smooth_time_window_get.c
-utc_elm_config_scroll_thumbscroll_smooth_time_window_set.c
-utc_elm_config_slider_indicator_visible_mode_get.c
-utc_elm_config_slider_indicator_visible_mode_set.c
-utc_elm_config_transition_duration_factor_get.c
-utc_elm_config_transition_duration_factor_set.c
-utc_elm_config_vsync_get.c
-utc_elm_config_vsync_set.c
-utc_elm_config_window_auto_focus_animate_get.c
-utc_elm_config_window_auto_focus_animate_set.c
-utc_elm_config_window_auto_focus_enable_get.c
-utc_elm_config_window_auto_focus_enable_set.c
-utc_elm_color_class_color_set.c
-utc_elm_color_class_color_get.c
-utc_elm_color_class_color2_set.c
-utc_elm_color_class_color2_get.c
-utc_elm_color_class_color3_set.c
-utc_elm_color_class_color3_get.c
+utc_elm_config_item_select_on_focus_disabled_get_set.c
+utc_elm_config_scroll_thumbscroll_smooth_amount_get_set.c
+utc_elm_config_scroll_thumbscroll_smooth_start_get_set.c
+utc_elm_config_scroll_thumbscroll_smooth_time_window_get_set.c
+utc_elm_config_slider_indicator_visible_mode_get_set.c
+utc_elm_config_transition_duration_factor_get_set.c
+utc_elm_config_vsync_get_set.c
+utc_elm_config_window_auto_focus_animate_get_set.c
+utc_elm_config_window_auto_focus_enable_get_set.c
+utc_elm_color_class_color_get_set.c
+utc_elm_color_class_color2_get_set.c
+utc_elm_color_class_color3_get_set.c
utc_elm_color_class_del.c
#utc_elm_need_efreet.c
utc_elm_shutdown.c
utc_elm_init.c
-utc_elm_config_scale_set.c
-utc_elm_config_scale_get.c
-utc_elm_policy_set.c
+utc_elm_config_scale_get_set.c
+utc_elm_policy_get_set.c
utc_elm_config_mirrored_set.c
utc_elm_config_mirrored_get.c
-utc_elm_config_password_show_last_get.c
-utc_elm_config_password_show_last_set.c
-utc_elm_config_password_show_last_timeout_get.c
-utc_elm_config_password_show_last_timeout_set.c
+utc_elm_config_password_show_last_get_set.c
+utc_elm_config_password_show_last_timeout_get_set.c
utc_elm_run.c
utc_elm_exit.c
-utc_elm_config_longpress_timeout_get.c
-utc_elm_config_longpress_timeout_set.c
-utc_elm_font_properties_get.c
-utc_elm_font_properties_free.c
+utc_elm_config_longpress_timeout_get_set.c
+utc_elm_font_properties_get_free.c
utc_elm_config_font_overlay_list_get.c
utc_elm_config_font_overlay_set.c
utc_elm_config_font_overlay_unset.c
-utc_elm_font_fontconfig_name_get.c
-utc_elm_font_fontconfig_name_free.c
-utc_elm_config_cache_font_cache_size_get.c
-utc_elm_config_cache_font_cache_size_set.c
-utc_elm_config_text_classes_list_get.c
-utc_elm_config_text_classes_list_free.c
-utc_elm_font_available_hash_add.c
-utc_elm_font_available_hash_del.c
-utc_elm_config_engine_set.c
-utc_elm_config_engine_get.c
-utc_elm_config_cursor_engine_only_get.c
-utc_elm_config_cursor_engine_only_set.c
+utc_elm_font_fontconfig_name_get_free.c
+utc_elm_config_cache_font_cache_size_get_set.c
+utc_elm_config_text_classes_list_get_free.c
+utc_elm_font_available_hash_add_del.c
+utc_elm_config_engine_get_set.c
+utc_elm_config_cursor_engine_only_get_set.c
utc_elm_coords_finger_size_adjust.c
#utc_elm_config_save.c
utc_elm_config_reload.c
utc_elm_cache_all_flush.c
-utc_elm_config_finger_size_set.c
-utc_elm_config_finger_size_get.c
-utc_elm_config_focus_highlight_animate_set.c
-utc_elm_config_focus_highlight_animate_get.c
-utc_elm_config_focus_highlight_enabled_set.c
-utc_elm_config_focus_highlight_enabled_get.c
+utc_elm_config_finger_size_get_set.c
+utc_elm_config_focus_highlight_animate_get_set.c
+utc_elm_config_focus_highlight_enabled_get_set.c
utc_elm_app_compile_bin_dir_set.c
utc_elm_app_compile_data_dir_set.c
utc_elm_app_compile_lib_dir_set.c
utc_elm_app_prefix_dir_get.c
utc_elm_app_bin_dir_get.c
utc_elm_app_compile_locale_set.c
-utc_elm_policy_get.c
-#utc_elm_config_access_get.c
-utc_elm_config_preferred_engine_set.c
-#utc_elm_config_access_set.c
+#utc_elm_config_access_get_set.c
+utc_elm_config_preferred_engine_get_set.c
utc_elm_config_all_flush.c
-utc_elm_config_cache_edje_collection_cache_size_get.c
-utc_elm_config_cache_edje_collection_cache_size_set.c
-utc_elm_config_cache_edje_file_cache_size_get.c
-utc_elm_config_cache_edje_file_cache_size_set.c
-utc_elm_config_color_classes_list_free.c
-utc_elm_config_color_classes_list_get.c
+utc_elm_config_cache_edje_collection_cache_size_get_set.c
+utc_elm_config_cache_edje_file_cache_size_get_set.c
+utc_elm_config_color_classes_list_get_free.c
utc_elm_config_color_overlay_apply.c
utc_elm_config_color_overlay_list_get.c
utc_elm_config_color_overlay_set.c
utc_elm_config_color_overlay_unset.c
utc_elm_config_font_overlay_apply.c
-utc_elm_config_glayer_double_tap_timeout_get.c
-utc_elm_config_glayer_double_tap_timeout_set.c
-utc_elm_config_glayer_long_tap_start_timeout_get.c
-utc_elm_config_glayer_long_tap_start_timeout_set.c
+utc_elm_config_glayer_double_tap_timeout_get_set.c
+utc_elm_config_glayer_long_tap_start_timeout_get_set.c
utc_elm_config_indicator_service_get.c
utc_elm_config_preferred_engine_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_set.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set.c
-utc_elm_config_scroll_thumbscroll_friction_standard_get.c
-utc_elm_config_scroll_thumbscroll_friction_standard_set.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_get.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_set.c
-utc_elm_config_scroll_thumbscroll_min_friction_get.c
-utc_elm_config_scroll_thumbscroll_min_friction_set.c
-utc_elm_config_selection_unfocused_clear_get.c
-utc_elm_config_selection_unfocused_clear_set.c
-utc_elm_config_softcursor_mode_get.c
-utc_elm_config_softcursor_mode_set.c
-utc_elm_config_tooltip_delay_get.c
-utc_elm_config_tooltip_delay_set.c
-utc_elm_app_name_set.c
-utc_elm_app_name_get.c
-utc_elm_app_base_scale_set.c
-utc_elm_app_base_scale_get.c
-utc_elm_config_accel_preference_get.c
-utc_elm_config_accel_preference_set.c
-utc_elm_config_accel_preference_override_get.c
-utc_elm_config_accel_preference_override_set.c
-utc_elm_config_atspi_mode_get.c
-utc_elm_config_atspi_mode_set.c
-utc_elm_config_first_item_focus_on_first_focusin_get.c
-utc_elm_config_first_item_focus_on_first_focusin_set.c
-utc_elm_config_focus_autoscroll_mode_get.c
-utc_elm_config_focus_autoscroll_mode_set.c
-utc_elm_config_focus_highlight_clip_disabled_get.c
-utc_elm_config_focus_highlight_clip_disabled_set.c
-utc_elm_config_focus_move_policy_get.c
-utc_elm_config_focus_move_policy_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_weight_get_set.c
+utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_standard_get_set.c
+utc_elm_config_scroll_thumbscroll_hold_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_min_friction_get_set.c
+utc_elm_config_selection_unfocused_clear_get_set.c
+utc_elm_config_softcursor_mode_get_set.c
+utc_elm_config_tooltip_delay_get_set.c
+utc_elm_app_name_get_set.c
+utc_elm_app_base_scale_get_set.c
+utc_elm_config_accel_preference_get_set.c
+utc_elm_config_accel_preference_override_get_set.c
+utc_elm_config_atspi_mode_get_set.c
+utc_elm_config_first_item_focus_on_first_focusin_get_set.c
+utc_elm_config_focus_autoscroll_mode_get_set.c
+utc_elm_config_focus_highlight_clip_disabled_get_set.c
+utc_elm_config_focus_move_policy_get_set.c
utc_elm_config_font_hint_type_set.c
utc_elm_config_language_auto_mirrored.c
-utc_elm_config_item_select_on_focus_disabled_get.c
-utc_elm_config_item_select_on_focus_disabled_set.c
-utc_elm_config_scroll_thumbscroll_smooth_amount_get.c
-utc_elm_config_scroll_thumbscroll_smooth_amount_set.c
-utc_elm_config_scroll_thumbscroll_smooth_start_get.c
-utc_elm_config_scroll_thumbscroll_smooth_start_set.c
-utc_elm_config_scroll_thumbscroll_smooth_time_window_get.c
-utc_elm_config_scroll_thumbscroll_smooth_time_window_set.c
-utc_elm_config_slider_indicator_visible_mode_get.c
-utc_elm_config_slider_indicator_visible_mode_set.c
-utc_elm_config_transition_duration_factor_get.c
-utc_elm_config_transition_duration_factor_set.c
-utc_elm_config_vsync_get.c
-utc_elm_config_vsync_set.c
-utc_elm_config_window_auto_focus_animate_get.c
-utc_elm_config_window_auto_focus_animate_set.c
-utc_elm_config_window_auto_focus_enable_get.c
-utc_elm_config_window_auto_focus_enable_set.c
-utc_elm_color_class_color_set.c
-utc_elm_color_class_color_get.c
-utc_elm_color_class_color2_set.c
-utc_elm_color_class_color2_get.c
-utc_elm_color_class_color3_set.c
-utc_elm_color_class_color3_get.c
+utc_elm_config_item_select_on_focus_disabled_get_set.c
+utc_elm_config_scroll_thumbscroll_smooth_amount_get_set.c
+utc_elm_config_scroll_thumbscroll_smooth_start_get_set.c
+utc_elm_config_scroll_thumbscroll_smooth_time_window_get_set.c
+utc_elm_config_slider_indicator_visible_mode_get_set.c
+utc_elm_config_transition_duration_factor_get_set.c
+utc_elm_config_vsync_get_set.c
+utc_elm_config_window_auto_focus_animate_get_set.c
+utc_elm_config_window_auto_focus_enable_get_set.c
+utc_elm_color_class_color_get_set.c
+utc_elm_color_class_color2_get_set.c
+utc_elm_color_class_color3_get_set.c
utc_elm_color_class_del.c
#utc_elm_need_efreet.c
utc_elm_shutdown.c
utc_elm_init.c
-utc_elm_config_scale_set.c
-utc_elm_config_scale_get.c
-utc_elm_policy_set.c
+utc_elm_config_scale_get_set.c
+utc_elm_policy_get_set.c
utc_elm_config_mirrored_set.c
utc_elm_config_mirrored_get.c
-utc_elm_config_password_show_last_get.c
-utc_elm_config_password_show_last_set.c
-utc_elm_config_password_show_last_timeout_get.c
-utc_elm_config_password_show_last_timeout_set.c
+utc_elm_config_password_show_last_get_set.c
+utc_elm_config_password_show_last_timeout_get_set.c
utc_elm_run.c
utc_elm_exit.c
-utc_elm_config_longpress_timeout_get.c
-utc_elm_config_longpress_timeout_set.c
-utc_elm_font_properties_get.c
-utc_elm_font_properties_free.c
+utc_elm_config_longpress_timeout_get_set.c
+utc_elm_font_properties_get_free.c
utc_elm_config_font_overlay_list_get.c
utc_elm_config_font_overlay_set.c
utc_elm_config_font_overlay_unset.c
-utc_elm_font_fontconfig_name_get.c
-utc_elm_font_fontconfig_name_free.c
-utc_elm_config_cache_font_cache_size_get.c
-utc_elm_config_cache_font_cache_size_set.c
-utc_elm_config_text_classes_list_get.c
-utc_elm_config_text_classes_list_free.c
-utc_elm_font_available_hash_add.c
-utc_elm_font_available_hash_del.c
-#utc_elm_config_engine_set.c
-#utc_elm_config_engine_get.c
-utc_elm_config_cursor_engine_only_get.c
-utc_elm_config_cursor_engine_only_set.c
+utc_elm_font_fontconfig_name_get_free.c
+utc_elm_config_cache_font_cache_size_get_set.c
+utc_elm_config_text_classes_list_get_free.c
+utc_elm_font_available_hash_add_del.c
+#utc_elm_config_engine_get_set.c
+utc_elm_config_cursor_engine_only_get_set.c
utc_elm_coords_finger_size_adjust.c
#utc_elm_config_save.c
utc_elm_config_reload.c
utc_elm_cache_all_flush.c
-utc_elm_config_finger_size_set.c
-utc_elm_config_finger_size_get.c
-utc_elm_config_focus_highlight_animate_set.c
-utc_elm_config_focus_highlight_animate_get.c
-utc_elm_config_focus_highlight_enabled_set.c
-utc_elm_config_focus_highlight_enabled_get.c
+utc_elm_config_finger_size_get_set.c
+utc_elm_config_focus_highlight_animate_get_set.c
+utc_elm_config_focus_highlight_enabled_get_set.c
utc_elm_app_compile_bin_dir_set.c
utc_elm_app_compile_data_dir_set.c
utc_elm_app_compile_lib_dir_set.c
utc_elm_app_prefix_dir_get.c
utc_elm_app_bin_dir_get.c
utc_elm_app_compile_locale_set.c
-utc_elm_policy_get.c
-#utc_elm_config_access_get.c
-#utc_elm_config_preferred_engine_set.c
-#utc_elm_config_access_set.c
+#utc_elm_config_access_get_set.c
utc_elm_config_all_flush.c
-utc_elm_config_cache_edje_collection_cache_size_get.c
-utc_elm_config_cache_edje_collection_cache_size_set.c
-utc_elm_config_cache_edje_file_cache_size_get.c
-utc_elm_config_cache_edje_file_cache_size_set.c
-utc_elm_config_color_classes_list_free.c
-utc_elm_config_color_classes_list_get.c
+utc_elm_config_cache_edje_collection_cache_size_get_set.c
+utc_elm_config_cache_edje_file_cache_size_get_set.c
+utc_elm_config_color_classes_list_get_free.c
utc_elm_config_color_overlay_apply.c
utc_elm_config_color_overlay_list_get.c
utc_elm_config_color_overlay_set.c
utc_elm_config_color_overlay_unset.c
utc_elm_config_font_overlay_apply.c
-utc_elm_config_glayer_double_tap_timeout_get.c
-utc_elm_config_glayer_double_tap_timeout_set.c
-utc_elm_config_glayer_long_tap_start_timeout_get.c
-utc_elm_config_glayer_long_tap_start_timeout_set.c
+utc_elm_config_glayer_double_tap_timeout_get_set.c
+utc_elm_config_glayer_long_tap_start_timeout_get_set.c
utc_elm_config_indicator_service_get.c
-#utc_elm_config_preferred_engine_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_set.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set.c
-utc_elm_config_scroll_thumbscroll_friction_standard_get.c
-utc_elm_config_scroll_thumbscroll_friction_standard_set.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_get.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_set.c
-utc_elm_config_scroll_thumbscroll_min_friction_get.c
-utc_elm_config_scroll_thumbscroll_min_friction_set.c
-utc_elm_config_selection_unfocused_clear_get.c
-utc_elm_config_selection_unfocused_clear_set.c
-utc_elm_config_softcursor_mode_get.c
-utc_elm_config_softcursor_mode_set.c
-utc_elm_config_tooltip_delay_get.c
-utc_elm_config_tooltip_delay_set.c
-utc_elm_app_name_set.c
-utc_elm_app_name_get.c
-utc_elm_app_base_scale_set.c
-utc_elm_app_base_scale_get.c
-utc_elm_config_accel_preference_get.c
-utc_elm_config_accel_preference_set.c
-utc_elm_config_accel_preference_override_get.c
-utc_elm_config_accel_preference_override_set.c
-#utc_elm_config_atspi_mode_get.c
-#utc_elm_config_atspi_mode_set.c
-#utc_elm_config_first_item_focus_on_first_focusin_get.c
-#utc_elm_config_first_item_focus_on_first_focusin_set.c
-#utc_elm_config_focus_autoscroll_mode_get.c
-#utc_elm_config_focus_autoscroll_mode_set.c
-#utc_elm_config_focus_highlight_clip_disabled_get.c
-#utc_elm_config_focus_highlight_clip_disabled_set.c
-#utc_elm_config_focus_move_policy_get.c
-#utc_elm_config_focus_move_policy_set.c
+#utc_elm_config_preferred_engine_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_weight_get_set.c
+utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_standard_get_set.c
+utc_elm_config_scroll_thumbscroll_hold_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_min_friction_get_set.c
+utc_elm_config_selection_unfocused_clear_get_set.c
+utc_elm_config_softcursor_mode_get_set.c
+utc_elm_config_tooltip_delay_get_set.c
+utc_elm_app_name_get_set.c
+utc_elm_app_base_scale_get_set.c
+utc_elm_config_accel_preference_get_set.c
+utc_elm_config_accel_preference_override_get_set.c
+#utc_elm_config_atspi_mode_get_set.c
+#utc_elm_config_first_item_focus_on_first_focusin_get_set.c
+#utc_elm_config_focus_autoscroll_mode_get_set.c
+#utc_elm_config_focus_highlight_clip_disabled_get_set.c
+#utc_elm_config_focus_move_policy_get_set.c
#utc_elm_config_font_hint_type_set.c
-#utc_elm_config_item_select_on_focus_disabled_get.c
-#utc_elm_config_item_select_on_focus_disabled_set.c
-#utc_elm_config_scroll_thumbscroll_smooth_amount_get.c
-#utc_elm_config_scroll_thumbscroll_smooth_amount_set.c
-#utc_elm_config_scroll_thumbscroll_smooth_start_get.c
-#utc_elm_config_scroll_thumbscroll_smooth_start_set.c
-#utc_elm_config_scroll_thumbscroll_smooth_time_window_get.c
-#utc_elm_config_scroll_thumbscroll_smooth_time_window_set.c
-#utc_elm_config_slider_indicator_visible_mode_get.c
-#utc_elm_config_slider_indicator_visible_mode_set.c
-#utc_elm_config_transition_duration_factor_get.c
-#utc_elm_config_transition_duration_factor_set.c
-#utc_elm_config_vsync_get.c
-#utc_elm_config_vsync_set.c
+#utc_elm_config_item_select_on_focus_disabled_get_set.c
+#utc_elm_config_scroll_thumbscroll_smooth_amount_get_set.c
+#utc_elm_config_scroll_thumbscroll_smooth_start_get_set.c
+#utc_elm_config_scroll_thumbscroll_smooth_time_window_get_set.c
+#utc_elm_config_slider_indicator_visible_mode_get_set.c
+#utc_elm_config_transition_duration_factor_get_set.c
+#utc_elm_config_vsync_get_set.c
utc_elm_config_language_auto_mirrored.c
-#utc_elm_config_window_auto_focus_animate_get.c
-#utc_elm_config_window_auto_focus_animate_set.c
-#utc_elm_config_window_auto_focus_enable_get.c
-#utc_elm_config_window_auto_focus_enable_set.c
-utc_elm_color_class_color_set.c
-utc_elm_color_class_color_get.c
-utc_elm_color_class_color2_set.c
-utc_elm_color_class_color2_get.c
-utc_elm_color_class_color3_set.c
-utc_elm_color_class_color3_get.c
+#utc_elm_config_window_auto_focus_animate_get_set.c
+#utc_elm_config_window_auto_focus_enable_get_set.c
+utc_elm_color_class_color_get_set.c
+utc_elm_color_class_color2_get_set.c
+utc_elm_color_class_color3_get_set.c
utc_elm_color_class_del.c
#utc_elm_need_efreet.c
utc_elm_shutdown.c
utc_elm_init.c
-utc_elm_config_scale_set.c
-utc_elm_config_scale_get.c
-utc_elm_policy_set.c
+utc_elm_config_scale_get_set.c
+utc_elm_policy_get_set.c
utc_elm_config_mirrored_set.c
utc_elm_config_mirrored_get.c
-utc_elm_config_password_show_last_get.c
-utc_elm_config_password_show_last_set.c
-utc_elm_config_password_show_last_timeout_get.c
-utc_elm_config_password_show_last_timeout_set.c
+utc_elm_config_password_show_last_get_set.c
+utc_elm_config_password_show_last_timeout_get_set.c
utc_elm_run.c
utc_elm_exit.c
-utc_elm_config_longpress_timeout_get.c
-utc_elm_config_longpress_timeout_set.c
-utc_elm_font_properties_get.c
-utc_elm_font_properties_free.c
+utc_elm_config_longpress_timeout_get_set.c
+utc_elm_font_properties_get_free.c
utc_elm_config_font_overlay_list_get.c
utc_elm_config_font_overlay_set.c
utc_elm_config_font_overlay_unset.c
-utc_elm_font_fontconfig_name_get.c
-utc_elm_font_fontconfig_name_free.c
-utc_elm_config_cache_font_cache_size_get.c
-utc_elm_config_cache_font_cache_size_set.c
-utc_elm_config_text_classes_list_get.c
-utc_elm_config_text_classes_list_free.c
-utc_elm_font_available_hash_add.c
-utc_elm_font_available_hash_del.c
-#utc_elm_config_engine_set.c
-#utc_elm_config_engine_get.c
-utc_elm_config_cursor_engine_only_get.c
-utc_elm_config_cursor_engine_only_set.c
+utc_elm_font_fontconfig_name_get_free.c
+utc_elm_config_cache_font_cache_size_get_set.c
+utc_elm_config_text_classes_list_get_free.c
+utc_elm_font_available_hash_add_del.c
+#utc_elm_config_engine_get_set.c
+utc_elm_config_cursor_engine_only_get_set.c
utc_elm_coords_finger_size_adjust.c
#utc_elm_config_save.c
utc_elm_config_reload.c
utc_elm_cache_all_flush.c
-utc_elm_config_finger_size_set.c
-utc_elm_config_finger_size_get.c
-utc_elm_config_focus_highlight_animate_set.c
-utc_elm_config_focus_highlight_animate_get.c
-utc_elm_config_focus_highlight_enabled_set.c
-utc_elm_config_focus_highlight_enabled_get.c
+utc_elm_config_finger_size_get_set.c
+utc_elm_config_focus_highlight_animate_get_set.c
+utc_elm_config_focus_highlight_enabled_get_set.c
utc_elm_app_compile_bin_dir_set.c
utc_elm_app_compile_data_dir_set.c
utc_elm_app_compile_lib_dir_set.c
utc_elm_app_prefix_dir_get.c
utc_elm_app_bin_dir_get.c
utc_elm_app_compile_locale_set.c
-utc_elm_policy_get.c
-#utc_elm_config_access_get.c
-#utc_elm_config_preferred_engine_set.c
-#utc_elm_config_access_set.c
+#utc_elm_config_access_get_set.c
utc_elm_config_all_flush.c
-utc_elm_config_cache_edje_collection_cache_size_get.c
-utc_elm_config_cache_edje_collection_cache_size_set.c
-utc_elm_config_cache_edje_file_cache_size_get.c
-utc_elm_config_cache_edje_file_cache_size_set.c
-utc_elm_config_color_classes_list_free.c
-utc_elm_config_color_classes_list_get.c
+utc_elm_config_cache_edje_collection_cache_size_get_set.c
+utc_elm_config_cache_edje_file_cache_size_get_set.c
+utc_elm_config_color_classes_list_get_free.c
utc_elm_config_color_overlay_apply.c
utc_elm_config_color_overlay_list_get.c
utc_elm_config_color_overlay_set.c
utc_elm_config_color_overlay_unset.c
utc_elm_config_font_overlay_apply.c
-utc_elm_config_glayer_double_tap_timeout_get.c
-utc_elm_config_glayer_double_tap_timeout_set.c
-utc_elm_config_glayer_long_tap_start_timeout_get.c
-utc_elm_config_glayer_long_tap_start_timeout_set.c
+utc_elm_config_glayer_double_tap_timeout_get_set.c
+utc_elm_config_glayer_long_tap_start_timeout_get_set.c
utc_elm_config_indicator_service_get.c
-#utc_elm_config_preferred_engine_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_threshold_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_get.c
-utc_elm_config_scroll_thumbscroll_acceleration_weight_set.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get.c
-utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set.c
-utc_elm_config_scroll_thumbscroll_friction_standard_get.c
-utc_elm_config_scroll_thumbscroll_friction_standard_set.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_get.c
-utc_elm_config_scroll_thumbscroll_hold_threshold_set.c
-utc_elm_config_scroll_thumbscroll_min_friction_get.c
-utc_elm_config_scroll_thumbscroll_min_friction_set.c
-utc_elm_config_selection_unfocused_clear_get.c
-utc_elm_config_selection_unfocused_clear_set.c
-utc_elm_config_softcursor_mode_get.c
-utc_elm_config_softcursor_mode_set.c
-utc_elm_config_tooltip_delay_get.c
-utc_elm_config_tooltip_delay_set.c
-utc_elm_app_name_set.c
-utc_elm_app_name_get.c
-utc_elm_app_base_scale_set.c
-utc_elm_app_base_scale_get.c
-utc_elm_config_accel_preference_get.c
-utc_elm_config_accel_preference_set.c
-utc_elm_config_accel_preference_override_get.c
-utc_elm_config_accel_preference_override_set.c
-#utc_elm_config_atspi_mode_get.c
-#utc_elm_config_atspi_mode_set.c
-#utc_elm_config_first_item_focus_on_first_focusin_get.c
-#utc_elm_config_first_item_focus_on_first_focusin_set.c
-#utc_elm_config_focus_autoscroll_mode_get.c
-#utc_elm_config_focus_autoscroll_mode_set.c
-#utc_elm_config_focus_highlight_clip_disabled_get.c
-#utc_elm_config_focus_highlight_clip_disabled_set.c
-#utc_elm_config_focus_move_policy_get.c
-#utc_elm_config_focus_move_policy_set.c
+#utc_elm_config_preferred_engine_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_set.c
+utc_elm_config_scroll_thumbscroll_acceleration_weight_get_set.c
+utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_set.c
+utc_elm_config_scroll_thumbscroll_friction_standard_get_set.c
+utc_elm_config_scroll_thumbscroll_hold_threshold_get_set.c
+utc_elm_config_scroll_thumbscroll_min_friction_get_set.c
+utc_elm_config_selection_unfocused_clear_get_set.c
+utc_elm_config_softcursor_mode_get_set.c
+utc_elm_config_tooltip_delay_get_set.c
+utc_elm_app_name_get_set.c
+utc_elm_app_base_scale_get_set.c
+utc_elm_config_accel_preference_get_set.c
+utc_elm_config_accel_preference_override_get_set.c
+#utc_elm_config_atspi_mode_get_set.c
+#utc_elm_config_first_item_focus_on_first_focusin_get_set.c
+#utc_elm_config_focus_autoscroll_mode_get_set.c
+#utc_elm_config_focus_highlight_clip_disabled_get_set.c
+#utc_elm_config_focus_move_policy_get_set.c
#utc_elm_config_font_hint_type_set.c
-#utc_elm_config_item_select_on_focus_disabled_get.c
-#utc_elm_config_item_select_on_focus_disabled_set.c
-#utc_elm_config_scroll_thumbscroll_smooth_amount_get.c
-#utc_elm_config_scroll_thumbscroll_smooth_amount_set.c
-#utc_elm_config_scroll_thumbscroll_smooth_start_get.c
-#utc_elm_config_scroll_thumbscroll_smooth_start_set.c
-#utc_elm_config_scroll_thumbscroll_smooth_time_window_get.c
-#utc_elm_config_scroll_thumbscroll_smooth_time_window_set.c
-#utc_elm_config_slider_indicator_visible_mode_get.c
-#utc_elm_config_slider_indicator_visible_mode_set.c
-#utc_elm_config_transition_duration_factor_get.c
-#utc_elm_config_transition_duration_factor_set.c
-#utc_elm_config_vsync_get.c
-#utc_elm_config_vsync_set.c
-#utc_elm_config_window_auto_focus_animate_get.c
-#utc_elm_config_window_auto_focus_animate_set.c
-#utc_elm_config_window_auto_focus_enable_get.c
-#utc_elm_config_window_auto_focus_enable_set.c
+#utc_elm_config_item_select_on_focus_disabled_get_set.c
+#utc_elm_config_scroll_thumbscroll_smooth_amount_get_set.c
+#utc_elm_config_scroll_thumbscroll_smooth_start_get_set.c
+#utc_elm_config_scroll_thumbscroll_smooth_time_window_get_set.c
+#utc_elm_config_slider_indicator_visible_mode_get_set.c
+#utc_elm_config_transition_duration_factor_get_set.c
+#utc_elm_config_vsync_get_set.c
+#utc_elm_config_window_auto_focus_animate_get_set.c
+#utc_elm_config_window_auto_focus_enable_get_set.c
utc_elm_config_language_auto_mirrored.c
-utc_elm_color_class_color_set.c
-utc_elm_color_class_color_get.c
-utc_elm_color_class_color2_set.c
-utc_elm_color_class_color2_get.c
-utc_elm_color_class_color3_set.c
-utc_elm_color_class_color3_get.c
+utc_elm_color_class_color_get_set.c
+utc_elm_color_class_color2_get_set.c
+utc_elm_color_class_color3_get_set.c
utc_elm_color_class_del.c
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <string.h>
-#include <math.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_app_base_scale_get elm_app_base_scale_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_app_base_scale_get
- * @{
- * @objective Positive Test case 01: Retrieve the base scale of the application
- * @n Input data:
- * @li no input data
- *
- * @procedure
- * @step 1 Set the base scale of the application
- * @step 2 Check the retrieved scale value equals to the value was set
- *
- * @passcondition Test passes if the retrieved scale value equals to the
- * value was set and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_app_base_scale_get_p_01)
-{
-
- const double base_scale = 2.13;
- elm_app_base_scale_set(base_scale);
- if (fabs(base_scale - elm_app_base_scale_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_app_base_scale_get
- * @{
- * @objective Nagative Test case 01: Set the invalid value of base scale
- * of the application
- * @n Input data:
- * @li no input data
- *
- * @procedure
- * @step 1 Save the current value of the base scale of the application
- * @step 2 Set invalid value of the base scale of the application
- * @step 3 Check that the calling method elm_app_base_scale_set with invalid
- * scale value did not change scale of the application
- *
- * @passcondition Test passes if calling method elm_app_base_scale_set with invalid
- * scale value did not change scale of the application and there
- * is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_app_base_scale_get_n_01)
-{
-
- const double previous_scale = elm_app_base_scale_get();
- const double invalid_value_of_scale = -2.13;
- elm_app_base_scale_set(invalid_value_of_scale);
- if (fabs(previous_scale - elm_app_base_scale_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_app_base_scale_get()
-{
- TCase *tcase = tcase_create("utc_elm_app_base_scale_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_app_base_scale_get_p_01);
- tcase_add_test(tcase, utc_elm_app_base_scale_get_n_01);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <string.h>
+#include <math.h>
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_app_base_scale_set elm_app_base_scale_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_app_base_scale_set
+ * @{
+ * @objective Positive Test case 01: Set the base scale of the application
+ * @n Input data:
+ * @li base_scale The scale that the application is made on the basis of
+ *
+ * @procedure
+ * @step 1 Set the base scale of the application
+ * @step 2 Check the retrieved scale value equals to the value was set
+ *
+ * @passcondition Test passes if the retrieved scale value equals to the
+ * value was set and there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_app_base_scale_set_p_01)
+{
+
+ const double base_scale = 2.13;
+ elm_app_base_scale_set(base_scale);
+ if (fabs(base_scale - elm_app_base_scale_get()) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_app_base_scale_get
+ * @{
+ * @objective Nagative Test case 01: Set the invalid value of base scale
+ * of the application
+ * @n Input data:
+ * @li no input data
+ *
+ * @procedure
+ * @step 1 Save the current value of the base scale of the application
+ * @step 2 Set invalid value of the base scale of the application
+ * @step 3 Check that the calling method elm_app_base_scale_set with invalid
+ * scale value did not change scale of the application
+ *
+ * @passcondition Test passes if calling method elm_app_base_scale_set with invalid
+ * scale value did not change scale of the application and there
+ * is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_app_base_scale_get_n_01)
+{
+
+ const double previous_scale = elm_app_base_scale_get();
+ const double invalid_value_of_scale = -2.13;
+ elm_app_base_scale_set(invalid_value_of_scale);
+ if (fabs(previous_scale - elm_app_base_scale_get()) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_app_base_scale_set
+ * @{
+ * @objective Negative Test case 01: Set the invalid value of base scale
+ * of the application
+ * @n Input data:
+ * @li base_scale invalid value of scale
+ *
+ * @procedure
+ * @step 1 Save the current value of the base scale of the application
+ * @step 2 Set invalid value of the base scale of the application
+ * @step 3 Check that the calling method elm_app_base_scale_set with invalid
+ * scale value did not change scale of the application
+ *
+ * @passcondition Test passes if calling method elm_app_base_scale_set with invalid
+ * scale value did not change scale of the application and there
+ * is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_app_base_scale_set_n_01)
+{
+
+ const double previous_scale = elm_app_base_scale_get();
+ const double invalid_value_of_scale = -2.13;
+ elm_app_base_scale_set(invalid_value_of_scale);
+ if (fabs(previous_scale - elm_app_base_scale_get()) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_app_base_scale_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_app_base_scale_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_app_base_scale_set_p_01);
+ tcase_add_test(tcase, utc_elm_app_base_scale_get_n_01);
+ tcase_add_test(tcase, utc_elm_app_base_scale_set_n_01);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <string.h>
-#include <math.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_app_base_scale_set elm_app_base_scale_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_app_base_scale_set
- * @{
- * @objective Positive Test case 01: Set the base scale of the application
- * @n Input data:
- * @li base_scale The scale that the application is made on the basis of
- *
- * @procedure
- * @step 1 Set the base scale of the application
- * @step 2 Check the retrieved scale value equals to the value was set
- *
- * @passcondition Test passes if the retrieved scale value equals to the
- * value was set and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_app_base_scale_set_p_01)
-{
-
- const double base_scale = 2.13;
- elm_app_base_scale_set(base_scale);
- if (fabs(base_scale - elm_app_base_scale_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_app_base_scale_set
- * @{
- * @objective Negative Test case 01: Set the invalid value of base scale
- * of the application
- * @n Input data:
- * @li base_scale invalid value of scale
- *
- * @procedure
- * @step 1 Save the current value of the base scale of the application
- * @step 2 Set invalid value of the base scale of the application
- * @step 3 Check that the calling method elm_app_base_scale_set with invalid
- * scale value did not change scale of the application
- *
- * @passcondition Test passes if calling method elm_app_base_scale_set with invalid
- * scale value did not change scale of the application and there
- * is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_app_base_scale_set_n_01)
-{
-
- const double previous_scale = elm_app_base_scale_get();
- const double invalid_value_of_scale = -2.13;
- elm_app_base_scale_set(invalid_value_of_scale);
- if (fabs(previous_scale - elm_app_base_scale_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_app_base_scale_set()
-{
- TCase *tcase = tcase_create("utc_elm_app_base_scale_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_app_base_scale_set_p_01);
- tcase_add_test(tcase, utc_elm_app_base_scale_set_n_01);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <string.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_app_name_get elm_app_name_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_app_name_get
- * @{
- * @objective Positive Test case 01: Retrieve a formal name to be used with
- * the elm application
- * @n Input data:
- * @li no input data
- *
- * @procedure
- * @step 1 Set a formal name to be used with the elm application
- * @step 2 Check whether the retrieved formal name equals to one
- * was set
- *
- * @passcondition Test passes if retrieved name equals to one was set
- * and there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_app_name_get_p_01)
-{
-
- const char* name = "formal name";
- elm_app_name_set(name);
-
- if (strcmp(elm_app_name_get(), name) != 0)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_app_name_get()
-{
- TCase *tcase = tcase_create("utc_elm_app_name_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_app_name_get_p_01);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <string.h>
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_app_name_set elm_app_name_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_app_name_set
+ * @{
+ * @objective Positive Test case 01: Set a formal name to be used with
+ * the elm application
+ * @n Input data:
+ * @li name application name
+ *
+ * @procedure
+ * @step 1 Set a formal name to be used with the elm application
+ * @step 2 Check whether the formal name was set and its value
+ * equals to the value was set
+ *
+ * @passcondition Test passes if name was correctly set and
+ * there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_app_name_set_p_01)
+{
+
+ const char* name = "formal name";
+ elm_app_name_set(name);
+
+ if (strcmp(elm_app_name_get(), name) != 0)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_app_name_set
+ * @{
+ * @objective Negative Test case 01: Set a formal name(passing NULL instead of argument)
+ * to be used with the elm application
+ * @n Input data:
+ * @li name NULL instead of name
+ *
+ * @procedure
+ * @step 1 Call function elm_app_name_set passing NULL instead of a formal name
+ * @step 2 Check whether the retrieved formal name equals an empty string
+ *
+ * @passcondition Test passes if retrieved formal name equals an empty string and
+ * there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_app_name_set_n_01)
+{
+
+ const char* name = NULL;
+ elm_app_name_set(name);
+ if (elm_app_name_get() == NULL || strcmp(elm_app_name_get(), "") != 0)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_app_name_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_app_name_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_app_name_set_p_01);
+ tcase_add_test(tcase, utc_elm_app_name_set_n_01);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <string.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_app_name_set elm_app_name_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_app_name_set
- * @{
- * @objective Positive Test case 01: Set a formal name to be used with
- * the elm application
- * @n Input data:
- * @li name application name
- *
- * @procedure
- * @step 1 Set a formal name to be used with the elm application
- * @step 2 Check whether the formal name was set and its value
- * equals to the value was set
- *
- * @passcondition Test passes if name was correctly set and
- * there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_app_name_set_p_01)
-{
-
- const char* name = "formal name";
- elm_app_name_set(name);
-
- if (strcmp(elm_app_name_get(), name) != 0)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_app_name_set
- * @{
- * @objective Negative Test case 01: Set a formal name(passing NULL instead of argument)
- * to be used with the elm application
- * @n Input data:
- * @li name NULL instead of name
- *
- * @procedure
- * @step 1 Call function elm_app_name_set passing NULL instead of a formal name
- * @step 2 Check whether the retrieved formal name equals an empty string
- *
- * @passcondition Test passes if retrieved formal name equals an empty string and
- * there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_app_name_set_n_01)
-{
-
- const char* name = NULL;
- elm_app_name_set(name);
- if (elm_app_name_get() == NULL || strcmp(elm_app_name_get(), "") != 0)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_app_name_set()
-{
- TCase *tcase = tcase_create("utc_elm_app_name_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_app_name_set_p_01);
- tcase_add_test(tcase, utc_elm_app_name_set_n_01);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_color_class_color2_get elm_color_class_color2_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create a main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_color_class_color2_get
- * @{
- * @objective Positive Test case 01: Call elm_color_class_color2_get() with correct parameters.
- * @n Input Data:
- * @li the class name string;
- * @li pointer on outline red value
- * @li pointer on outline green value
- * @li pointer on outline blue value
- * @li pointer on outline alpha value
- *
- * @procedure
- * @step 1 Color class is set with colors.
- * @step 2 Colors are retrieved from color class
- *
- * @passcondition: Colors are retrieved from color class
- * @}
- */
-
-START_TEST(utc_elm_color_class_color2_get_p_1)
-{
- const char *color_class = "red_color";
- int r, g, b, a;
-
- elm_color_class_color2_set(color_class, 0, 64, 128, 255);
-
- Eina_Bool result = elm_color_class_color2_get(color_class, &r, &g, &b, &a);
- if (!result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot get color class", __FILE__, __LINE__);
- }
-
- if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
- }
-
- elm_color_class_del(color_class);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- * @addtogroup elm_color_class_color2_get
- * @{
- * @objective Negative test case 01: Call function with NULL string as class name.
- * @n Input Data:
- * @li NULL as the class name;
- * @li outline red value
- * @li outline green value
- * @li outline blue value
- * @li outline alpha value
- *
- * @procedure
- * @step 1 Call elm_color_class_color2_get() with NULL.
- *
- * @passcondition: Test passes if EINA_FALSE result is returned.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color2_get_n_1)
-{
- int r, g, b, a;
-
- Eina_Bool result = elm_color_class_color2_get(NULL, &r, &g, &b, &a);
-
- if (result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_color_class_color2_get()
-{
- TCase *tcase = tcase_create("utc_elm_color_class_color2_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_color_class_color2_get_p_1);
- tcase_add_test(tcase, utc_elm_color_class_color2_get_n_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_color_class_color2_set elm_color_class_color2_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create a main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_color_class_color2_set
+ * @{
+ * @objective Positive Test case 01: Call elm_color_class_color2_set() with correct parameters.
+ * @n Input Data:
+ * @li the class name string;
+ * @li outline red value
+ * @li outline green value
+ * @li outline blue value
+ * @li outline alpha value
+ *
+ * @procedure
+ * @step 1 Color class is set with colors.
+ *
+ * @passcondition: Color class is set.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color2_set_p_1)
+{
+ const char *color_class = "red_color";
+ int r, g, b, a;
+
+ Eina_Bool result = elm_color_class_color2_set(color_class, 0, 64, 128, 255);
+ if (!result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot set color class", __FILE__, __LINE__);
+ }
+
+ elm_color_class_color2_get(color_class, &r, &g, &b, &a);
+ if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
+ }
+
+ elm_color_class_del(color_class);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ * @addtogroup elm_color_class_color2_get
+ * @{
+ * @objective Negative test case 01: Call function with NULL string as class name.
+ * @n Input Data:
+ * @li NULL as the class name;
+ * @li outline red value
+ * @li outline green value
+ * @li outline blue value
+ * @li outline alpha value
+ *
+ * @procedure
+ * @step 1 Call elm_color_class_color2_get() with NULL.
+ *
+ * @passcondition: Test passes if EINA_FALSE result is returned.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color2_get_n_1)
+{
+ int r, g, b, a;
+
+ Eina_Bool result = elm_color_class_color2_get(NULL, &r, &g, &b, &a);
+
+ if (result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ * @addtogroup elm_color_class_color2_set
+ * @{
+ * @objective Negative test case 01: Call function with NULL string as class name.
+ * @n Input Data:
+ * @li NULL as the class name;
+ * @li outline red value
+ * @li outline green value
+ * @li outline blue value
+ * @li outline alpha value
+ *
+ * @procedure
+ * @step 1 Call elm_color_class_color2_set() with NULL.
+ *
+ * @passcondition: Test passes if EINA_FALSE result is returned.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color2_set_n_1)
+{
+ Eina_Bool result = elm_color_class_color2_set(NULL, 0, 64, 128, 255);
+
+ if (result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_color_class_color2_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_color_class_color2_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_color_class_color2_set_p_1);
+ tcase_add_test(tcase, utc_elm_color_class_color2_get_n_1);
+ tcase_add_test(tcase, utc_elm_color_class_color2_set_n_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_color_class_color2_set elm_color_class_color2_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create a main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_color_class_color2_set
- * @{
- * @objective Positive Test case 01: Call elm_color_class_color2_set() with correct parameters.
- * @n Input Data:
- * @li the class name string;
- * @li outline red value
- * @li outline green value
- * @li outline blue value
- * @li outline alpha value
- *
- * @procedure
- * @step 1 Color class is set with colors.
- *
- * @passcondition: Color class is set.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color2_set_p_1)
-{
- const char *color_class = "red_color";
- int r, g, b, a;
-
- Eina_Bool result = elm_color_class_color2_set(color_class, 0, 64, 128, 255);
- if (!result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot set color class", __FILE__, __LINE__);
- }
-
- elm_color_class_color2_get(color_class, &r, &g, &b, &a);
- if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
- }
-
- elm_color_class_del(color_class);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- * @addtogroup elm_color_class_color2_set
- * @{
- * @objective Negative test case 01: Call function with NULL string as class name.
- * @n Input Data:
- * @li NULL as the class name;
- * @li outline red value
- * @li outline green value
- * @li outline blue value
- * @li outline alpha value
- *
- * @procedure
- * @step 1 Call elm_color_class_color2_set() with NULL.
- *
- * @passcondition: Test passes if EINA_FALSE result is returned.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color2_set_n_1)
-{
- Eina_Bool result = elm_color_class_color2_set(NULL, 0, 64, 128, 255);
-
- if (result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_color_class_color2_set()
-{
- TCase *tcase = tcase_create("utc_elm_color_class_color2_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_color_class_color2_set_p_1);
- tcase_add_test(tcase, utc_elm_color_class_color2_set_n_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_color_class_color3_get elm_color_class_color3_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create a main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_color_class_color3_get
- * @{
- * @objective Positive Test case 01: Call elm_color_class_color3_get() with correct parameters.
- * @n Input Data:
- * @li the class name string;
- * @li pointer on shadow red value
- * @li pointer on shadow green value
- * @li pointer on shadow blue value
- * @li pointer on shadow alpha value
- *
- * @procedure
- * @step 1 Color class is set with colors.
- * @step 2 Colors are retrieved from color class
- *
- * @passcondition: Colors are retrieved from color class
- * @}
- */
-
-START_TEST(utc_elm_color_class_color3_get_p_1)
-{
- const char *color_class = "red_color";
- int r, g, b, a;
-
- elm_color_class_color3_set(color_class, 0, 64, 128, 255);
-
- Eina_Bool result = elm_color_class_color3_get(color_class, &r, &g, &b, &a);
- if (!result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot get color class", __FILE__, __LINE__);
- }
-
- if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
- }
-
- elm_color_class_del(color_class);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- * @addtogroup elm_color_class_color3_get
- * @{
- * @objective Negative test case 01: Call function with NULL string as class name.
- * @n Input Data:
- * @li NULL as the class name;
- * @li shadow red value
- * @li shadow green value
- * @li shadow blue value
- * @li shadow alpha value
- *
- * @procedure
- * @step 1 Call elm_color_class_color3_get() with NULL.
- *
- * @passcondition: Test passes if EINA_FALSE result is returned.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color3_get_n_1)
-{
- int r, g, b, a;
-
- Eina_Bool result = elm_color_class_color3_get(NULL, &r, &g, &b, &a);
-
- if (result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_color_class_color3_get()
-{
- TCase *tcase = tcase_create("utc_elm_color_class_color3_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_color_class_color3_get_p_1);
- tcase_add_test(tcase, utc_elm_color_class_color3_get_n_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_color_class_color3_set elm_color_class_color3_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create a main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_color_class_color3_set
+ * @{
+ * @objective Positive Test case 01: Call elm_color_class_color3_set() with correct parameters.
+ * @n Input Data:
+ * @li the class name string;
+ * @li shadow red value
+ * @li shadow green value
+ * @li shadow blue value
+ * @li shadow alpha value
+ *
+ * @procedure
+ * @step 1 Color class is set with colors.
+ *
+ * @passcondition: Color class is set.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color3_set_p_1)
+{
+ const char *color_class = "red_color";
+ int r, g, b, a;
+
+ Eina_Bool result = elm_color_class_color3_set(color_class, 0, 64, 128, 255);
+ if (!result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot set color class", __FILE__, __LINE__);
+ }
+
+ elm_color_class_color3_get(color_class, &r, &g, &b, &a);
+ if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
+ }
+
+ elm_color_class_del(color_class);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ * @addtogroup elm_color_class_color3_get
+ * @{
+ * @objective Negative test case 01: Call function with NULL string as class name.
+ * @n Input Data:
+ * @li NULL as the class name;
+ * @li shadow red value
+ * @li shadow green value
+ * @li shadow blue value
+ * @li shadow alpha value
+ *
+ * @procedure
+ * @step 1 Call elm_color_class_color3_get() with NULL.
+ *
+ * @passcondition: Test passes if EINA_FALSE result is returned.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color3_get_n_1)
+{
+ int r, g, b, a;
+
+ Eina_Bool result = elm_color_class_color3_get(NULL, &r, &g, &b, &a);
+
+ if (result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ * @addtogroup elm_color_class_color3_set
+ * @{
+ * @objective Negative test case 01: Call function with NULL string as class name.
+ * @n Input Data:
+ * @li NULL as the class name;
+ * @li shadow red value
+ * @li shadow green value
+ * @li shadow blue value
+ * @li shadow alpha value
+ *
+ * @procedure
+ * @step 1 Call elm_color_class_color3_set() with NULL.
+ *
+ * @passcondition: Test passes if EINA_FALSE result is returned.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color3_set_n_1)
+{
+ Eina_Bool result = elm_color_class_color3_set(NULL, 0, 64, 128, 255);
+
+ if (result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_color_class_color3_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_color_class_color3_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_color_class_color3_set_p_1);
+ tcase_add_test(tcase, utc_elm_color_class_color3_get_n_1);
+ tcase_add_test(tcase, utc_elm_color_class_color3_set_n_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_color_class_color3_set elm_color_class_color3_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create a main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_color_class_color3_set
- * @{
- * @objective Positive Test case 01: Call elm_color_class_color3_set() with correct parameters.
- * @n Input Data:
- * @li the class name string;
- * @li shadow red value
- * @li shadow green value
- * @li shadow blue value
- * @li shadow alpha value
- *
- * @procedure
- * @step 1 Color class is set with colors.
- *
- * @passcondition: Color class is set.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color3_set_p_1)
-{
- const char *color_class = "red_color";
- int r, g, b, a;
-
- Eina_Bool result = elm_color_class_color3_set(color_class, 0, 64, 128, 255);
- if (!result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot set color class", __FILE__, __LINE__);
- }
-
- elm_color_class_color3_get(color_class, &r, &g, &b, &a);
- if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
- }
-
- elm_color_class_del(color_class);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- * @addtogroup elm_color_class_color3_set
- * @{
- * @objective Negative test case 01: Call function with NULL string as class name.
- * @n Input Data:
- * @li NULL as the class name;
- * @li shadow red value
- * @li shadow green value
- * @li shadow blue value
- * @li shadow alpha value
- *
- * @procedure
- * @step 1 Call elm_color_class_color3_set() with NULL.
- *
- * @passcondition: Test passes if EINA_FALSE result is returned.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color3_set_n_1)
-{
- Eina_Bool result = elm_color_class_color3_set(NULL, 0, 64, 128, 255);
-
- if (result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_color_class_color3_set()
-{
- TCase *tcase = tcase_create("utc_elm_color_class_color3_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_color_class_color3_set_p_1);
- tcase_add_test(tcase, utc_elm_color_class_color3_set_n_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_color_class_color_get elm_color_class_color_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create a main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_color_class_color_get
- * @{
- * @objective Positive Test case 01: Call elm_color_class_color_get() with correct parameters.
- * @n Input Data:
- * @li the class name string;
- * @li pointer on object red value
- * @li pointer on object green value
- * @li pointer on object blue value
- * @li pointer on object alpha value
- *
- * @procedure
- * @step 1 Color class is set with colors.
- * @step 2 Colors are retrieved from color class
- *
- * @passcondition: Colors are retrieved from color class
- * @}
- */
-
-START_TEST(utc_elm_color_class_color_get_p_1)
-{
- const char *color_class = "red_color";
- int r, g, b, a;
-
- elm_color_class_color_set(color_class, 0, 64, 128, 255);
-
- Eina_Bool result = elm_color_class_color_get(color_class, &r, &g, &b, &a);
- if (!result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot get color class", __FILE__, __LINE__);
- }
-
- if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
- }
-
- elm_color_class_del(color_class);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- * @addtogroup elm_color_class_color_get
- * @{
- * @objective Negative test case 01: Call function with NULL string as class name.
- * @n Input Data:
- * @li NULL as the class name;
- * @li object red value
- * @li object green value
- * @li object blue value
- * @li object alpha value
- *
- * @procedure
- * @step 1 Call elm_color_class_color_get() with NULL.
- *
- * @passcondition: Test passes if EINA_FALSE result is returned.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color_get_n_1)
-{
- int r, g, b, a;
-
- Eina_Bool result = elm_color_class_color_get(NULL, &r, &g, &b, &a);
-
- if (result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_color_class_color_get()
-{
- TCase *tcase = tcase_create("utc_elm_color_class_color_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_color_class_color_get_p_1);
- tcase_add_test(tcase, utc_elm_color_class_color_get_n_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_color_class_color_set elm_color_class_color_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create a main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_color_class_color_set
+ * @{
+ * @objective Positive Test case 01: Call elm_color_class_color_set() with correct parameters.
+ * @n Input Data:
+ * @li the class name string;
+ * @li object red value
+ * @li object green value
+ * @li object blue value
+ * @li object alpha value
+ *
+ * @procedure
+ * @step 1 Color class is set with colors.
+ *
+ * @passcondition: Color class is set.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color_set_p_1)
+{
+ const char *color_class = "red_color";
+ int r, g, b, a;
+
+ Eina_Bool result = elm_color_class_color_set(color_class, 0, 64, 128, 255);
+ if (!result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot set color class", __FILE__, __LINE__);
+ }
+
+ elm_color_class_color_get(color_class, &r, &g, &b, &a);
+ if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
+ }
+
+ elm_color_class_del(color_class);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ * @addtogroup elm_color_class_color_get
+ * @{
+ * @objective Negative test case 01: Call function with NULL string as class name.
+ * @n Input Data:
+ * @li NULL as the class name;
+ * @li object red value
+ * @li object green value
+ * @li object blue value
+ * @li object alpha value
+ *
+ * @procedure
+ * @step 1 Call elm_color_class_color_get() with NULL.
+ *
+ * @passcondition: Test passes if EINA_FALSE result is returned.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color_get_n_1)
+{
+ int r, g, b, a;
+
+ Eina_Bool result = elm_color_class_color_get(NULL, &r, &g, &b, &a);
+
+ if (result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ * @addtogroup elm_color_class_color_set
+ * @{
+ * @objective Negative test case 01: Call function with NULL string as class name.
+ * @n Input Data:
+ * @li NULL as the class name;
+ * @li object red value
+ * @li object green value
+ * @li object blue value
+ * @li object alpha value
+ *
+ * @procedure
+ * @step 1 Call elm_color_class_color_set() with NULL.
+ *
+ * @passcondition: Test passes if EINA_FALSE result is returned.
+ * @}
+ */
+
+START_TEST(utc_elm_color_class_color_set_n_1)
+{
+ Eina_Bool result = elm_color_class_color_set(NULL, 0, 64, 128, 255);
+
+ if (result)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
+ return;
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_color_class_color_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_color_class_color_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_color_class_color_set_p_1);
+ tcase_add_test(tcase, utc_elm_color_class_color_get_n_1);
+ tcase_add_test(tcase, utc_elm_color_class_color_set_n_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_color_class_color_set elm_color_class_color_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create a main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window.", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_color_class_color_set
- * @{
- * @objective Positive Test case 01: Call elm_color_class_color_set() with correct parameters.
- * @n Input Data:
- * @li the class name string;
- * @li object red value
- * @li object green value
- * @li object blue value
- * @li object alpha value
- *
- * @procedure
- * @step 1 Color class is set with colors.
- *
- * @passcondition: Color class is set.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color_set_p_1)
-{
- const char *color_class = "red_color";
- int r, g, b, a;
-
- Eina_Bool result = elm_color_class_color_set(color_class, 0, 64, 128, 255);
- if (!result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Cannot set color class", __FILE__, __LINE__);
- }
-
- elm_color_class_color_get(color_class, &r, &g, &b, &a);
- if ((r != 0) || (g != 64) || (b != 128) || (a != 255))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Obtained color differs from initial", __FILE__, __LINE__);
- }
-
- elm_color_class_del(color_class);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- * @addtogroup elm_color_class_color_set
- * @{
- * @objective Negative test case 01: Call function with NULL string as class name.
- * @n Input Data:
- * @li NULL as the class name;
- * @li object red value
- * @li object green value
- * @li object blue value
- * @li object alpha value
- *
- * @procedure
- * @step 1 Call elm_color_class_color_set() with NULL.
- *
- * @passcondition: Test passes if EINA_FALSE result is returned.
- * @}
- */
-
-START_TEST(utc_elm_color_class_color_set_n_1)
-{
- Eina_Bool result = elm_color_class_color_set(NULL, 0, 64, 128, 255);
-
- if (result)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed.", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed.\n", __FILE__, __LINE__);
- return;
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_color_class_color_set()
-{
- TCase *tcase = tcase_create("utc_elm_color_class_color_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_color_class_color_set_p_1);
- tcase_add_test(tcase, utc_elm_color_class_color_set_n_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_accel_preference_set elm_config_accel_preference_set()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_accel_preference_set
+ * @{
+ * @objective Positive test case 01: Set, get and compare accel preference.
+ * @n Input data:
+ * @li "gl" as accel preference
+ *
+ * @procedure
+ * @step 1 Set accel preference.
+ * @step 2 Get accel preference.
+ * @step 3 Compare accel preference was set and was get.
+ *
+ * @passcondition: Get function returns exactly what was set. Function doesn't crash.
+ * @}
+ */
+START_TEST(utc_elm_config_accel_preference_set_p_01)
+{
+ elm_config_accel_preference_set("gl");
+ const char * returned_value = elm_config_accel_preference_get();
+ if (!returned_value)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Can not obtain text class name.", __FILE__, __LINE__);
+ }
+ if (strcmp("gl", returned_value))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ return;
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_accel_preference_set
+ * @{
+ * @objective Positive test case 02: Set, get and compare accel preference.
+ * @n Input data:
+ * @li "3d" as accel preference
+ *
+ * @procedure
+ * @step 1 Set accel preference.
+ * @step 2 Get accel preference.
+ * @step 3 Compare accel preference was set and was get.
+ *
+ * @passcondition: Get function returns exactly what was set. Function doesn't crash.
+ * @}
+ */
+START_TEST(utc_elm_config_accel_preference_set_p_02)
+{
+ elm_config_accel_preference_set("3d");
+ const char * returned_value = elm_config_accel_preference_get();
+ if (!returned_value)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Can not obtain text class name.", __FILE__, __LINE__);
+ }
+ if (strcmp("3d", returned_value))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_accel_preference_set
+ * @{
+ * @objective Positive test case 03: Set, get and compare accel preference.
+ * @n Input data:
+ * @li "hw" as accel preference
+ *
+ * @procedure
+ * @step 1 Set accel preference.
+ * @step 2 Get accel preference.
+ * @step 3 Compare accel preference was set and was get.
+ *
+ * @passcondition: Get function returns exactly what was set. Function doesn't crash.
+ * @}
+ */
+START_TEST(utc_elm_config_accel_preference_set_p_03)
+{
+ elm_config_accel_preference_set("hw");
+ const char * returned_value = elm_config_accel_preference_get();
+ if (!returned_value)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Can not obtain text class name.", __FILE__, __LINE__);
+ }
+ if (strcmp("hw", returned_value))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_accel_preference_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_accel_preference_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_accel_preference_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_accel_preference_set_p_02);
+ tcase_add_test(tcase, utc_elm_config_accel_preference_set_p_03);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_accel_preference_override_get elm_config_accel_preference_override_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_accel_preference_override_get
- * @{
- * @objective Positive test case 01: Set, get and compare accel preference override.
- * @n Input data: function does not take any input
- *
- * @procedure
- * @step 1 Set accel preference override as EINA_FALSE.
- * @step 2 Get accel preference override.
- * @step 3 Compare accel preference override was set and was get.
- *
- * @passcondition: Function returns EINA_FALSE. Function doesn't crash.
- * @}
- */
-START_TEST(utc_elm_config_accel_preference_override_get_p_01)
-{
- elm_config_accel_preference_override_set(EINA_FALSE);
- if (EINA_FALSE != elm_config_accel_preference_override_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_accel_preference_override_get
- * @{
- * @objective Positive test case 02: Set, get and compare accel preference override.
- * @n Input data: function does not take any input
- *
- * @procedure
- * @step 1 Set accel preference override as EINA_TRUE.
- * @step 2 Get accel preference override.
- * @step 3 Compare accel preference override was set and was get.
- *
- * @passcondition: Function returns EINA_TRUE. Function doesn't crash.
- * @}
- */
-START_TEST(utc_elm_config_accel_preference_override_get_p_02)
-{
- elm_config_accel_preference_override_set(EINA_TRUE);
- if (EINA_TRUE != elm_config_accel_preference_override_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_accel_preference_override_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_accel_preference_override_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_accel_preference_override_get_p_01);
- tcase_add_test(tcase, utc_elm_config_accel_preference_override_get_p_02);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_accel_preference_override_set elm_config_accel_preference_override_set()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_accel_preference_override_set
+ * @{
+ * @objective Positive test case 01: Set, get and compare accel preference override.
+ * @n Input data:
+ * @li EINA_FALSE - accel preference override
+ *
+ * @procedure
+ * @step 1 Set accel preference override as EINA_FALSE.
+ * @step 2 Get accel preference override.
+ * @step 3 Compare accel preference override was set and was get.
+ *
+ * @passcondition: Getter returns EINA_FALSE. Function doesn't crash.
+ * @}
+ */
+START_TEST(utc_elm_config_accel_preference_override_set_p_01)
+{
+ elm_config_accel_preference_override_set(EINA_FALSE);
+ if (EINA_FALSE != elm_config_accel_preference_override_get())
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_accel_preference_override_set
+ * @{
+ * @objective Positive test case 02: Set, get and compare accel preference override.
+ * @n Input data:
+ * @li EINA_TRUE - accel preference override
+ *
+ * @procedure
+ * @step 1 Set accel preference override as EINA_TRUE.
+ * @step 2 Get accel preference override.
+ * @step 3 Compare accel preference override was set and was get.
+ *
+ * @passcondition: Getter returns EINA_TRUE. Function doesn't crash.
+ * @}
+ */
+START_TEST(utc_elm_config_accel_preference_override_set_p_02)
+{
+ elm_config_accel_preference_override_set(EINA_TRUE);
+ if (EINA_TRUE!= elm_config_accel_preference_override_get())
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_accel_preference_override_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_accel_preference_override_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_accel_preference_override_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_accel_preference_override_set_p_02);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_accel_preference_override_set elm_config_accel_preference_override_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_accel_preference_override_set
- * @{
- * @objective Positive test case 01: Set, get and compare accel preference override.
- * @n Input data:
- * @li EINA_FALSE - accel preference override
- *
- * @procedure
- * @step 1 Set accel preference override as EINA_FALSE.
- * @step 2 Get accel preference override.
- * @step 3 Compare accel preference override was set and was get.
- *
- * @passcondition: Getter returns EINA_FALSE. Function doesn't crash.
- * @}
- */
-START_TEST(utc_elm_config_accel_preference_override_set_p_01)
-{
- elm_config_accel_preference_override_set(EINA_FALSE);
- if (EINA_FALSE != elm_config_accel_preference_override_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_accel_preference_override_set
- * @{
- * @objective Positive test case 02: Set, get and compare accel preference override.
- * @n Input data:
- * @li EINA_TRUE - accel preference override
- *
- * @procedure
- * @step 1 Set accel preference override as EINA_TRUE.
- * @step 2 Get accel preference override.
- * @step 3 Compare accel preference override was set and was get.
- *
- * @passcondition: Getter returns EINA_TRUE. Function doesn't crash.
- * @}
- */
-START_TEST(utc_elm_config_accel_preference_override_set_p_02)
-{
- elm_config_accel_preference_override_set(EINA_TRUE);
- if (EINA_TRUE!= elm_config_accel_preference_override_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_accel_preference_override_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_accel_preference_override_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_accel_preference_override_set_p_01);
- tcase_add_test(tcase, utc_elm_config_accel_preference_override_set_p_02);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_accel_preference_set elm_config_accel_preference_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_accel_preference_set
- * @{
- * @objective Positive test case 01: Set, get and compare accel preference.
- * @n Input data:
- * @li "gl" as accel preference
- *
- * @procedure
- * @step 1 Set accel preference.
- * @step 2 Get accel preference.
- * @step 3 Compare accel preference was set and was get.
- *
- * @passcondition: Get function returns exactly what was set. Function doesn't crash.
- * @}
- */
-START_TEST(utc_elm_config_accel_preference_set_p_01)
-{
- elm_config_accel_preference_set("gl");
- const char * returned_value = elm_config_accel_preference_get();
- if (!returned_value)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Can not obtain text class name.", __FILE__, __LINE__);
- return;
- }
- if (strcmp("gl", returned_value))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_accel_preference_set
- * @{
- * @objective Positive test case 02: Set, get and compare accel preference.
- * @n Input data:
- * @li "3d" as accel preference
- *
- * @procedure
- * @step 1 Set accel preference.
- * @step 2 Get accel preference.
- * @step 3 Compare accel preference was set and was get.
- *
- * @passcondition: Get function returns exactly what was set. Function doesn't crash.
- * @}
- */
-START_TEST(utc_elm_config_accel_preference_set_p_02)
-{
- elm_config_accel_preference_set("3d");
- const char * returned_value = elm_config_accel_preference_get();
- if (!returned_value)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Can not obtain text class name.", __FILE__, __LINE__);
- return;
- }
- if (strcmp("3d", returned_value))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_accel_preference_set
- * @{
- * @objective Positive test case 03: Set, get and compare accel preference.
- * @n Input data:
- * @li "hw" as accel preference
- *
- * @procedure
- * @step 1 Set accel preference.
- * @step 2 Get accel preference.
- * @step 3 Compare accel preference was set and was get.
- *
- * @passcondition: Get function returns exactly what was set. Function doesn't crash.
- * @}
- */
-START_TEST(utc_elm_config_accel_preference_set_p_03)
-{
- elm_config_accel_preference_set("hw");
- const char * returned_value = elm_config_accel_preference_get();
- if (!returned_value)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Can not obtain text class name.", __FILE__, __LINE__);
- return;
- }
- if (strcmp("hw", returned_value))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- * @}
- */
-
-TCase * _utc_elm_config_accel_preference_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_accel_preference_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_accel_preference_set_p_01);
- tcase_add_test(tcase, utc_elm_config_accel_preference_set_p_02);
- tcase_add_test(tcase, utc_elm_config_accel_preference_set_p_03);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_access_get elm_config_access_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config
- * @{
- * @objective Positive Test case 01: Checks if get values equals to set values.
- * @input data:
- * @li void
- *
- * @procedure
- * @step 1 Set/get access EINA_TRUE.
- * @step 2 Set/get access EINA_FALSE.
- *
- * @passcondition Test passes if getted values equals to setted and there is segfault.
- * @}
- */
-START_TEST(utc_elm_config_access_get_p_1)
-{
-
- elm_config_access_set(EINA_TRUE);
- if (elm_config_access_get() != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- elm_config_access_set(EINA_FALSE);
- if (elm_config_access_get() != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_access_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_access_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_access_get_p_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_access_get elm_config_access_get()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config
+ * @{
+ * @objective Positive Test case 01: Checks if get values equals to set values.
+ * @input data:
+ * @li void
+ *
+ * @procedure
+ * @step 1 Set/get access EINA_TRUE.
+ * @step 2 Set/get access EINA_FALSE.
+ *
+ * @passcondition Test passes if getted values equals to setted and there is segfault.
+ * @}
+ */
+START_TEST(utc_elm_config_access_get_p_1)
+{
+
+ elm_config_access_set(EINA_TRUE);
+ if (elm_config_access_get() != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_access_set(EINA_FALSE);
+ if (elm_config_access_get() != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_access_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_access_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_access_get_p_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_access_set elm_config_access_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_access_set
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @ li Access by Eina_Bool object
- *
- * @procedure
- * @step 1 Call tested function with EINA_TRUE argument
- * @step 2 Check return value of elm_config_access_get
- *
- * @passcondition: Function do not make exception and access equal to EINA_TRUE
- * @}
- */
-START_TEST(utc_elm_config_access_set_p_1)
-{
- elm_config_access_set(EINA_TRUE);
- if (EINA_TRUE != elm_config_access_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_access_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_access_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_access_set_p_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_atspi_mode_get elm_config_atspi_mode_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_atspi_mode_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets atspi mode
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set atspi mode in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set atspi mode in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_atspi_mode_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_atspi_mode_set(EINA_TRUE);
- ret = elm_config_atspi_mode_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_atspi_mode_set(EINA_FALSE);
- ret = elm_config_atspi_mode_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_atspi_mode_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_atspi_mode_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_atspi_mode_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_atspi_mode_set elm_config_atspi_mode_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_atspi_mode_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets atspi mode
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as atspi mode
+ *
+ * @procedure
+ * @step 1 Set atspi mode in EINA_TRUE.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set atspi mode in EINA_FALSE.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_atspi_mode_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_atspi_mode_set(EINA_TRUE);
+ ret = elm_config_atspi_mode_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_atspi_mode_set(EINA_FALSE);
+ ret = elm_config_atspi_mode_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_atspi_mode_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_atspi_mode_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_atspi_mode_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_atspi_mode_set elm_config_atspi_mode_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_atspi_mode_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets atspi mode
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as atspi mode
- *
- * @procedure
- * @step 1 Set atspi mode in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set atspi mode in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_atspi_mode_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_atspi_mode_set(EINA_TRUE);
- ret = elm_config_atspi_mode_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_atspi_mode_set(EINA_FALSE);
- ret = elm_config_atspi_mode_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_atspi_mode_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_atspi_mode_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_atspi_mode_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cache_edje_collection_cache_size_get elm_config_cache_edje_collection_cache_size_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_cache_edje_collection_cache_size_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @li void - function do not take any input
- *
- * @procedure
- * @step 1 Call tested function
- *
- * @passcondition: Function do not make exception and return default value 64
- * @}
- */
-START_TEST(utc_elm_config_cache_edje_collection_cache_size_get_p_1)
-{
- if (64 != elm_config_cache_edje_collection_cache_size_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_cache_edje_collection_cache_size_get
- * @{
- * @objective Positive test case 02: Checks if function proper work
- * @n Input data:
- * @li void - function do not take any input
- *
- * @procedure
- * @step 1 Set value by callingelm_config_cache_edje_collection_cache_size_set
- * @step 2 Call tested function and check return value that we set below
- *
- * @passcondition: Function do not make exception and return value 128
- * @}
- */
-START_TEST(utc_elm_config_cache_edje_collection_cache_size_get_p_2)
-{
- elm_config_cache_edje_collection_cache_size_set(128);
- if (128 != elm_config_cache_edje_collection_cache_size_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- *@}
- */
-
-TCase * _utc_elm_config_cache_edje_collection_cache_size_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_cache_edje_collection_cache_size_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cache_edje_collection_cache_size_get_p_1);
- tcase_add_test(tcase, utc_elm_config_cache_edje_collection_cache_size_get_p_2);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_cache_edje_collection_cache_size_get elm_config_cache_edje_collection_cache_size_get()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_cache_edje_collection_cache_size_get
+ * @{
+ * @objective Positive test case 01: Checks if function proper work
+ * @n Input data:
+ * @li void - function do not take any input
+ *
+ * @procedure
+ * @step 1 Call tested function
+ *
+ * @passcondition: Function do not make exception and return default value 64
+ * @}
+ */
+START_TEST(utc_elm_config_cache_edje_collection_cache_size_get_p_1)
+{
+ if (64 != elm_config_cache_edje_collection_cache_size_get())
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_cache_edje_collection_cache_size_get
+ * @{
+ * @objective Positive test case 02: Checks if function proper work
+ * @n Input data:
+ * @li void - function do not take any input
+ *
+ * @procedure
+ * @step 1 Set value by callingelm_config_cache_edje_collection_cache_size_set
+ * @step 2 Call tested function and check return value that we set below
+ *
+ * @passcondition: Function do not make exception and return value 128
+ * @}
+ */
+START_TEST(utc_elm_config_cache_edje_collection_cache_size_get_p_2)
+{
+ elm_config_cache_edje_collection_cache_size_set(128);
+ if (128 != elm_config_cache_edje_collection_cache_size_get())
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_cache_edje_collection_cache_size_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_cache_edje_collection_cache_size_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_cache_edje_collection_cache_size_get_p_1);
+ tcase_add_test(tcase, utc_elm_config_cache_edje_collection_cache_size_get_p_2);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cache_edje_collection_cache_size_set elm_config_cache_edje_collection_cache_size_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_cache_edje_collection_cache_size_set
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @ li Cache size
- *
- * @procedure
- * @step 1 Call tested function
- * @step 2 Check the return value of elm_config_cache_edje_collection_cache_size_get function
- *
- * @passcondition: Function do not make exception and value setted to 128
- * @}
- */
-START_TEST(utc_elm_config_cache_edje_collection_cache_size_set_p_1)
-{
- elm_config_cache_edje_collection_cache_size_set(128);
- if (128 != elm_config_cache_edje_collection_cache_size_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_cache_edje_collection_cache_size_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_cache_edje_collection_cache_size_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cache_edje_collection_cache_size_set_p_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cache_edje_file_cache_size_get elm_config_cache_edje_file_cache_size_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_cache_edje_file_cache_size_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @ li void- function do not take any input
- *
- * @procedure
- * @step 1 Call tested function
- *
- * @passcondition: Function do not make exception and return default value 32
- * @}
- */
-START_TEST(utc_elm_config_cache_edje_file_cache_size_get_p_1)
-{
- if (32 != elm_config_cache_edje_file_cache_size_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_cache_edje_file_cache_size_get
- * @{
- * @objective Positive test case 02: Checks if function proper work
- * @n Input data:
- * @ li void- function do not take any input
- *
- * @procedure
- * @step 1 Set the edje file cache size by calling elm_config_cache_edje_file_cache_size_set
- * @step 2 Calling tested function and check that return value equal to set before
- *
- * @passcondition: Function do not make exception and return value 128
- * @}
- */
-START_TEST(utc_elm_config_cache_edje_file_cache_size_get_p_2)
-{
- elm_config_cache_edje_file_cache_size_set(128);
- if (128 != elm_config_cache_edje_file_cache_size_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_cache_edje_file_cache_size_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_cache_edje_file_cache_size_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cache_edje_file_cache_size_get_p_1);
- tcase_add_test(tcase, utc_elm_config_cache_edje_file_cache_size_get_p_2);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_cache_edje_file_cache_size_get elm_config_cache_edje_file_cache_size_get()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_cache_edje_file_cache_size_get
+ * @{
+ * @objective Positive test case 01: Checks if function proper work
+ * @n Input data:
+ * @ li void- function do not take any input
+ *
+ * @procedure
+ * @step 1 Call tested function
+ *
+ * @passcondition: Function do not make exception and return default value 32
+ * @}
+ */
+START_TEST(utc_elm_config_cache_edje_file_cache_size_get_p_1)
+{
+ if (32 != elm_config_cache_edje_file_cache_size_get())
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_cache_edje_file_cache_size_get
+ * @{
+ * @objective Positive test case 02: Checks if function proper work
+ * @n Input data:
+ * @ li void- function do not take any input
+ *
+ * @procedure
+ * @step 1 Set the edje file cache size by calling elm_config_cache_edje_file_cache_size_set
+ * @step 2 Calling tested function and check that return value equal to set before
+ *
+ * @passcondition: Function do not make exception and return value 128
+ * @}
+ */
+START_TEST(utc_elm_config_cache_edje_file_cache_size_get_p_2)
+{
+ elm_config_cache_edje_file_cache_size_set(128);
+ if (128 != elm_config_cache_edje_file_cache_size_get())
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_cache_edje_file_cache_size_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_cache_edje_file_cache_size_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_cache_edje_file_cache_size_get_p_1);
+ tcase_add_test(tcase, utc_elm_config_cache_edje_file_cache_size_get_p_2);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cache_edje_file_cache_size_set elm_config_cache_edje_file_cache_size_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_cache_edje_file_cache_size_set
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @ li Edje file cache size
- *
- * @procedure
- * @step 1 Call tested function
- * @step 2 Check the return value of elm_config_cache_edje_file_cache_size_get function
- *
- * @passcondition: Function do not make exception and value setted to 128
- * @}
- */
-START_TEST(utc_elm_config_cache_edje_file_cache_size_set_p_1)
-{
- elm_config_cache_edje_file_cache_size_set(128);
- if (128 != elm_config_cache_edje_file_cache_size_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_cache_edje_file_cache_size_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_cache_edje_file_cache_size_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cache_edje_file_cache_size_set_p_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#define FONT_CACHE_SIZE 10
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cache_font_cache_size_get elm_config_cache_font_cache_size_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_cache_font_cache_size_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves current font cache-size.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Set font cache-size.
- * @step 2 Call tested function for retrieving font cache-size.
- * @step 3 Compare retrieved value with target value.
- *
- * @passcondition
- * Tested function must return value which compares to FONT_CACHE_SIZE, and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_cache_font_cache_size_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- int cache_size = -10;
-
- elm_config_cache_font_cache_size_set(FONT_CACHE_SIZE);
- cache_size = elm_config_cache_font_cache_size_get();
-
- if (cache_size != FONT_CACHE_SIZE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- * @}
- */
-
-TCase * _utc_elm_config_cache_font_cache_size_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_cache_font_cache_size_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cache_font_cache_size_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+#define FONT_CACHE_SIZE 10
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_cache_font_cache_size_set elm_config_cache_font_cache_size_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_cache_font_cache_size_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets new font cache-size.
+ * @n Input Data: FONT_CACHE_SIZE that equals to 10.
+ *
+ * @procedure
+ * @step 1 Call tested function for setting the target font cache-size.
+ * @step 2 Retrieve font cache-size.
+ * @step 3 Compare retrieved value with target value.
+ *
+ * @passcondition
+ * Retrieved value must be equal to value which was be set by tested function. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_cache_font_cache_size_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ int cache_size = -10;
+
+ elm_config_cache_font_cache_size_set(FONT_CACHE_SIZE);
+ cache_size = elm_config_cache_font_cache_size_get();
+
+ if (cache_size != FONT_CACHE_SIZE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_cache_font_cache_size_set
+ * @{
+ * @objective: Negative test case checks situation if the argument of tested function is incorrect.
+ * @n Input Data: -100.
+ *
+ * @procedure
+ * @step 1 Call tested function with -100 as argument.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_cache_font_cache_size_set_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ elm_config_cache_font_cache_size_set(-100);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_cache_font_cache_size_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_cache_font_cache_size_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_cache_font_cache_size_set_p);
+ tcase_add_test(tcase, utc_elm_config_cache_font_cache_size_set_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#define FONT_CACHE_SIZE 10
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cache_font_cache_size_set elm_config_cache_font_cache_size_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_cache_font_cache_size_set
- * @{
- * @objective: Positive test case checks that the tested function sets new font cache-size.
- * @n Input Data: FONT_CACHE_SIZE that equals to 10.
- *
- * @procedure
- * @step 1 Call tested function for setting the target font cache-size.
- * @step 2 Retrieve font cache-size.
- * @step 3 Compare retrieved value with target value.
- *
- * @passcondition
- * Retrieved value must be equal to value which was be set by tested function. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_cache_font_cache_size_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- int cache_size = -10;
-
- elm_config_cache_font_cache_size_set(FONT_CACHE_SIZE);
- cache_size = elm_config_cache_font_cache_size_get();
-
- if (cache_size != FONT_CACHE_SIZE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_cache_font_cache_size_set
- * @{
- * @objective: Negative test case checks situation if the argument of tested function is incorrect.
- * @n Input Data: -100.
- *
- * @procedure
- * @step 1 Call tested function with -100 as argument.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_cache_font_cache_size_set_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- elm_config_cache_font_cache_size_set(-100);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_cache_font_cache_size_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_cache_font_cache_size_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cache_font_cache_size_set_p);
- tcase_add_test(tcase, utc_elm_config_cache_font_cache_size_set_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_color_classes_list_free elm_config_color_classes_list_free()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_color_classes_list_free
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @ li Eina list object
- *
- * @procedure
- * @step 1 Get Eina_List object
- * @step 2 Call tested function with passed Eina_List as parameter
- *
- * @passcondition: Function do not make exception
- * @}
- */
-START_TEST(utc_elm_config_color_classes_list_free_p_1)
-{
- Eina_List* list = elm_config_color_classes_list_get();
- if (NULL != list)
- {
- //TODO need a way to fill color classes list, because seems like always returned NULL
- elm_config_color_classes_list_free(list);
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_color_classes_list_free
- * @{
- * @objective Negative test case 01: Checks if function call with NULL
- * works properly and without segmentation fault
- * @n Input data:
- * @ li NULL instead of Eina list object
- *
- * @procedure
- * @step 1 Call tested function with NULL argument
- *
- * @passcondition: Function do not make exception
- * @}
- */
-START_TEST(utc_elm_config_color_classes_list_free_n_1)
-{
- elm_config_color_classes_list_free(NULL);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_color_classes_list_free()
-{
- TCase *tcase = tcase_create("utc_elm_config_color_classes_list_free");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_color_classes_list_free_p_1);
- tcase_add_test(tcase, utc_elm_config_color_classes_list_free_n_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_color_classes_list_get elm_config_color_classes_list_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_color_classes_list_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @ li void - function do not take any input
- *
- * @procedure
- * @step 1 Call tested function
- *
- * @passcondition: Function do not make exception and return not NULL
- * @}
- */
-START_TEST(utc_elm_config_color_classes_list_get_p_1)
-{
- elm_config_color_classes_list_get();
- //TODO need a way to check returned list, because seems like always returned NULL
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_color_classes_list_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_color_classes_list_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_color_classes_list_get_p_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_color_classes_list_free elm_config_color_classes_list_free()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_color_classes_list_free
+ * @{
+ * @objective Positive test case 01: Checks if function proper work with valid input
+ * @n Input data:
+ * @ li Eina list object
+ *
+ * @procedure
+ * @step 1 Get Eina_List object
+ * @step 2 Call tested function with passed Eina_List as parameter
+ *
+ * @passcondition: Function do not make exception
+ * @}
+ */
+START_TEST(utc_elm_config_color_classes_list_free_p_1)
+{
+ Eina_List* list = elm_config_color_classes_list_get();
+ if (NULL != list)
+ {
+ //TODO need a way to fill color classes list, because seems like always returned NULL
+ elm_config_color_classes_list_free(list);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_color_classes_list_free
+ * @{
+ * @objective Negative test case 01: Checks if function call with NULL
+ * works properly and without segmentation fault
+ * @n Input data:
+ * @ li NULL instead of Eina list object
+ *
+ * @procedure
+ * @step 1 Call tested function with NULL argument
+ *
+ * @passcondition: Function do not make exception
+ * @}
+ */
+START_TEST(utc_elm_config_color_classes_list_free_n_1)
+{
+ elm_config_color_classes_list_free(NULL);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_color_classes_list_get_free()
+{
+ TCase *tcase = tcase_create("utc_elm_config_color_classes_list_get_free");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_color_classes_list_free_p_1);
+ tcase_add_test(tcase, utc_elm_config_color_classes_list_free_n_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cursor_engine_only_get elm_config_cursor_engine_only_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_cursor_engine_only_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves current cursor-engine mode.
- * @n Input Data: None.
- *
- * @procedure
- * @step 1 Turn on the cursor-engine mode.
- * @step 2 Call tested function for retrieving cursor-engine mode.
- * @step 3 Turn off the cursor-engine mode.
- * @step 4 Call tested function for retrieving cursor-engine mode.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_cursor_engine_only_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_cursor_engine_only_set(EINA_TRUE);
- if (elm_config_cursor_engine_only_get() == EINA_TRUE)
- {
- elm_config_cursor_engine_only_set(EINA_FALSE);
- if (elm_config_cursor_engine_only_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_cursor_engine_only_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_cursor_engine_only_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cursor_engine_only_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_cursor_engine_only_set elm_config_cursor_engine_only_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_cursor_engine_only_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets new cursor-engine mode.
+ * @n Input Data: EINA_TRUE or EINA_FALSE.
+ *
+ * @procedure
+ * @step 1 Call tested function for turning on the cursor-engine mode.
+ * @step 2 Retrieve cursor-engine mode.
+ * @step 3 Call tested function for turning off the cursor-engine mode.
+ * @step 4 Retrieve cursor-engine mode.
+ *
+ * @passcondition
+ * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_cursor_engine_only_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ok = EINA_FALSE;
+
+ elm_config_cursor_engine_only_set(EINA_TRUE);
+ if (elm_config_cursor_engine_only_get() == EINA_TRUE)
+ {
+ elm_config_cursor_engine_only_set(EINA_FALSE);
+ if (elm_config_cursor_engine_only_get() == EINA_FALSE)
+ {
+ ok = EINA_TRUE;
+ }
+ }
+
+ if (ok != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_cursor_engine_only_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_cursor_engine_only_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_cursor_engine_only_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_cursor_engine_only_set elm_config_cursor_engine_only_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_cursor_engine_only_set
- * @{
- * @objective: Positive test case checks that the tested function sets new cursor-engine mode.
- * @n Input Data: EINA_TRUE or EINA_FALSE.
- *
- * @procedure
- * @step 1 Call tested function for turning on the cursor-engine mode.
- * @step 2 Retrieve cursor-engine mode.
- * @step 3 Call tested function for turning off the cursor-engine mode.
- * @step 4 Retrieve cursor-engine mode.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_cursor_engine_only_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_cursor_engine_only_set(EINA_TRUE);
- if (elm_config_cursor_engine_only_get() == EINA_TRUE)
- {
- elm_config_cursor_engine_only_set(EINA_FALSE);
- if (elm_config_cursor_engine_only_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_cursor_engine_only_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_cursor_engine_only_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_cursor_engine_only_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#define ENGINE_NAME "fb"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_engine_get elm_config_engine_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_engine_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves the rendering engine name.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Set the rendering engine name.
- * @step 2 Call tested function for retrieving the rendering engine name.
- * @step 3 Check the returned value.
- *
- * @passcondition
- * Tested function must return string with engine name which is equal to target engine name. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_engine_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- const char *engine_name = NULL;
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_engine_set(ENGINE_NAME);
- engine_name = elm_config_engine_get();
- if (engine_name != NULL)
- {
- if (strcmp(engine_name, ENGINE_NAME) == 0)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok == EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_engine_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_engine_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_engine_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+#include "../../utc_negative_unitest.h"
+
+#define ENGINE_NAME "fb"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_engine_set elm_config_engine_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_engine_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets the rendering engine name.
+ * @n Input Data: string with engine name "fb".
+ *
+ * @procedure
+ * @step 1 Call tested function for setting the rendering engine name.
+ * @step 2 Retrieve the rendering engine name.
+ * @step 3 Check the returned value.
+ *
+ * @passcondition
+ * Retrieved engine name must be equal to target engine name which was set by tested function. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_engine_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ const char *engine_name = NULL;
+ Eina_Bool ok = EINA_FALSE;
+
+ elm_config_engine_set(ENGINE_NAME);
+ engine_name = elm_config_engine_get();
+ if (engine_name != NULL)
+ {
+ if (strcmp(engine_name, ENGINE_NAME) == 0)
+ {
+ ok = EINA_TRUE;
+ }
+ }
+
+ if (ok == EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_engine_set
+ * @{
+ * @objective: Negative test case checks situation if the argument of tested function is NULL.
+ * @n Input Data: NULL instead of the engine name.
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the path string.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_engine_set_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ UNITEST_FUNC_NEG(elm_config_engine_set, ENGINE_NAME);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_engine_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_engine_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_engine_set_p);
+ tcase_add_test(tcase, utc_elm_config_engine_set_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-#define ENGINE_NAME "fb"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_engine_set elm_config_engine_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_engine_set
- * @{
- * @objective: Positive test case checks that the tested function sets the rendering engine name.
- * @n Input Data: string with engine name "fb".
- *
- * @procedure
- * @step 1 Call tested function for setting the rendering engine name.
- * @step 2 Retrieve the rendering engine name.
- * @step 3 Check the returned value.
- *
- * @passcondition
- * Retrieved engine name must be equal to target engine name which was set by tested function. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_engine_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- const char *engine_name = NULL;
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_engine_set(ENGINE_NAME);
- engine_name = elm_config_engine_get();
- if (engine_name != NULL)
- {
- if (strcmp(engine_name, ENGINE_NAME) == 0)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok == EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_engine_set
- * @{
- * @objective: Negative test case checks situation if the argument of tested function is NULL.
- * @n Input Data: NULL instead of the engine name.
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the path string.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_engine_set_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- UNITEST_FUNC_NEG(elm_config_engine_set, ENGINE_NAME);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_engine_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_engine_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_engine_set_p);
- tcase_add_test(tcase, utc_elm_config_engine_set_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#define FINGER_SIZE 10
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_finger_size_get elm_config_finger_size_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_finger_size_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves current finger size.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Set finger size.
- * @step 2 Call tested function for retrieving finger size.
- * @step 3 Compare retrieved value with target value.
- *
- * @passcondition
- * Tested function must return value which compares to FINGER_SIZE, and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_finger_size_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- int finger_size = -10;
-
- elm_config_finger_size_set(FINGER_SIZE);
- finger_size = elm_config_finger_size_get();
-
- if (finger_size != FINGER_SIZE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- * @}
- */
-
-TCase * _utc_elm_config_finger_size_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_finger_size_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_finger_size_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+#define FINGER_SIZE 10
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_finger_size_set elm_config_finger_size_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_finger_size_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets new finger size.
+ * @n Input Data: FINGER_SIZE that equals to 10.
+ *
+ * @procedure
+ * @step 1 Call tested function for setting the target finger size.
+ * @step 2 Retrieve finger size.
+ * @step 3 Compare retrieved value with target value.
+ *
+ * @passcondition
+ * Retrieved value must be equal to value which was be set by tested function. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_finger_size_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ int cache_size = -10;
+
+ elm_config_finger_size_set(FINGER_SIZE);
+ cache_size = elm_config_finger_size_get();
+
+ if (cache_size != FINGER_SIZE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_finger_size_set
+ * @{
+ * @objective: Negative test case checks situation if the argument of tested function is incorrect.
+ * @n Input Data: -100.
+ *
+ * @procedure
+ * @step 1 Call tested function with -100 as argument.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_finger_size_set_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ elm_config_finger_size_set(-100);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_finger_size_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_finger_size_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_finger_size_set_p);
+ tcase_add_test(tcase, utc_elm_config_finger_size_set_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#define FINGER_SIZE 10
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_finger_size_set elm_config_finger_size_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_finger_size_set
- * @{
- * @objective: Positive test case checks that the tested function sets new finger size.
- * @n Input Data: FINGER_SIZE that equals to 10.
- *
- * @procedure
- * @step 1 Call tested function for setting the target finger size.
- * @step 2 Retrieve finger size.
- * @step 3 Compare retrieved value with target value.
- *
- * @passcondition
- * Retrieved value must be equal to value which was be set by tested function. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_finger_size_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- int cache_size = -10;
-
- elm_config_finger_size_set(FINGER_SIZE);
- cache_size = elm_config_finger_size_get();
-
- if (cache_size != FINGER_SIZE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_finger_size_set
- * @{
- * @objective: Negative test case checks situation if the argument of tested function is incorrect.
- * @n Input Data: -100.
- *
- * @procedure
- * @step 1 Call tested function with -100 as argument.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_finger_size_set_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- elm_config_finger_size_set(-100);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_finger_size_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_finger_size_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_finger_size_set_p);
- tcase_add_test(tcase, utc_elm_config_finger_size_set_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_first_item_focus_on_first_focusin_get elm_config_first_item_focus_on_first_focusin_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_first_item_focus_on_first_focusin_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets focus mode
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set focus mode in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set focus mode in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_first_item_focus_on_first_focusin_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_first_item_focus_on_first_focusin_set(EINA_TRUE);
- ret = elm_config_first_item_focus_on_first_focusin_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_first_item_focus_on_first_focusin_set(EINA_FALSE);
- ret = elm_config_first_item_focus_on_first_focusin_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_first_item_focus_on_first_focusin_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_first_item_focus_on_first_focusin_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_first_item_focus_on_first_focusin_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_first_item_focus_on_first_focusin_set elm_config_first_item_focus_on_first_focusin_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_first_item_focus_on_first_focusin_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets focus mode
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as atspi mode
+ *
+ * @procedure
+ * @step 1 Set focus mode in EINA_TRUE.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set focus mode in EINA_FALSE.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_first_item_focus_on_first_focusin_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_first_item_focus_on_first_focusin_set(EINA_TRUE);
+ ret = elm_config_first_item_focus_on_first_focusin_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_first_item_focus_on_first_focusin_set(EINA_FALSE);
+ ret = elm_config_first_item_focus_on_first_focusin_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_first_item_focus_on_first_focusin_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_first_item_focus_on_first_focusin_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_first_item_focus_on_first_focusin_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_first_item_focus_on_first_focusin_set elm_config_first_item_focus_on_first_focusin_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_first_item_focus_on_first_focusin_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets focus mode
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as atspi mode
- *
- * @procedure
- * @step 1 Set focus mode in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set focus mode in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_first_item_focus_on_first_focusin_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_first_item_focus_on_first_focusin_set(EINA_TRUE);
- ret = elm_config_first_item_focus_on_first_focusin_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_first_item_focus_on_first_focusin_set(EINA_FALSE);
- ret = elm_config_first_item_focus_on_first_focusin_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_first_item_focus_on_first_focusin_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_first_item_focus_on_first_focusin_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_first_item_focus_on_first_focusin_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_autoscroll_mode_get elm_config_focus_autoscroll_mode_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_autoscroll_mode_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets focus autoscroll mode
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_SHOW.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_NONE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- * @step 7 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN.
- * @step 8 Retrieve mode.
- * @step 9 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_autoscroll_mode_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Elm_Focus_Autoscroll_Mode ret = ELM_FOCUS_AUTOSCROLL_MODE_NONE;
-
- elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_SHOW);
- ret = elm_config_focus_autoscroll_mode_get();
-
- if (ret != ELM_FOCUS_AUTOSCROLL_MODE_SHOW)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_NONE);
- ret = elm_config_focus_autoscroll_mode_get();
-
- if (ret != ELM_FOCUS_AUTOSCROLL_MODE_NONE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN);
- ret = elm_config_focus_autoscroll_mode_get();
-
- if (ret != ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_autoscroll_mode_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_autoscroll_mode_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_autoscroll_mode_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_focus_autoscroll_mode_set elm_config_focus_autoscroll_mode_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_focus_autoscroll_mode_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets focus autoscroll mode
+ * @n Input Data:
+ * @li Elm_Focus_Autoscroll_Mode modes
+ *
+ * @procedure
+ * @step 1 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_SHOW.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_NONE.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ * @step 7 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN.
+ * @step 8 Retrieve mode.
+ * @step 9 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_focus_autoscroll_mode_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Elm_Focus_Autoscroll_Mode ret = ELM_FOCUS_AUTOSCROLL_MODE_NONE;
+
+ elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_SHOW);
+ ret = elm_config_focus_autoscroll_mode_get();
+
+ if (ret != ELM_FOCUS_AUTOSCROLL_MODE_SHOW)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_NONE);
+ ret = elm_config_focus_autoscroll_mode_get();
+
+ if (ret != ELM_FOCUS_AUTOSCROLL_MODE_NONE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN);
+ ret = elm_config_focus_autoscroll_mode_get();
+
+ if (ret != ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_focus_autoscroll_mode_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_focus_autoscroll_mode_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_focus_autoscroll_mode_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_autoscroll_mode_set elm_config_focus_autoscroll_mode_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_autoscroll_mode_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets focus autoscroll mode
- * @n Input Data:
- * @li Elm_Focus_Autoscroll_Mode modes
- *
- * @procedure
- * @step 1 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_SHOW.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_NONE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- * @step 7 Set focus autoscroll mode in ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN.
- * @step 8 Retrieve mode.
- * @step 9 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_autoscroll_mode_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Elm_Focus_Autoscroll_Mode ret = ELM_FOCUS_AUTOSCROLL_MODE_NONE;
-
- elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_SHOW);
- ret = elm_config_focus_autoscroll_mode_get();
-
- if (ret != ELM_FOCUS_AUTOSCROLL_MODE_SHOW)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_NONE);
- ret = elm_config_focus_autoscroll_mode_get();
-
- if (ret != ELM_FOCUS_AUTOSCROLL_MODE_NONE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN);
- ret = elm_config_focus_autoscroll_mode_get();
-
- if (ret != ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_autoscroll_mode_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_autoscroll_mode_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_autoscroll_mode_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_highlight_animate_get elm_config_focus_highlight_animate_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_highlight_animate_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves current focus-highlight state of animate.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Turn on the focus-highlight state of animate.
- * @step 2 Call tested function for retrieving focus-highlight state of animate.
- * @step 3 Turn off the focus-highlight state of animate.
- * @step 4 Call tested function for retrieving focus-highlight state of animate.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_highlight_animate_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_focus_highlight_animate_set(EINA_TRUE);
- if (elm_config_focus_highlight_animate_get() == EINA_TRUE)
- {
- elm_config_focus_highlight_animate_set(EINA_FALSE);
- if (elm_config_focus_highlight_animate_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_highlight_animate_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_highlight_animate_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_highlight_animate_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_focus_highlight_animate_set elm_config_focus_highlight_animate_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_focus_highlight_animate_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets new focus-highlight state of animate.
+ * @n Input Data: EINA_TRUE or EINA_FALSE.
+ *
+ * @procedure
+ * @step 1 Call tested function for turning on the focus-highlight state of animate.
+ * @step 2 Retrieve focus-highlight state of animate.
+ * @step 3 Call tested function for turning off the focus-highlight state of animate.
+ * @step 4 Retrieve focus-highlight state of animate.
+ *
+ * @passcondition
+ * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_focus_highlight_animate_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ok = EINA_FALSE;
+
+ elm_config_focus_highlight_animate_set(EINA_TRUE);
+ if (elm_config_focus_highlight_animate_get() == EINA_TRUE)
+ {
+ elm_config_focus_highlight_animate_set(EINA_FALSE);
+ if (elm_config_focus_highlight_animate_get() == EINA_FALSE)
+ {
+ ok = EINA_TRUE;
+ }
+ }
+
+ if (ok != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_focus_highlight_animate_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_focus_highlight_animate_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_focus_highlight_animate_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_highlight_animate_set elm_config_focus_highlight_animate_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_highlight_animate_set
- * @{
- * @objective: Positive test case checks that the tested function sets new focus-highlight state of animate.
- * @n Input Data: EINA_TRUE or EINA_FALSE.
- *
- * @procedure
- * @step 1 Call tested function for turning on the focus-highlight state of animate.
- * @step 2 Retrieve focus-highlight state of animate.
- * @step 3 Call tested function for turning off the focus-highlight state of animate.
- * @step 4 Retrieve focus-highlight state of animate.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_highlight_animate_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_focus_highlight_animate_set(EINA_TRUE);
- if (elm_config_focus_highlight_animate_get() == EINA_TRUE)
- {
- elm_config_focus_highlight_animate_set(EINA_FALSE);
- if (elm_config_focus_highlight_animate_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_highlight_animate_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_highlight_animate_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_highlight_animate_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_highlight_clip_disabled_get elm_config_focus_highlight_clip_disabled_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_highlight_clip_disabled_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets highlight clip feature
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set highlight clip feature in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set highlight clip feature in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_highlight_clip_disabled_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_focus_highlight_clip_disabled_set(EINA_TRUE);
- ret = elm_config_focus_highlight_clip_disabled_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_highlight_clip_disabled_set(EINA_FALSE);
- ret = elm_config_focus_highlight_clip_disabled_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_highlight_clip_disabled_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_highlight_clip_disabled_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_highlight_clip_disabled_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_focus_highlight_clip_disabled_set elm_config_focus_highlight_clip_disabled_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_focus_highlight_clip_disabled_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets highlight clip feature
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as highlight clip feature mode
+ *
+ * @procedure
+ * @step 1 Set highlight clip feature in EINA_TRUE.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set highlight clip feature in EINA_FALSE.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_focus_highlight_clip_disabled_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_focus_highlight_clip_disabled_set(EINA_TRUE);
+ ret = elm_config_focus_highlight_clip_disabled_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_focus_highlight_clip_disabled_set(EINA_FALSE);
+ ret = elm_config_focus_highlight_clip_disabled_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_focus_highlight_clip_disabled_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_focus_highlight_clip_disabled_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_focus_highlight_clip_disabled_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_highlight_clip_disabled_set elm_config_focus_highlight_clip_disabled_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_highlight_clip_disabled_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets highlight clip feature
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as highlight clip feature mode
- *
- * @procedure
- * @step 1 Set highlight clip feature in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set highlight clip feature in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_highlight_clip_disabled_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_focus_highlight_clip_disabled_set(EINA_TRUE);
- ret = elm_config_focus_highlight_clip_disabled_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_highlight_clip_disabled_set(EINA_FALSE);
- ret = elm_config_focus_highlight_clip_disabled_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_highlight_clip_disabled_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_highlight_clip_disabled_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_highlight_clip_disabled_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_highlight_enabled_get elm_config_focus_highlight_enabled_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_highlight_enabled_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves current focus-highlight enabled state.
- * @n Input Data: None.
- *
- * @procedure
- * @step 1 Turn on the focus-highlight enabled state.
- * @step 2 Call tested function for retrieving focus-highlight enabled state.
- * @step 3 Turn off the focus-highlight enabled state.
- * @step 4 Call tested function for retrieving focus-highlight enabled state.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_highlight_enabled_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_focus_highlight_enabled_set(EINA_TRUE);
- if (elm_config_focus_highlight_enabled_get() == EINA_TRUE)
- {
- elm_config_focus_highlight_enabled_set(EINA_FALSE);
- if (elm_config_focus_highlight_enabled_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_highlight_enabled_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_highlight_enabled_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_highlight_enabled_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_focus_highlight_enabled_set elm_config_focus_highlight_enabled_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_focus_highlight_enabled_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets new focus-highlight enabled state.
+ * @n Input Data: EINA_TRUE or EINA_FALSE.
+ *
+ * @procedure
+ * @step 1 Call tested function for turning on the focus-highlight enabled state.
+ * @step 2 Retrieve focus-highlight enabled state.
+ * @step 3 Call tested function for turning off the focus-highlight enabled state.
+ * @step 4 Retrieve focus-highlight enabled state.
+ *
+ * @passcondition
+ * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_focus_highlight_enabled_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ok = EINA_FALSE;
+
+ elm_config_focus_highlight_enabled_set(EINA_TRUE);
+ if (elm_config_focus_highlight_enabled_get() == EINA_TRUE)
+ {
+ elm_config_focus_highlight_enabled_set(EINA_FALSE);
+ if (elm_config_focus_highlight_enabled_get() == EINA_FALSE)
+ {
+ ok = EINA_TRUE;
+ }
+ }
+
+ if (ok != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_focus_highlight_enabled_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_focus_highlight_enabled_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_focus_highlight_enabled_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_highlight_enabled_set elm_config_focus_highlight_enabled_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_highlight_enabled_set
- * @{
- * @objective: Positive test case checks that the tested function sets new focus-highlight enabled state.
- * @n Input Data: EINA_TRUE or EINA_FALSE.
- *
- * @procedure
- * @step 1 Call tested function for turning on the focus-highlight enabled state.
- * @step 2 Retrieve focus-highlight enabled state.
- * @step 3 Call tested function for turning off the focus-highlight enabled state.
- * @step 4 Retrieve focus-highlight enabled state.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_highlight_enabled_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_focus_highlight_enabled_set(EINA_TRUE);
- if (elm_config_focus_highlight_enabled_get() == EINA_TRUE)
- {
- elm_config_focus_highlight_enabled_set(EINA_FALSE);
- if (elm_config_focus_highlight_enabled_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_highlight_enabled_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_highlight_enabled_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_highlight_enabled_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_move_policy_get elm_config_focus_move_policy_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_move_policy_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets focus movement policy
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_CLICK.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_IN.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- * @step 7 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_KEY_ONLY.
- * @step 8 Retrieve mode.
- * @step 9 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_move_policy_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Elm_Focus_Move_Policy ret = ELM_FOCUS_MOVE_POLICY_IN;
-
- elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_CLICK);
- ret = elm_config_focus_move_policy_get();
-
- if (ret != ELM_FOCUS_MOVE_POLICY_CLICK)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_IN);
- ret = elm_config_focus_move_policy_get();
-
- if (ret != ELM_FOCUS_MOVE_POLICY_IN)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_KEY_ONLY);
- ret = elm_config_focus_move_policy_get();
-
- if (ret != ELM_FOCUS_MOVE_POLICY_KEY_ONLY)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_move_policy_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_move_policy_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_move_policy_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_focus_move_policy_set elm_config_focus_move_policy_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_focus_move_policy_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets focus movement policy
+ * @n Input Data:
+ * @li Elm_Focus_Move_Policy modes
+ *
+ * @procedure
+ * @step 1 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_CLICK.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_IN.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ * @step 7 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_KEY_ONLY.
+ * @step 8 Retrieve mode.
+ * @step 9 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_focus_move_policy_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Elm_Focus_Move_Policy ret = ELM_FOCUS_MOVE_POLICY_IN;
+
+ elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_CLICK);
+ ret = elm_config_focus_move_policy_get();
+
+ if (ret != ELM_FOCUS_MOVE_POLICY_CLICK)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_IN);
+ ret = elm_config_focus_move_policy_get();
+
+ if (ret != ELM_FOCUS_MOVE_POLICY_IN)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_KEY_ONLY);
+ ret = elm_config_focus_move_policy_get();
+
+ if (ret != ELM_FOCUS_MOVE_POLICY_KEY_ONLY)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_focus_move_policy_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_focus_move_policy_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_focus_move_policy_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_focus_move_policy_set elm_config_focus_move_policy_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_focus_move_policy_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets focus movement policy
- * @n Input Data:
- * @li Elm_Focus_Move_Policy modes
- *
- * @procedure
- * @step 1 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_CLICK.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_IN.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- * @step 7 Set focus movement policy in ELM_FOCUS_MOVE_POLICY_KEY_ONLY.
- * @step 8 Retrieve mode.
- * @step 9 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_focus_move_policy_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Elm_Focus_Move_Policy ret = ELM_FOCUS_MOVE_POLICY_IN;
-
- elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_CLICK);
- ret = elm_config_focus_move_policy_get();
-
- if (ret != ELM_FOCUS_MOVE_POLICY_CLICK)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_IN);
- ret = elm_config_focus_move_policy_get();
-
- if (ret != ELM_FOCUS_MOVE_POLICY_IN)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_focus_move_policy_set(ELM_FOCUS_MOVE_POLICY_KEY_ONLY);
- ret = elm_config_focus_move_policy_get();
-
- if (ret != ELM_FOCUS_MOVE_POLICY_KEY_ONLY)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_focus_move_policy_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_focus_move_policy_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_focus_move_policy_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_glayer_double_tap_timeout_get elm_config_glayer_double_tap_timeout_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_glayer_double_tap_timeout_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @ li void - function do not take any input
- *
- * @procedure
- * @step 1 Set tap timeout by call elm_config_glayer_double_tap_timeout_set
- * @step 2 Call tested function and check return value equal to set below
- *
- * @passcondition: Function do not make exception and return value near 12.0
- * @}
- */
-START_TEST(utc_elm_config_glayer_double_tap_timeout_get_p_1)
-{
- elm_config_glayer_double_tap_timeout_set(12.0);
- if (fabs(12.0 - elm_config_glayer_double_tap_timeout_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_glayer_double_tap_timeout_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_glayer_double_tap_timeout_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_glayer_double_tap_timeout_get_p_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_glayer_double_tap_timeout_set elm_config_glayer_double_tap_timeout_set()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_glayer_double_tap_timeout_set
+ * @{
+ * @objective Positive test case 01: Checks if function proper work with valid input
+ * @n Input data:
+ * @li Tap timeout
+ *
+ * @procedure
+ * @step 1 Call tested function
+ * @step 2 Check that value was setted by checking return value of elm_config_glayer_double_tap_timeout_get
+ *
+ * @passcondition: Function do not make exception and value was setted
+ * @}
+ */
+START_TEST(utc_elm_config_glayer_double_tap_timeout_set_p_1)
+{
+ elm_config_glayer_double_tap_timeout_set(12.0);
+ if (0.1 < (12.0 - elm_config_glayer_double_tap_timeout_get()))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_glayer_double_tap_timeout_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_glayer_double_tap_timeout_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_glayer_double_tap_timeout_set_p_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_glayer_double_tap_timeout_set elm_config_glayer_double_tap_timeout_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_glayer_double_tap_timeout_set
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @li Tap timeout
- *
- * @procedure
- * @step 1 Call tested function
- * @step 2 Check that value was setted by checking return value of elm_config_glayer_double_tap_timeout_get
- *
- * @passcondition: Function do not make exception and value was setted
- * @}
- */
-START_TEST(utc_elm_config_glayer_double_tap_timeout_set_p_1)
-{
- elm_config_glayer_double_tap_timeout_set(12.0);
- if (0.1 < (12.0 - elm_config_glayer_double_tap_timeout_get()))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_glayer_double_tap_timeout_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_glayer_double_tap_timeout_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_glayer_double_tap_timeout_set_p_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_glayer_long_tap_start_timeout_get elm_config_glayer_long_tap_start_timeout_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_glayer_long_tap_start_timeout_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @li void - function do not take any input
- *
- * @procedure
- * @step 1 Set the start timeout by call elm_config_glayer_long_tap_start_timeout_set
- * @step 2 Call tested function and check return value setted below
- *
- * @passcondition: Function do not make exception and return value near 12.0
- * @}
- */
-START_TEST(utc_elm_config_glayer_long_tap_start_timeout_get_p_1)
-{
- elm_config_glayer_long_tap_start_timeout_set(12.0);
- if (fabs(12.0 - elm_config_glayer_long_tap_start_timeout_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_glayer_long_tap_start_timeout_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_glayer_long_tap_start_timeout_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_glayer_long_tap_start_timeout_get_p_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_glayer_long_tap_start_timeout_set elm_config_glayer_long_tap_start_timeout_set()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_glayer_long_tap_start_timeout_set
+ * @{
+ * @objective Positive test case 01: Checks if function proper work with valid input
+ * @n Input data:
+ * @li Start timeout
+ *
+ * @procedure
+ * @step 1 Call tested function
+ * @step 2 Check that value was setted by checking return value of elm_config_glayer_long_tap_start_timeout_get
+ *
+ * @passcondition: Function do not make exception and value was setted
+ * @}
+ */
+START_TEST(utc_elm_config_glayer_long_tap_start_timeout_set_p_1)
+{
+ elm_config_glayer_long_tap_start_timeout_set(12.0);
+ if (0.1 < (12.0 - elm_config_glayer_long_tap_start_timeout_get()))
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_glayer_long_tap_start_timeout_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_glayer_long_tap_start_timeout_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_glayer_long_tap_start_timeout_set_p_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_glayer_long_tap_start_timeout_set elm_config_glayer_long_tap_start_timeout_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_glayer_long_tap_start_timeout_set
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @li Start timeout
- *
- * @procedure
- * @step 1 Call tested function
- * @step 2 Check that value was setted by checking return value of elm_config_glayer_long_tap_start_timeout_get
- *
- * @passcondition: Function do not make exception and value was setted
- * @}
- */
-START_TEST(utc_elm_config_glayer_long_tap_start_timeout_set_p_1)
-{
- elm_config_glayer_long_tap_start_timeout_set(12.0);
- if (0.1 < (12.0 - elm_config_glayer_long_tap_start_timeout_get()))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_glayer_long_tap_start_timeout_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_glayer_long_tap_start_timeout_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_glayer_long_tap_start_timeout_set_p_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_item_select_on_focus_disabled_get elm_config_item_select_on_focus_disabled_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_item_select_on_focus_disabled_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets disable status of item select on focus feature
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set disable status of item select on focus feature in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set disable status of item select on focus feature in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_item_select_on_focus_disabled_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_item_select_on_focus_disabled_set(EINA_TRUE);
- ret = elm_config_item_select_on_focus_disabled_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_item_select_on_focus_disabled_set(EINA_FALSE);
- ret = elm_config_item_select_on_focus_disabled_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_item_select_on_focus_disabled_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_item_select_on_focus_disabled_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_item_select_on_focus_disabled_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_item_select_on_focus_disabled_set elm_config_item_select_on_focus_disabled_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_item_select_on_focus_disabled_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets disable status of the item select on focus feature
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as disable status of the item select on focus feature mode
+ *
+ * @procedure
+ * @step 1 Set disable status of the item select on focus feature in EINA_TRUE.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set disable status of the item select on focus feature in EINA_FALSE.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_item_select_on_focus_disabled_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_item_select_on_focus_disabled_set(EINA_TRUE);
+ ret = elm_config_item_select_on_focus_disabled_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_item_select_on_focus_disabled_set(EINA_FALSE);
+ ret = elm_config_item_select_on_focus_disabled_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_item_select_on_focus_disabled_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_item_select_on_focus_disabled_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_item_select_on_focus_disabled_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_item_select_on_focus_disabled_set elm_config_item_select_on_focus_disabled_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_item_select_on_focus_disabled_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets disable status of the item select on focus feature
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as disable status of the item select on focus feature mode
- *
- * @procedure
- * @step 1 Set disable status of the item select on focus feature in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set disable status of the item select on focus feature in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_item_select_on_focus_disabled_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_item_select_on_focus_disabled_set(EINA_TRUE);
- ret = elm_config_item_select_on_focus_disabled_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_item_select_on_focus_disabled_set(EINA_FALSE);
- ret = elm_config_item_select_on_focus_disabled_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_item_select_on_focus_disabled_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_item_select_on_focus_disabled_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_item_select_on_focus_disabled_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-#define TARGET_TIMEOUT 0.3
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_longpress_timeout_get elm_config_longpress_timeout_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_longpress_timeout_get
- * @{
- * @objective: Positive test case checks that the tested function correctly retrieves proper longpress timeout value
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Set longpress timeout value
- * @step 2 Retrieve longpress timeout.
- * @step 3 Check retrurned value of timeout.
- *
- * @passcondition
- * Retrieved longpress-timeout value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_longpress_timeout_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- double timeout = 0;
-
- elm_config_longpress_timeout_set(TARGET_TIMEOUT);
- timeout = elm_config_longpress_timeout_get();
-
- if (fabs(timeout - TARGET_TIMEOUT) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- * @}
- */
-
-TCase * _utc_elm_config_longpress_timeout_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_longpress_timeout_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_longpress_timeout_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+
+#define TARGET_TIMEOUT 0.3
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_longpress_timeout_set elm_config_longpress_timeout_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_longpress_timeout_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets proper longpress timeout value
+ * @n Input Data: 0.3 seconds.
+ *
+ * @procedure
+ * @step 1 Set longpress timeout value
+ * @step 2 Retrieve longpress timeout.
+ * @step 3 Check retrurned value of timeout.
+ *
+ * @passcondition
+ * Retrieved longpress-timeout value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_longpress_timeout_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ return;
+ }
+
+ double timeout = 0;
+
+ elm_config_longpress_timeout_set(TARGET_TIMEOUT);
+ timeout = elm_config_longpress_timeout_get();
+
+ if (fabs(timeout - TARGET_TIMEOUT) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_longpress_timeout_set
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is incorrect.
+ * @n Input Data: -10.0 seconds (it is incorrect value).
+ *
+ * @procedure
+ * @step 1 Call tested function with incorrect argument.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_longpress_timeout_set_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ elm_config_longpress_timeout_set(-10.0);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_longpress_timeout_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_longpress_timeout_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_longpress_timeout_set_p);
+ tcase_add_test(tcase, utc_elm_config_longpress_timeout_set_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-#define TARGET_TIMEOUT 0.3
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_longpress_timeout_set elm_config_longpress_timeout_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_longpress_timeout_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets proper longpress timeout value
- * @n Input Data: 0.3 seconds.
- *
- * @procedure
- * @step 1 Set longpress timeout value
- * @step 2 Retrieve longpress timeout.
- * @step 3 Check retrurned value of timeout.
- *
- * @passcondition
- * Retrieved longpress-timeout value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_longpress_timeout_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- double timeout = 0;
-
- elm_config_longpress_timeout_set(TARGET_TIMEOUT);
- timeout = elm_config_longpress_timeout_get();
-
- if (fabs(timeout - TARGET_TIMEOUT) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_longpress_timeout_set
- * @{
- * @objective: Negative test case checks situation if argument of tested function is incorrect.
- * @n Input Data: -10.0 seconds (it is incorrect value).
- *
- * @procedure
- * @step 1 Call tested function with incorrect argument.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_longpress_timeout_set_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- elm_config_longpress_timeout_set(-10.0);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_longpress_timeout_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_longpress_timeout_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_longpress_timeout_set_p);
- tcase_add_test(tcase, utc_elm_config_longpress_timeout_set_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_mirrored_get elm_config_mirrored_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_mirrored_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves system mirrored mode.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Turn on the system mirrored mode.
- * @step 2 Call tested function for retrieving the current system mirrored mode.
- * @step 3 Turn off the system mirrored mode.
- * @step 4 Call tested function for retrieving the current system mirrored mode.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_mirrored_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_mirrored_set(EINA_TRUE);
- if (elm_config_mirrored_get() == EINA_TRUE)
- {
- elm_config_mirrored_set(EINA_FALSE);
- if (elm_config_mirrored_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_mirrored_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_mirrored_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_mirrored_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_mirrored_set elm_config_mirrored_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_mirrored_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets new system mirrored mode.
+ * @n Input Data: EINA_TRUE or EINA_FALSE.
+ *
+ * @procedure
+ * @step 1 Turn on the system mirrored mode.
+ * @step 2 Call tested function for retrieving the current system mirrored mode.
+ * @step 3 Turn off the system mirrored mode.
+ * @step 4 Call tested function for retrieving the current system mirrored mode.
+ *
+ * @passcondition
+ * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_mirrored_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ok = EINA_FALSE;
+
+ elm_config_mirrored_set(EINA_TRUE);
+ if (elm_config_mirrored_get() == EINA_TRUE)
+ {
+ elm_config_mirrored_set(EINA_FALSE);
+ if (elm_config_mirrored_get() == EINA_FALSE)
+ {
+ ok = EINA_TRUE;
+ }
+ }
+
+ if (ok != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_mirrored_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_mirrored_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_mirrored_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_mirrored_set elm_config_mirrored_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_mirrored_set
- * @{
- * @objective: Positive test case checks that the tested function sets new system mirrored mode.
- * @n Input Data: EINA_TRUE or EINA_FALSE.
- *
- * @procedure
- * @step 1 Turn on the system mirrored mode.
- * @step 2 Call tested function for retrieving the current system mirrored mode.
- * @step 3 Turn off the system mirrored mode.
- * @step 4 Call tested function for retrieving the current system mirrored mode.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_mirrored_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_mirrored_set(EINA_TRUE);
- if (elm_config_mirrored_get() == EINA_TRUE)
- {
- elm_config_mirrored_set(EINA_FALSE);
- if (elm_config_mirrored_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_mirrored_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_mirrored_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_mirrored_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_password_show_last_get elm_config_password_show_last_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_password_show_last_get
- * @{
- * @objective: Positive test case checks that the tested function retrieves the show last setting in password mode.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Turn on the show last setting in password mode.
- * @step 2 Call tested function for retrieving the current show last setting in password mode.
- * @step 3 Turn off the show last setting in password mode.
- * @step 4 Call tested function for retrieving the current show last setting in password mode.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_password_show_last_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_password_show_last_set(EINA_TRUE);
- if (elm_config_password_show_last_get() == EINA_TRUE)
- {
- elm_config_password_show_last_set(EINA_FALSE);
- if (elm_config_password_show_last_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_password_show_last_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_password_show_last_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_password_show_last_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_password_show_last_set elm_config_password_show_last_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_password_show_last_set
+ * @{
+ * @objective: Positive test case checks that the tested function sets the show last setting in password mode.
+ * @n Input Data: EINA_TRUE or EINA_FALSE.
+ *
+ * @procedure
+ * @step 1 Turn on the show last setting in password mode.
+ * @step 2 Call tested function for retrieving the current show last setting in password mode.
+ * @step 3 Turn off the show last setting in password mode.
+ * @step 4 Call tested function for retrieving the current show last setting in password mode.
+ *
+ * @passcondition
+ * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_password_show_last_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ok = EINA_FALSE;
+
+ elm_config_password_show_last_set(EINA_TRUE);
+ if (elm_config_password_show_last_get() == EINA_TRUE)
+ {
+ elm_config_password_show_last_set(EINA_FALSE);
+ if (elm_config_password_show_last_get() == EINA_FALSE)
+ {
+ ok = EINA_TRUE;
+ }
+ }
+
+ if (ok != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_password_show_last_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_password_show_last_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_password_show_last_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_password_show_last_set elm_config_password_show_last_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_password_show_last_set
- * @{
- * @objective: Positive test case checks that the tested function sets the show last setting in password mode.
- * @n Input Data: EINA_TRUE or EINA_FALSE.
- *
- * @procedure
- * @step 1 Turn on the show last setting in password mode.
- * @step 2 Call tested function for retrieving the current show last setting in password mode.
- * @step 3 Turn off the show last setting in password mode.
- * @step 4 Call tested function for retrieving the current show last setting in password mode.
- *
- * @passcondition
- * In both cases values retrieved by tested function must be equal to values which were be set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_password_show_last_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- elm_config_password_show_last_set(EINA_TRUE);
- if (elm_config_password_show_last_get() == EINA_TRUE)
- {
- elm_config_password_show_last_set(EINA_FALSE);
- if (elm_config_password_show_last_get() == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_password_show_last_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_password_show_last_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_password_show_last_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-#define TARGET_TIMEOUT 0.3
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_password_show_last_timeout_get elm_config_password_show_last_timeout_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_password_show_last_timeout_get
- * @{
- * @objective: Positive test case checks that the tested function correctly retrieves the timeout value in "show last" password mode.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Set the timeout value in "show last" password mode.
- * @step 2 Retrieve the timeout value in "show last" password mode.
- * @step 3 Check returned value of timeout.
- *
- * @passcondition
- * Retrieved timeout value value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_password_show_last_timeout_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- double timeout = 0.0;
-
- elm_config_password_show_last_timeout_set(TARGET_TIMEOUT);
- timeout = elm_config_password_show_last_timeout_get();
-
- if (fabs(timeout - TARGET_TIMEOUT) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- * @}
- */
-
-TCase * _utc_elm_config_password_show_last_timeout_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_password_show_last_timeout_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_password_show_last_timeout_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+
+#define TARGET_TIMEOUT 0.3
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_password_show_last_timeout_set elm_config_password_show_last_timeout_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_password_show_last_timeout_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the timeout value in "show last" password mode.
+ * @n Input Data: 0.3 seconds.
+ *
+ * @procedure
+ * @step 1 Set the timeout value in "show last" password mode.
+ * @step 2 Retrieve the timeout value in "show last" password mode.
+ * @step 3 Check retrurned value of timeout.
+ *
+ * @passcondition
+ * Retrieved timeout value value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_password_show_last_timeout_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ double timeout = 0.0;
+
+ elm_config_password_show_last_timeout_set(TARGET_TIMEOUT);
+ timeout = elm_config_password_show_last_timeout_get();
+
+ if (fabs(timeout - TARGET_TIMEOUT) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_password_show_last_timeout_set
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is incorrect.
+ * @n Input Data: -10.0 seconds (it is incorrect value).
+ *
+ * @procedure
+ * @step 1 Call tested function with incorrect argument.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_password_show_last_timeout_set_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ elm_config_password_show_last_timeout_set(-10.0);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_password_show_last_timeout_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_password_show_last_timeout_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_password_show_last_timeout_set_p);
+ tcase_add_test(tcase, utc_elm_config_password_show_last_timeout_set_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-#define TARGET_TIMEOUT 0.3
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_password_show_last_timeout_set elm_config_password_show_last_timeout_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_password_show_last_timeout_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the timeout value in "show last" password mode.
- * @n Input Data: 0.3 seconds.
- *
- * @procedure
- * @step 1 Set the timeout value in "show last" password mode.
- * @step 2 Retrieve the timeout value in "show last" password mode.
- * @step 3 Check retrurned value of timeout.
- *
- * @passcondition
- * Retrieved timeout value value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_password_show_last_timeout_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- double timeout = 0.0;
-
- elm_config_password_show_last_timeout_set(TARGET_TIMEOUT);
- timeout = elm_config_password_show_last_timeout_get();
-
- if (fabs(timeout - TARGET_TIMEOUT) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_password_show_last_timeout_set
- * @{
- * @objective: Negative test case checks situation if argument of tested function is incorrect.
- * @n Input Data: -10.0 seconds (it is incorrect value).
- *
- * @procedure
- * @step 1 Call tested function with incorrect argument.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_password_show_last_timeout_set_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- elm_config_password_show_last_timeout_set(-10.0);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_password_show_last_timeout_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_password_show_last_timeout_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_password_show_last_timeout_set_p);
- tcase_add_test(tcase, utc_elm_config_password_show_last_timeout_set_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_preferred_engine_get elm_config_preferred_engine_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_preferred_engine_get
- * @{
- * @objective Positive test case 01: Checks if function returns NULL if preferred engines weren't set before
- * @n Input data:
- * @ li void - function do not take any input
- *
- * @procedure
- * @step 1 Call tested function
- *
- * @passcondition: Function do not make exception and return NULL
- * @}
- */
-START_TEST(utc_elm_config_preferred_engine_get_p_1)
-{
- elm_config_preferred_engine_set(NULL);
- if (elm_config_preferred_engine_get() != NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config
- * @{
- * @objective Positive Test case 02: Checks if function returns name of preferred engine that was set before
- * @n Input data:
- * @ li void - function do not take any input
- *
- * @procedure
- * @step 1 Set preferred engine's name
- * @step 2 Get preferred engine name
- *
- * @passcondition Test passes if preferred engine's name equals to setted one and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_preferred_engine_get_p_2)
-{
- const char* def_engine = "My_preferred_engines_name";
- const char* engine = NULL;
- elm_config_preferred_engine_set(def_engine);
-
- engine = elm_config_preferred_engine_get();
- if ((!engine) || (strcmp(engine, def_engine)))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_preferred_engine_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_preferred_engine_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_preferred_engine_get_p_1);
- tcase_add_test(tcase, utc_elm_config_preferred_engine_get_p_2);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <string.h>
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_preferred_engine_set elm_config_preferred_engine_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config
+ * @{
+ * @objective Positive Test case 01: Checks if function sets preferred engine successfully
+ * @n Input data:
+ * @li some engine name
+ *
+ * @procedure
+ * @step 1 Set preferred engine's name.
+ *
+ * @passcondition Test passes if preferred engine's name equals to setted one and there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_preferred_engine_set_p_1)
+{
+ const char* def_engine = "My_preferred_engines_name";
+ elm_config_preferred_engine_set(def_engine);
+
+ if (strcmp(elm_config_preferred_engine_get(), def_engine) != 0)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config
+ * @{
+ * @objective Positive Test case 02: Checks if function is calling with NULL (unsets preferred engine)
+ * works properly and without segmentation fault
+ * @n Input data:
+ * @li NULL instead of engine name.
+ *
+ * @procedure
+ * @step 1 Set NULL as engine name.
+ * @step 2 Get preferred engine name.
+ *
+ * @passcondition Test passes if returned value is NULL and there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_preferred_engine_set_p_2)
+{
+
+ elm_config_preferred_engine_set(NULL);
+ if (elm_config_preferred_engine_get() != NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_preferred_engine_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_preferred_engine_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_preferred_engine_set_p_1);
+ tcase_add_test(tcase, utc_elm_config_preferred_engine_set_p_2);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_preferred_engine_set elm_config_preferred_engine_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config
- * @{
- * @objective Positive Test case 01: Checks if function sets preferred engine successfully
- * @n Input data:
- * @li some engine name
- *
- * @procedure
- * @step 1 Set preferred engine's name.
- *
- * @passcondition Test passes if preferred engine's name equals to setted one and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_preferred_engine_set_p_1)
-{
- const char* def_engine = "My_preferred_engines_name";
- elm_config_preferred_engine_set(def_engine);
-
- if (strcmp(elm_config_preferred_engine_get(), def_engine) != 0)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config
- * @{
- * @objective Positive Test case 02: Checks if function is calling with NULL (unsets preferred engine)
- * works properly and without segmentation fault
- * @n Input data:
- * @li NULL instead of engine name.
- *
- * @procedure
- * @step 1 Set NULL as engine name.
- * @step 2 Get preferred engine name.
- *
- * @passcondition Test passes if returned value is NULL and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_preferred_engine_set_p_2)
-{
-
- elm_config_preferred_engine_set(NULL);
- if (elm_config_preferred_engine_get() != NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_preferred_engine_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_preferred_engine_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_preferred_engine_set_p_1);
- tcase_add_test(tcase, utc_elm_config_preferred_engine_set_p_2);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-#define TARGET_SCALING_FACTOR 1.5
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scale_get elm_config_scale_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scale_get
- * @{
- * @objective: Positive test case checks that the tested function correctly retrieves current scaling factor.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Set new scaling factor.
- * @step 2 Retrieve current scaling factor.
- * @step 3 Check returned value of scale factor.
- *
- * @passcondition
- * Retrieved scaling factor value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scale_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- double scaling_factor = 0.0;
-
- elm_config_scale_set(TARGET_SCALING_FACTOR);
- scaling_factor = elm_config_scale_get();
-
- if (fabs(scaling_factor - TARGET_SCALING_FACTOR) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scale_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scale_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scale_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+
+#define TARGET_SCALING_FACTOR 1.5
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scale_set elm_config_scale_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scale_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets new scaling factor.
+ * @n Input Data: 1.5.
+ *
+ * @procedure
+ * @step 1 Set new scaling factor.
+ * @step 2 Retrieve current scaling factor.
+ * @step 3 Check returned value of scale factor.
+ *
+ * @passcondition
+ * Retrieved scaling factor value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scale_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ double scaling_factor = 0.0;
+
+ elm_config_scale_set(TARGET_SCALING_FACTOR);
+ scaling_factor = elm_config_scale_get();
+
+ if (fabs(scaling_factor - TARGET_SCALING_FACTOR) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scale_set
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is incorrect.
+ * @n Input Data: -10.0 (it is incorrect value).
+ *
+ * @procedure
+ * @step 1 Call tested function with incorrect argument.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scale_set_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ elm_config_scale_set(-10.0);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_scale_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scale_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scale_set_p);
+ tcase_add_test(tcase, utc_elm_config_scale_set_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-#define TARGET_SCALING_FACTOR 1.5
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scale_set elm_config_scale_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scale_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets new scaling factor.
- * @n Input Data: 1.5.
- *
- * @procedure
- * @step 1 Set new scaling factor.
- * @step 2 Retrieve current scaling factor.
- * @step 3 Check returned value of scale factor.
- *
- * @passcondition
- * Retrieved scaling factor value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scale_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- double scaling_factor = 0.0;
-
- elm_config_scale_set(TARGET_SCALING_FACTOR);
- scaling_factor = elm_config_scale_get();
-
- if (fabs(scaling_factor - TARGET_SCALING_FACTOR) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scale_set
- * @{
- * @objective: Negative test case checks situation if argument of tested function is incorrect.
- * @n Input Data: -10.0 (it is incorrect value).
- *
- * @procedure
- * @step 1 Call tested function with incorrect argument.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scale_set_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- elm_config_scale_set(-10.0);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scale_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scale_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scale_set_p);
- tcase_add_test(tcase, utc_elm_config_scale_set_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_acceleration_threshold_get elm_config_scroll_thumbscroll_acceleration_threshold_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_acceleration_threshold_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @li void - function do not take any input
- *
- * @procedure
- * @step 1 Set acceleration threshold by ccalling elm_config_scroll_thumbscroll_acceleration_threshold_set
- * @step 2 Call tested function and check that value eaual to set below
- *
- * @passcondition: Function do not make exception and return value near 12.0
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_p_1)
-{
- elm_config_scroll_thumbscroll_acceleration_threshold_set(12.0);
- if (fabs(12.0 - elm_config_scroll_thumbscroll_acceleration_threshold_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_acceleration_threshold_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_threshold_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_p_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_acceleration_threshold_get elm_config_scroll_thumbscroll_acceleration_threshold_get()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_acceleration_threshold_get
+ * @{
+ * @objective Positive test case 01: Checks if function proper work
+ * @n Input data:
+ * @li void - function do not take any input
+ *
+ * @procedure
+ * @step 1 Set acceleration threshold by ccalling elm_config_scroll_thumbscroll_acceleration_threshold_set
+ * @step 2 Call tested function and check that value eaual to set below
+ *
+ * @passcondition: Function do not make exception and return value near 12.0
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_p_1)
+{
+ elm_config_scroll_thumbscroll_acceleration_threshold_set(12.0);
+ if (fabs(12.0 - elm_config_scroll_thumbscroll_acceleration_threshold_get()) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_threshold_get_p_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_acceleration_threshold_set elm_config_scroll_thumbscroll_acceleration_threshold_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_acceleration_threshold_set
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @ li Acceleration threshold
- *
- * @procedure
- * @step 1 Call tested function
- * @step 2 Check that value was setted by checking return of elm_config_scroll_thumbscroll_acceleration_threshold_get function
- *
- * @passcondition: Function do not make exception and value was setted
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_threshold_set_p_1)
-{
- elm_config_scroll_thumbscroll_acceleration_threshold_set(12);
- if (12 != elm_config_scroll_thumbscroll_acceleration_threshold_get())
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_acceleration_threshold_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_threshold_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_threshold_set_p_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_acceleration_time_limit_get elm_config_scroll_thumbscroll_acceleration_time_limit_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_acceleration_time_limit_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @li void - function do not take any input
- *
- * @procedure
- * @step 1 Set time limit by calling elm_config_scroll_thumbscroll_acceleration_time_limit_set
- * @step 2 Call tested function and check the return value that we set below
- *
- * @passcondition: Function do not make exception and return value near 12.0
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_p_1)
-{
- elm_config_scroll_thumbscroll_acceleration_time_limit_set(12.0);
- if (fabs(12.0 - elm_config_scroll_thumbscroll_acceleration_time_limit_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_p_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_acceleration_time_limit_get elm_config_scroll_thumbscroll_acceleration_time_limit_get()
+ *
+ * @precondition
+ * @step 1 Init the elm library.
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ printf(" ============ Cleanup ============ \n");
+ elm_shutdown();
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_acceleration_time_limit_get
+ * @{
+ * @objective Positive test case 01: Checks if function proper work
+ * @n Input data:
+ * @li void - function do not take any input
+ *
+ * @procedure
+ * @step 1 Set time limit by calling elm_config_scroll_thumbscroll_acceleration_time_limit_set
+ * @step 2 Call tested function and check the return value that we set below
+ *
+ * @passcondition: Function do not make exception and return value near 12.0
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_p_1)
+{
+ elm_config_scroll_thumbscroll_acceleration_time_limit_set(12.0);
+ if (fabs(12.0 - elm_config_scroll_thumbscroll_acceleration_time_limit_get()) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_time_limit_get_p_1);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_acceleration_time_limit_set elm_config_scroll_thumbscroll_acceleration_time_limit_set()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_acceleration_time_limit_set
- * @{
- * @objective Positive test case 01: Checks if function proper work with valid input
- * @n Input data:
- * @ li 12.0 as time limit
- *
- * @procedure
- * @step 1 Call tested function
- * @step 2 Check that value was setted by checking return of elm_config_scroll_thumbscroll_acceleration_time_limit_get function
- *
- * @passcondition: Function do not make exception and value was setted
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set_p_1)
-{
- elm_config_scroll_thumbscroll_acceleration_time_limit_set(12.0);
- if (0.1 < (12.0 - elm_config_scroll_thumbscroll_acceleration_time_limit_get()))
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_time_limit_set_p_1);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_acceleration_weight_get elm_config_scroll_thumbscroll_acceleration_weight_get()
- *
- * @precondition
- * @step 1 Init the elm library.
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- printf(" ============ Cleanup ============ \n");
- elm_shutdown();
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_acceleration_weight_get
- * @{
- * @objective Positive test case 01: Checks if function proper work
- * @n Input data:
- * @li void - function do not take any input
- *
- * @procedure
- * @step 1 Set acceleration weight by calling elm_config_scroll_thumbscroll_acceleration_weight_set
- * @step 2 Call tested function
- *
- * @passcondition: Function do not make exception and return value near 128.0
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_weight_get_p_1)
-{
- elm_config_scroll_thumbscroll_acceleration_weight_set(128.0);
- if (fabs(128.0 - elm_config_scroll_thumbscroll_acceleration_weight_get()) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_acceleration_weight_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_weight_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_weight_get_p_1);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+#include <math.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_acceleration_weight_set elm_config_scroll_thumbscroll_acceleration_weight_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_acceleration_weight_set
+ * @{
+ * @objective Positive Test case 01: Set the weight for the acceleration
+ * @n Input data:
+ * @li threshold the thumb scroll acceleration weight (0.5)
+ *
+ * @procedure
+ * @step 1 Set the weight for the acceleration to 0.5
+ * @step 2 Get the weight for the acceleration
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (0.5) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_01)
+{
+ double weight = 0.0;
+
+ elm_config_scroll_thumbscroll_acceleration_weight_set(0.5);
+ weight = elm_config_scroll_thumbscroll_acceleration_weight_get();
+
+ if (fabs(weight - 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_acceleration_weight_set
+ * @{
+ * @objective Positive Test case 02: Checks if function call with negative value
+ * works properly and without segmentation fault
+ * @n Input data:
+ * @li threshold the thumb scroll acceleration weight (-0.5)
+ *
+ * @procedure
+ * @step 1 Set the weight for the acceleration to -0.5
+ * @step 2 Get the weight for the acceleration
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (-0.5) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_02)
+{
+ double weight = 0.0;
+
+ elm_config_scroll_thumbscroll_acceleration_weight_set(-0.5);
+ weight = elm_config_scroll_thumbscroll_acceleration_weight_get();
+
+ if (fabs(weight + 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] %1.1f : Test has failed..", __FILE__,__LINE__, weight);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_acceleration_weight_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_weight_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_02);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-#include <math.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_acceleration_weight_set elm_config_scroll_thumbscroll_acceleration_weight_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_acceleration_weight_set
- * @{
- * @objective Positive Test case 01: Set the weight for the acceleration
- * @n Input data:
- * @li threshold the thumb scroll acceleration weight (0.5)
- *
- * @procedure
- * @step 1 Set the weight for the acceleration to 0.5
- * @step 2 Get the weight for the acceleration
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_01)
-{
- double weight = 0.0;
-
- elm_config_scroll_thumbscroll_acceleration_weight_set(0.5);
- weight = elm_config_scroll_thumbscroll_acceleration_weight_get();
-
- if (fabs(weight - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_acceleration_weight_set
- * @{
- * @objective Positive Test case 02: Checks if function call with negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li threshold the thumb scroll acceleration weight (-0.5)
- *
- * @procedure
- * @step 1 Set the weight for the acceleration to -0.5
- * @step 2 Get the weight for the acceleration
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_02)
-{
- double weight = 0.0;
-
- elm_config_scroll_thumbscroll_acceleration_weight_set(-0.5);
- weight = elm_config_scroll_thumbscroll_acceleration_weight_get();
-
- if (fabs(weight + 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] %1.1f : Test has failed..", __FILE__,__LINE__, weight);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_acceleration_weight_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_acceleration_weight_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_acceleration_weight_set_p_02);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_flick_distance_tolerance_get elm_config_scroll_thumbscroll_flick_distance_tolerance_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_flick_distance_tolerance_get
- * @{
- * @objective Positive Test case 01: Get the number of pixels the maximum distance which can be flicked
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll maximum flick distance to 1
- * @step 2 Get thumb scroll maximum flick distance
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_p_01)
-{
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_flick_distance_tolerance_set(1);
- thumbscroll = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
-
- if (thumbscroll != 1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_flick_distance_tolerance_get
- * @{
- * @objective Positive Test case 02: Checks if get negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll maximum flick distance to -1
- * @step 2 Get thumb scroll maximum flick distance
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_p_02)
-{
-
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_flick_distance_tolerance_set(-1);
- thumbscroll = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
-
- if (thumbscroll != -1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_p_02);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_flick_distance_tolerance_set elm_config_scroll_thumbscroll_flick_distance_tolerance_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_flick_distance_tolerance_set
+ * @{
+ * @objective Positive Test case 01: Set the number of pixels the maximum distance which can be flicked
+ * @n Input data:
+ * @li thumb scroll maximum flick distance (1)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll maximum flick distance to 1
+ * @step 2 Get thumb scroll maximum flick distance
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (1) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_01)
+{
+ int thumbscroll = 0;
+
+ elm_config_scroll_thumbscroll_flick_distance_tolerance_set(1);
+ thumbscroll = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
+
+ if (thumbscroll != 1)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_flick_distance_tolerance_set
+ * @{
+ * @objective Positive Test case 02: Checks if function call with negative value
+ * works properly and without segmentation fault
+ * @n Input data:
+ * @li thumb scroll maximum flick distance (-1)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll maximum flick distance to -1
+ * @step 2 Get thumb scroll maximum flick distance
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (-1) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_02)
+{
+
+ int thumbscroll = 0;
+
+ elm_config_scroll_thumbscroll_flick_distance_tolerance_set(-1);
+ thumbscroll = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
+
+ if (thumbscroll != -1)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_02);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_flick_distance_tolerance_set elm_config_scroll_thumbscroll_flick_distance_tolerance_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_flick_distance_tolerance_set
- * @{
- * @objective Positive Test case 01: Set the number of pixels the maximum distance which can be flicked
- * @n Input data:
- * @li thumb scroll maximum flick distance (1)
- *
- * @procedure
- * @step 1 Set thumb scroll maximum flick distance to 1
- * @step 2 Get thumb scroll maximum flick distance
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_01)
-{
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_flick_distance_tolerance_set(1);
- thumbscroll = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
-
- if (thumbscroll != 1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_flick_distance_tolerance_set
- * @{
- * @objective Positive Test case 02: Checks if function call with negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li thumb scroll maximum flick distance (-1)
- *
- * @procedure
- * @step 1 Set thumb scroll maximum flick distance to -1
- * @step 2 Get thumb scroll maximum flick distance
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_02)
-{
-
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_flick_distance_tolerance_set(-1);
- thumbscroll = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
-
- if (thumbscroll != -1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_flick_distance_tolerance_set_p_02);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-#include <math.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_friction_standard_get elm_config_scroll_thumbscroll_friction_standard_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_friction_standard_get
- * @{
- * @objective Positive Test case 01: Get the standard velocity of the scroller
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll friction standard to 0.5
- * @step 2 Get thumb scroll friction standard
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_friction_standard_get_p_01)
-{
- double velocity = 0.0;
-
- elm_config_scroll_thumbscroll_friction_standard_set(0.5);
- velocity = elm_config_scroll_thumbscroll_friction_standard_get();
-
- if (fabs(velocity - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_friction_standard_get
- * @{
- * @objective Positive Test case 02: Checks if get negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll friction standard to -0.5
- * @step 2 Get thumb scroll friction standard
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_friction_standard_get_p_02)
-{
- double velocity = 0.0;
-
- elm_config_scroll_thumbscroll_friction_standard_set(-0.5);
- velocity = elm_config_scroll_thumbscroll_friction_standard_get();
-
- if (fabs(velocity + 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_friction_standard_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_friction_standard_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_standard_get_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_standard_get_p_02);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+#include <math.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_friction_standard_set elm_config_scroll_thumbscroll_friction_standard_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_friction_standard_set
+ * @{
+ * @objective Positive Test case 01: Set the standard velocity of the scroller
+ * @n Input data:
+ * @li thumb scroll friction standard (0.5)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll friction standard to 0.5
+ * @step 2 Get thumb scroll friction standard
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (0.5) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_friction_standard_set_p_01)
+{
+ double velocity = 0.0;
+
+ elm_config_scroll_thumbscroll_friction_standard_set(0.5);
+ velocity = elm_config_scroll_thumbscroll_friction_standard_get();
+
+ if (fabs(velocity - 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_friction_standard_set
+ * @{
+ * @objective Positive Test case 02: Checks if function call with negative value
+ * works properly and without segmentation fault
+ * @n Input data:
+ * @li thumb scroll friction standard (-0.5)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll friction standard to -0.5
+ * @step 2 Get thumb scroll friction standard
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (-0.5) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_friction_standard_set_p_02)
+{
+ double velocity = 0.0;
+
+ elm_config_scroll_thumbscroll_friction_standard_set(-0.5);
+ velocity = elm_config_scroll_thumbscroll_friction_standard_get();
+
+ if (fabs(velocity + 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_friction_standard_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_friction_standard_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_standard_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_standard_set_p_02);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-#include <math.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_friction_standard_set elm_config_scroll_thumbscroll_friction_standard_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_friction_standard_set
- * @{
- * @objective Positive Test case 01: Set the standard velocity of the scroller
- * @n Input data:
- * @li thumb scroll friction standard (0.5)
- *
- * @procedure
- * @step 1 Set thumb scroll friction standard to 0.5
- * @step 2 Get thumb scroll friction standard
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_friction_standard_set_p_01)
-{
- double velocity = 0.0;
-
- elm_config_scroll_thumbscroll_friction_standard_set(0.5);
- velocity = elm_config_scroll_thumbscroll_friction_standard_get();
-
- if (fabs(velocity - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_friction_standard_set
- * @{
- * @objective Positive Test case 02: Checks if function call with negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li thumb scroll friction standard (-0.5)
- *
- * @procedure
- * @step 1 Set thumb scroll friction standard to -0.5
- * @step 2 Get thumb scroll friction standard
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_friction_standard_set_p_02)
-{
- double velocity = 0.0;
-
- elm_config_scroll_thumbscroll_friction_standard_set(-0.5);
- velocity = elm_config_scroll_thumbscroll_friction_standard_get();
-
- if (fabs(velocity + 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_friction_standard_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_friction_standard_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_standard_set_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_friction_standard_set_p_02);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_hold_threshold_get elm_config_scroll_thumbscroll_hold_threshold_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_hold_threshold_get
- * @{
- * @objective Positive Test case 01: Get the number of pixels the range which can be scrolled,
- * while the scroller is holded
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll hold threshold to 1
- * @step 2 Get thumb scroll hold threshold
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_hold_threshold_get_p_01)
-{
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_hold_threshold_set(1);
- thumbscroll = elm_config_scroll_thumbscroll_hold_threshold_get();
-
- if (thumbscroll != 1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_hold_threshold_get
- * @{
- * @objective Positive Test case 02: Checks if get negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll hold threshold to -1
- * @step 2 Get thumb scroll hold threshold
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_hold_threshold_get_p_02)
-{
-
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_hold_threshold_set(-1);
- thumbscroll = elm_config_scroll_thumbscroll_hold_threshold_get();
-
- if (thumbscroll != -1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_hold_threshold_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_hold_threshold_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_hold_threshold_get_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_hold_threshold_get_p_02);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_hold_threshold_set elm_config_scroll_thumbscroll_hold_threshold_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_hold_threshold_set
+ * @{
+ * @objective Positive Test case 01: Set the number of pixels the range which can be scrolled,
+ * while the scroller is holded
+ * @Input data:
+ * @li thumb scroll hold threshold (1)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll hold threshold to 1
+ * @step 2 Get thumb scroll hold threshold
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (1) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_01)
+{
+ int thumbscroll = 0;
+
+ elm_config_scroll_thumbscroll_hold_threshold_set(1);
+ thumbscroll = elm_config_scroll_thumbscroll_hold_threshold_get();
+
+ if (thumbscroll != 1)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_hold_threshold_set
+ * @{
+ * @objective Positive Test case 02: Checks if function call with negative value
+ * works properly and without segmentation fault
+ * @Input data:
+ * @li thumb scroll hold threshold (-1)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll hold threshold to -1
+ * @step 2 Get thumb scroll hold threshold
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (-1) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_02)
+{
+
+ int thumbscroll = 0;
+
+ elm_config_scroll_thumbscroll_hold_threshold_set(-1);
+ thumbscroll = elm_config_scroll_thumbscroll_hold_threshold_get();
+
+ if (thumbscroll != -1)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_hold_threshold_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_hold_threshold_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_02);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_hold_threshold_set elm_config_scroll_thumbscroll_hold_threshold_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_hold_threshold_set
- * @{
- * @objective Positive Test case 01: Set the number of pixels the range which can be scrolled,
- * while the scroller is holded
- * @Input data:
- * @li thumb scroll hold threshold (1)
- *
- * @procedure
- * @step 1 Set thumb scroll hold threshold to 1
- * @step 2 Get thumb scroll hold threshold
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_01)
-{
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_hold_threshold_set(1);
- thumbscroll = elm_config_scroll_thumbscroll_hold_threshold_get();
-
- if (thumbscroll != 1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_hold_threshold_set
- * @{
- * @objective Positive Test case 02: Checks if function call with negative value
- * works properly and without segmentation fault
- * @Input data:
- * @li thumb scroll hold threshold (-1)
- *
- * @procedure
- * @step 1 Set thumb scroll hold threshold to -1
- * @step 2 Get thumb scroll hold threshold
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-1) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_02)
-{
-
- int thumbscroll = 0;
-
- elm_config_scroll_thumbscroll_hold_threshold_set(-1);
- thumbscroll = elm_config_scroll_thumbscroll_hold_threshold_get();
-
- if (thumbscroll != -1)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_hold_threshold_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_hold_threshold_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_hold_threshold_set_p_02);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-#include <math.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_min_friction_get elm_config_scroll_thumbscroll_min_friction_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_min_friction_get
- * @{
- * @objective Positive Test case 01: Get the min amount of inertia a scroller will impose at self scrolling
- * animations
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll friction to 0.5
- * @step 2 Get thumb scroll friction
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_min_friction_get_p_01)
-{
- double thumbscroll = 0.0;
-
- elm_config_scroll_thumbscroll_min_friction_set(0.5);
- thumbscroll = elm_config_scroll_thumbscroll_min_friction_get();
-
- if (fabs(thumbscroll - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_min_friction_get
- * @{
- * @objective Positive Test case 02: Checks if get negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set thumb scroll friction to -0.5
- * @step 2 Get thumb scroll friction
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_min_friction_get_p_02)
-{
- double thumbscroll = 0.0;
-
- elm_config_scroll_thumbscroll_min_friction_set(-0.5);
- thumbscroll = elm_config_scroll_thumbscroll_min_friction_get();
-
- if (fabs(thumbscroll + 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_min_friction_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_min_friction_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_min_friction_get_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_min_friction_get_p_02);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+#include <math.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_min_friction_set elm_config_scroll_thumbscroll_min_friction_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_min_friction_set
+ * @{
+ * @objective Positive Test case 01: Set the amount of inertia a scroller will impose at self scrolling
+ * animations
+ * @n Input data:
+ * @li thumb scroll friction (0.5)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll friction to 0.5
+ * @step 2 Get thumb scroll friction
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (0.5) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_min_friction_set_p_01)
+{
+ double thumbscroll = 0.0;
+
+ elm_config_scroll_thumbscroll_min_friction_set(0.5);
+ thumbscroll = elm_config_scroll_thumbscroll_min_friction_get();
+
+ if (fabs(thumbscroll - 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_min_friction_set
+ * @{
+ * @objective Positive Test case 02: Checks if function call with negative value
+ * works properly and without segmentation fault
+ * @n Input data:
+ * @li thumb scroll friction (-0.5)
+ *
+ * @procedure
+ * @step 1 Set thumb scroll friction to -0.5
+ * @step 2 Get thumb scroll friction
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (-0.5) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_min_friction_set_p_02)
+{
+ double thumbscroll = 0.0;
+
+ elm_config_scroll_thumbscroll_min_friction_set(-0.5);
+ thumbscroll = elm_config_scroll_thumbscroll_min_friction_get();
+
+ if (fabs(thumbscroll + 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_min_friction_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_min_friction_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_min_friction_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_min_friction_set_p_02);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-#include <math.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_min_friction_set elm_config_scroll_thumbscroll_min_friction_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_min_friction_set
- * @{
- * @objective Positive Test case 01: Set the amount of inertia a scroller will impose at self scrolling
- * animations
- * @n Input data:
- * @li thumb scroll friction (0.5)
- *
- * @procedure
- * @step 1 Set thumb scroll friction to 0.5
- * @step 2 Get thumb scroll friction
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_min_friction_set_p_01)
-{
- double thumbscroll = 0.0;
-
- elm_config_scroll_thumbscroll_min_friction_set(0.5);
- thumbscroll = elm_config_scroll_thumbscroll_min_friction_get();
-
- if (fabs(thumbscroll - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_min_friction_set
- * @{
- * @objective Positive Test case 02: Checks if function call with negative value
- * works properly and without segmentation fault
- * @n Input data:
- * @li thumb scroll friction (-0.5)
- *
- * @procedure
- * @step 1 Set thumb scroll friction to -0.5
- * @step 2 Get thumb scroll friction
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (-0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_min_friction_set_p_02)
-{
- double thumbscroll = 0.0;
-
- elm_config_scroll_thumbscroll_min_friction_set(-0.5);
- thumbscroll = elm_config_scroll_thumbscroll_min_friction_get();
-
- if (fabs(thumbscroll + 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_min_friction_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_min_friction_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_min_friction_set_p_01);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_min_friction_set_p_02);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_smooth_amount_get elm_config_scroll_thumbscroll_smooth_amount_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_smooth_amount_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets amount of smoothing to apply to scrolling
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set amount of smoothing to apply to scrolling in 0.5.
- * @step 2 Retrieve amount.
- * @step 3 Check returned value of amount.
- * @step 4 Set amount of smoothing to apply to scrolling in 0.0.
- * @step 5 Retrieve amount.
- * @step 6 Check returned value of amount.
- *
- * @passcondition
- * Retrieved amount value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_smooth_amount_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- double ret;
-
- elm_config_scroll_thumbscroll_smooth_amount_set(0.5);
- ret = elm_config_scroll_thumbscroll_smooth_amount_get();
-
- if (fabs(ret - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_scroll_thumbscroll_smooth_amount_set(0.0);
- ret = elm_config_scroll_thumbscroll_smooth_amount_get();
-
- if (fabs(ret) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_smooth_amount_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_amount_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_amount_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_smooth_amount_set elm_config_scroll_thumbscroll_smooth_amount_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_smooth_amount_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets amount of smoothing to apply to scrolling
+ * @n Input Data:
+ * @li double 0.5/0.0 as amount of smoothing to apply to scrolling amount
+ *
+ * @procedure
+ * @step 1 Set amount of smoothing to apply to scrolling in 0.5.
+ * @step 2 Retrieve amount.
+ * @step 3 Check returned value of amount.
+ * @step 4 Set amount of smoothing to apply to scrolling in 0.0.
+ * @step 5 Retrieve amount.
+ * @step 6 Check returned value of amount.
+ *
+ * @passcondition
+ * Retrieved amount value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_smooth_amount_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ double ret;
+
+ elm_config_scroll_thumbscroll_smooth_amount_set(0.5);
+ ret = elm_config_scroll_thumbscroll_smooth_amount_get();
+
+ if (fabs(ret - 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_scroll_thumbscroll_smooth_amount_set(0.0);
+ ret = elm_config_scroll_thumbscroll_smooth_amount_get();
+
+ if (fabs(ret) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_smooth_amount_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_amount_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_amount_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_smooth_amount_set elm_config_scroll_thumbscroll_smooth_amount_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_smooth_amount_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets amount of smoothing to apply to scrolling
- * @n Input Data:
- * @li double 0.5/0.0 as amount of smoothing to apply to scrolling amount
- *
- * @procedure
- * @step 1 Set amount of smoothing to apply to scrolling in 0.5.
- * @step 2 Retrieve amount.
- * @step 3 Check returned value of amount.
- * @step 4 Set amount of smoothing to apply to scrolling in 0.0.
- * @step 5 Retrieve amount.
- * @step 6 Check returned value of amount.
- *
- * @passcondition
- * Retrieved amount value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_smooth_amount_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- double ret;
-
- elm_config_scroll_thumbscroll_smooth_amount_set(0.5);
- ret = elm_config_scroll_thumbscroll_smooth_amount_get();
-
- if (fabs(ret - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_scroll_thumbscroll_smooth_amount_set(0.0);
- ret = elm_config_scroll_thumbscroll_smooth_amount_get();
-
- if (fabs(ret) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_smooth_amount_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_amount_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_amount_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_smooth_start_get elm_config_scroll_thumbscroll_smooth_start_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_smooth_start_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets the smooth start mode for scrolling with your finger
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set the smooth start mode for scrolling with your finger in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set the smooth start mode for scrolling with your finger in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_smooth_start_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_scroll_thumbscroll_smooth_start_set(EINA_TRUE);
- ret = elm_config_scroll_thumbscroll_smooth_start_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_scroll_thumbscroll_smooth_start_set(EINA_FALSE);
- ret = elm_config_scroll_thumbscroll_smooth_start_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_smooth_start_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_start_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_start_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_smooth_start_set elm_config_scroll_thumbscroll_smooth_start_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_smooth_start_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the smooth start mode for scrolling with your finger
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as the smooth start mode for scrolling with your finger mode
+ *
+ * @procedure
+ * @step 1 Set the smooth start mode for scrolling with your finger in EINA_TRUE.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set the smooth start mode for scrolling with your finger in EINA_FALSE.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_smooth_start_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_scroll_thumbscroll_smooth_start_set(EINA_TRUE);
+ ret = elm_config_scroll_thumbscroll_smooth_start_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_scroll_thumbscroll_smooth_start_set(EINA_FALSE);
+ ret = elm_config_scroll_thumbscroll_smooth_start_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_smooth_start_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_start_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_start_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_smooth_start_set elm_config_scroll_thumbscroll_smooth_start_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_smooth_start_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the smooth start mode for scrolling with your finger
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as the smooth start mode for scrolling with your finger mode
- *
- * @procedure
- * @step 1 Set the smooth start mode for scrolling with your finger in EINA_TRUE.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set the smooth start mode for scrolling with your finger in EINA_FALSE.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_smooth_start_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_scroll_thumbscroll_smooth_start_set(EINA_TRUE);
- ret = elm_config_scroll_thumbscroll_smooth_start_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_scroll_thumbscroll_smooth_start_set(EINA_FALSE);
- ret = elm_config_scroll_thumbscroll_smooth_start_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_smooth_start_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_start_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_start_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_smooth_time_window_get elm_config_scroll_thumbscroll_smooth_time_window_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_smooth_time_window_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets the time window to look back at for events for smoothing
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set the time window to look back at for events for smoothing in 0.5.
- * @step 2 Retrieve amount.
- * @step 3 Check returned value of amount.
- * @step 4 Set the time window to look back at for events for smoothing in 0.0.
- * @step 5 Retrieve amount.
- * @step 6 Check returned value of amount.
- *
- * @passcondition
- * Retrieved amount value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_smooth_time_window_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- double ret;
-
- elm_config_scroll_thumbscroll_smooth_time_window_set(0.5);
- ret = elm_config_scroll_thumbscroll_smooth_time_window_get();
-
- if (fabs(ret - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_scroll_thumbscroll_smooth_time_window_set(0.0);
- ret = elm_config_scroll_thumbscroll_smooth_time_window_get();
-
- if (fabs(ret) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_smooth_time_window_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_time_window_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_time_window_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_scroll_thumbscroll_smooth_time_window_set elm_config_scroll_thumbscroll_smooth_time_window_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_scroll_thumbscroll_smooth_time_window_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the time window to look back at for events for smoothing
+ * @n Input Data:
+ * @li double 0.5/0.0 as the time window to look back at for events for smoothing amount
+ *
+ * @procedure
+ * @step 1 Set the time window to look back at for events for smoothing in 0.5.
+ * @step 2 Retrieve amount.
+ * @step 3 Check returned value of amount.
+ * @step 4 Set the time window to look back at for events for smoothing in 0.0.
+ * @step 5 Retrieve amount.
+ * @step 6 Check returned value of amount.
+ *
+ * @passcondition
+ * Retrieved amount value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_scroll_thumbscroll_smooth_time_window_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ double ret;
+
+ elm_config_scroll_thumbscroll_smooth_time_window_set(0.5);
+ ret = elm_config_scroll_thumbscroll_smooth_time_window_get();
+
+ if (fabs(ret - 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_scroll_thumbscroll_smooth_time_window_set(0.0);
+ ret = elm_config_scroll_thumbscroll_smooth_time_window_get();
+
+ if (fabs(ret) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_scroll_thumbscroll_smooth_time_window_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_time_window_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_time_window_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_scroll_thumbscroll_smooth_time_window_set elm_config_scroll_thumbscroll_smooth_time_window_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_scroll_thumbscroll_smooth_time_window_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the time window to look back at for events for smoothing
- * @n Input Data:
- * @li double 0.5/0.0 as the time window to look back at for events for smoothing amount
- *
- * @procedure
- * @step 1 Set the time window to look back at for events for smoothing in 0.5.
- * @step 2 Retrieve amount.
- * @step 3 Check returned value of amount.
- * @step 4 Set the time window to look back at for events for smoothing in 0.0.
- * @step 5 Retrieve amount.
- * @step 6 Check returned value of amount.
- *
- * @passcondition
- * Retrieved amount value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_scroll_thumbscroll_smooth_time_window_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- double ret;
-
- elm_config_scroll_thumbscroll_smooth_time_window_set(0.5);
- ret = elm_config_scroll_thumbscroll_smooth_time_window_get();
-
- if (fabs(ret - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_scroll_thumbscroll_smooth_time_window_set(0.0);
- ret = elm_config_scroll_thumbscroll_smooth_time_window_get();
-
- if (fabs(ret) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_scroll_thumbscroll_smooth_time_window_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_scroll_thumbscroll_smooth_time_window_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_scroll_thumbscroll_smooth_time_window_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_selection_unfocused_clear_get elm_config_selection_unfocused_clear_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_selection_unfocused_clear_get
- * @{
- * @objective Positive Test case 01: Get whether selection should be cleared when entry widget is unfocused
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set the selection would be cleared on unfocus (EINA_TRUE)
- * @step 2 Get state
- * @step 3 Compare set value with get value
- * @step 4 Set the selection would not be cleared on unfocus (EINA_FALSE)
- * @step 5 Get state
- * @step 6 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_selection_unfocused_clear_get_p_01)
-{
- Eina_Bool result = EINA_FALSE;
-
- elm_config_selection_unfocused_clear_set(EINA_TRUE);
- result = elm_config_selection_unfocused_clear_get();
-
- if (result != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- elm_config_selection_unfocused_clear_set(EINA_FALSE);
- result = elm_config_selection_unfocused_clear_get();
-
- if (result != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
- //TODO: to separate this test case into two different test cases
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_selection_unfocused_clear_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_selection_unfocused_clear_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_selection_unfocused_clear_get_p_01);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_selection_unfocused_clear_set elm_config_selection_unfocused_clear_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_selection_unfocused_clear_set
+ * @{
+ * @objective Positive Test case 01: Set whether selection should be cleared when entry widget is unfocused
+ * @n Input data:
+ * @li EINA_TRUE, clear selection when unfocus
+ *
+ * @procedure
+ * @step 1 Set the selection would be cleared on unfocus (EINA_TRUE)
+ * @step 2 Get state
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (EINA_TRUE) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_selection_unfocused_clear_set_p_01)
+{
+ Eina_Bool result = EINA_FALSE;
+
+ elm_config_selection_unfocused_clear_set(EINA_TRUE);
+ result = elm_config_selection_unfocused_clear_get();
+
+ if (result != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_selection_unfocused_clear_set
+ * @{
+ * @objective Positive Test case 02: Checks if function call with EINA_FALSE
+ * works properly and without segmentation fault
+ * @n Input data:
+ * @li EINA_FALSE, does not clear selection when unfocus
+ *
+ * @procedure
+ * @step 1 Set does not clear selection when unfocus (EINA_FALSE)
+ * @step 2 Get state
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (EINA_FALSE) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_selection_unfocused_clear_set_p_02)
+{
+ Eina_Bool result = EINA_TRUE;
+
+ elm_config_selection_unfocused_clear_set(EINA_FALSE);
+ result = elm_config_selection_unfocused_clear_get();
+
+ if (result != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_selection_unfocused_clear_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_selection_unfocused_clear_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_selection_unfocused_clear_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_selection_unfocused_clear_set_p_02);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_selection_unfocused_clear_set elm_config_selection_unfocused_clear_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_selection_unfocused_clear_set
- * @{
- * @objective Positive Test case 01: Set whether selection should be cleared when entry widget is unfocused
- * @n Input data:
- * @li EINA_TRUE, clear selection when unfocus
- *
- * @procedure
- * @step 1 Set the selection would be cleared on unfocus (EINA_TRUE)
- * @step 2 Get state
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (EINA_TRUE) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_selection_unfocused_clear_set_p_01)
-{
- Eina_Bool result = EINA_FALSE;
-
- elm_config_selection_unfocused_clear_set(EINA_TRUE);
- result = elm_config_selection_unfocused_clear_get();
-
- if (result != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_selection_unfocused_clear_set
- * @{
- * @objective Positive Test case 02: Checks if function call with EINA_FALSE
- * works properly and without segmentation fault
- * @n Input data:
- * @li EINA_FALSE, does not clear selection when unfocus
- *
- * @procedure
- * @step 1 Set does not clear selection when unfocus (EINA_FALSE)
- * @step 2 Get state
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (EINA_FALSE) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_selection_unfocused_clear_set_p_02)
-{
- Eina_Bool result = EINA_TRUE;
-
- elm_config_selection_unfocused_clear_set(EINA_FALSE);
- result = elm_config_selection_unfocused_clear_get();
-
- if (result != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_selection_unfocused_clear_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_selection_unfocused_clear_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_selection_unfocused_clear_set_p_01);
- tcase_add_test(tcase, utc_elm_config_selection_unfocused_clear_set_p_02);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_slider_indicator_visible_mode_get elm_config_slider_indicator_visible_mode_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_slider_indicator_visible_mode_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets the slider's indicator visible mode
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- * @step 7 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS.
- * @step 8 Retrieve mode.
- * @step 9 Check returned value of mode.
- * @step 10 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE.
- * @step 11 Retrieve mode.
- * @step 12 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_slider_indicator_visible_mode_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Elm_Slider_Indicator_Visible_Mode ret = ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE;
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_slider_indicator_visible_mode_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_slider_indicator_visible_mode_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_slider_indicator_visible_mode_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_slider_indicator_visible_mode_set elm_config_slider_indicator_visible_mode_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_slider_indicator_visible_mode_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the slider's indicator visible mode
+ * @n Input Data:
+ * @li Elm_Slider_Indicator_Visible_Mode modes
+ *
+ * @procedure
+ * @step 1 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT.
+ * @step 2 Retrieve mode.
+ * @step 3 Check returned value of mode.
+ * @step 4 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS.
+ * @step 5 Retrieve mode.
+ * @step 6 Check returned value of mode.
+ * @step 7 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS.
+ * @step 8 Retrieve mode.
+ * @step 9 Check returned value of mode.
+ * @step 10 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE.
+ * @step 11 Retrieve mode.
+ * @step 12 Check returned value of mode.
+ *
+ * @passcondition
+ * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_slider_indicator_visible_mode_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Elm_Slider_Indicator_Visible_Mode ret = ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE;
+
+ elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT);
+ ret = elm_config_slider_indicator_visible_mode_get();
+
+ if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS);
+ ret = elm_config_slider_indicator_visible_mode_get();
+
+ if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS);
+ ret = elm_config_slider_indicator_visible_mode_get();
+
+ if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE);
+ ret = elm_config_slider_indicator_visible_mode_get();
+
+ if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_slider_indicator_visible_mode_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_slider_indicator_visible_mode_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_slider_indicator_visible_mode_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_slider_indicator_visible_mode_set elm_config_slider_indicator_visible_mode_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_slider_indicator_visible_mode_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the slider's indicator visible mode
- * @n Input Data:
- * @li Elm_Slider_Indicator_Visible_Mode modes
- *
- * @procedure
- * @step 1 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT.
- * @step 2 Retrieve mode.
- * @step 3 Check returned value of mode.
- * @step 4 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS.
- * @step 5 Retrieve mode.
- * @step 6 Check returned value of mode.
- * @step 7 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS.
- * @step 8 Retrieve mode.
- * @step 9 Check returned value of mode.
- * @step 10 Set the slider's indicator visible mode in ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE.
- * @step 11 Retrieve mode.
- * @step 12 Check returned value of mode.
- *
- * @passcondition
- * Retrieved mode enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_slider_indicator_visible_mode_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Elm_Slider_Indicator_Visible_Mode ret = ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE;
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_slider_indicator_visible_mode_set(ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE);
- ret = elm_config_slider_indicator_visible_mode_get();
-
- if (ret != ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_slider_indicator_visible_mode_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_slider_indicator_visible_mode_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_slider_indicator_visible_mode_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_softcursor_mode_get elm_config_softcursor_mode_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_softcursor_mode_get
- * @{
- * @objective Positive Test case 01: Get the software cursor mode
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_AUTO
- * @step 2 Get mode used for software cursors
- * @step 3 Compare set value with get value
- * @step 4 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_ON
- * @step 5 Get mode used for software cursors
- * @step 6 Compare set value with get value
- * @step 7 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_OFF
- * @step 8 Get mode used for software cursors
- * @step 9 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_softcursor_mode_get_p_01)
-{
- Elm_Softcursor_Mode mode;
-
- elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_AUTO);
- mode = elm_config_softcursor_mode_get();
- if (mode != ELM_SOFTCURSOR_MODE_AUTO)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_ON);
- mode = elm_config_softcursor_mode_get();
- if (mode != ELM_SOFTCURSOR_MODE_ON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_OFF);
- mode = elm_config_softcursor_mode_get();
- if (mode != ELM_SOFTCURSOR_MODE_OFF)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
- //TODO: to separate this test case into 3 different test cases
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_softcursor_mode_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_softcursor_mode_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_softcursor_mode_get_p_01);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_softcursor_mode_set elm_config_softcursor_mode_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_softcursor_mode_set
+ * @{
+ * @objective Positive Test case 01: Set the software cursor mode
+ * @n Input data:
+ * @li mode used for software cursors
+ *
+ * @procedure
+ * @step 1 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_AUTO
+ * @step 2 Get mode used for software cursors
+ * @step 3 Compare set value with get value
+ * @step 4 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_ON
+ * @step 5 Get mode used for software cursors
+ * @step 6 Compare set value with get value
+ * @step 7 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_OFF
+ * @step 8 Get mode used for software cursors
+ * @step 9 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_softcursor_mode_set_p_01)
+{
+ Elm_Softcursor_Mode mode;
+
+ elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_AUTO);
+ mode = elm_config_softcursor_mode_get();
+ if (mode != ELM_SOFTCURSOR_MODE_AUTO)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_ON);
+ mode = elm_config_softcursor_mode_get();
+ if (mode != ELM_SOFTCURSOR_MODE_ON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_OFF);
+ mode = elm_config_softcursor_mode_get();
+ if (mode != ELM_SOFTCURSOR_MODE_OFF)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+ //TODO: to separate this test case into 3 different test cases
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_softcursor_mode_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_softcursor_mode_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_softcursor_mode_set_p_01);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_softcursor_mode_set elm_config_softcursor_mode_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_softcursor_mode_set
- * @{
- * @objective Positive Test case 01: Set the software cursor mode
- * @n Input data:
- * @li mode used for software cursors
- *
- * @procedure
- * @step 1 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_AUTO
- * @step 2 Get mode used for software cursors
- * @step 3 Compare set value with get value
- * @step 4 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_ON
- * @step 5 Get mode used for software cursors
- * @step 6 Compare set value with get value
- * @step 7 Set mode used for software cursors to ELM_SOFTCURSOR_MODE_OFF
- * @step 8 Get mode used for software cursors
- * @step 9 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_softcursor_mode_set_p_01)
-{
- Elm_Softcursor_Mode mode;
-
- elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_AUTO);
- mode = elm_config_softcursor_mode_get();
- if (mode != ELM_SOFTCURSOR_MODE_AUTO)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_ON);
- mode = elm_config_softcursor_mode_get();
- if (mode != ELM_SOFTCURSOR_MODE_ON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- elm_config_softcursor_mode_set(ELM_SOFTCURSOR_MODE_OFF);
- mode = elm_config_softcursor_mode_get();
- if (mode != ELM_SOFTCURSOR_MODE_OFF)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
- //TODO: to separate this test case into 3 different test cases
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_softcursor_mode_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_softcursor_mode_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_softcursor_mode_set_p_01);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_text_classes_list_free elm_config_text_classes_list_free()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_text_classes_list_free
- * @{
- * @objective: Positive test case checks that the tested function frees received list with text classes without any errors.
- * @n Input Data: object which contains list with text classes.
- *
- * @procedure
- * @step 1 Get text classes list.
- * @step 2 Call tested function for freeing the returned list.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_text_classes_list_free_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_List *text_classes_list = NULL;
-
- text_classes_list = elm_config_text_classes_list_get();
- if (text_classes_list == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (text classes list cannot be retrieved)..", __FILE__, __LINE__);
- return;
- }
- elm_config_text_classes_list_free(text_classes_list);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_text_classes_list_free
- * @{
- * @objective: Negative test case checks situation if the argument of tested function is NULL.
- * @n Input Data: NULL instead of the list parameter.
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the list parameter.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_text_classes_list_free_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- UNITEST_FUNC_NEG(elm_config_text_classes_list_free, NULL);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_text_classes_list_free()
-{
- TCase *tcase = tcase_create("utc_elm_config_text_classes_list_free");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_text_classes_list_free_p);
- tcase_add_test(tcase, utc_elm_config_text_classes_list_free_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_text_classes_list_get elm_config_text_classes_list_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_text_classes_list_get
- * @{
- * @objective: Positive test case checks that the tested function correctly retrieves list with text classes.
- * @n Input Data: none.
- *
- * @procedure
- * @step 1 Call tested function for retrieving the text classes list.
- * @step 2 Check value returned by tested function.
- *
- * @passcondition
- * Function must return nonnull object which contains list with text classes. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_text_classes_list_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- const Eina_List *text_classes_list = NULL;
-
- text_classes_list = elm_config_text_classes_list_get();
-
- if (text_classes_list == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_text_classes_list_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_text_classes_list_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_text_classes_list_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+#include "../../utc_negative_unitest.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_text_classes_list_free elm_config_text_classes_list_free()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_text_classes_list_free
+ * @{
+ * @objective: Positive test case checks that the tested function frees received list with text classes without any errors.
+ * @n Input Data: object which contains list with text classes.
+ *
+ * @procedure
+ * @step 1 Get text classes list.
+ * @step 2 Call tested function for freeing the returned list.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_text_classes_list_free_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_List *text_classes_list = NULL;
+
+ text_classes_list = elm_config_text_classes_list_get();
+ if (text_classes_list == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (text classes list cannot be retrieved)..", __FILE__, __LINE__);
+ }
+ elm_config_text_classes_list_free(text_classes_list);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_text_classes_list_free
+ * @{
+ * @objective: Negative test case checks situation if the argument of tested function is NULL.
+ * @n Input Data: NULL instead of the list parameter.
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the list parameter.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_text_classes_list_free_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ UNITEST_FUNC_NEG(elm_config_text_classes_list_free, NULL);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_text_classes_list_get_free()
+{
+ TCase *tcase = tcase_create("utc_elm_config_text_classes_list_get_free");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_text_classes_list_free_p);
+ tcase_add_test(tcase, utc_elm_config_text_classes_list_free_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-#include <math.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_tooltip_delay_get elm_config_tooltip_delay_get()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_tooltip_delay_get
- * @{
- * @objective Positive Test case 01: Get the duration after which tooltip will be shown
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set duration after which tooltip will be shown to 0.5
- * @step 2 Get duration after which tooltip will be shown
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_tooltip_delay_get_p_01)
-{
- double delay = 0.0;
-
- elm_config_tooltip_delay_set(0.5);
- delay = elm_config_tooltip_delay_get();
-
- if (fabs(delay - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_tooltip_delay_get
- * @{
- * @objective Negative Test case 01: Checks if get negative value works properly
- * and without segmentation fault
- * @n Input data:
- * @li no input parameters
- *
- * @procedure
- * @step 1 Set duration after which tooltip will be shown to 5.0
- * @step 2 Get duration after which tooltip will be shown
- * @step 3 Set duration after which tooltip will be shown to -0.5
- * @step 4 Get duration after which tooltip will be shown
- * @step 5 Compare first get value with second get value
- *
- * @passcondition Test passes if returned value from second get function equal to first set value (5.0) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_tooltip_delay_get_n_01)
-{
- double delay1 = 0.0;
- double delay2 = 0.0;
-
- elm_config_tooltip_delay_set(5.0);
- delay1 = elm_config_tooltip_delay_get();
-
- elm_config_tooltip_delay_set(-0.5);
- delay2 = elm_config_tooltip_delay_get();
-
- if (fabs(delay1 - delay2) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_tooltip_delay_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_tooltip_delay_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_tooltip_delay_get_p_01);
- tcase_add_test(tcase, utc_elm_config_tooltip_delay_get_n_01);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include "../../utc_negative_unitest.h"
+#include <string.h>
+#include <math.h>
+static Evas_Object *main_win = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_tooltip_delay_set elm_config_tooltip_delay_set()
+ *
+ * @precondition
+ * @step 1 Initialize Elementary
+ * @step 2 Create main window
+ */
+
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
+ if (main_win == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
+ }
+}
+
+static void
+teardown(void)
+{
+ if (main_win != NULL)
+ {
+ evas_object_del(main_win);
+ main_win = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_tooltip_delay_set
+ * @{
+ * @objective Positive Test case 01: Set the duration after which tooltip will be shown
+ * @n Input data:
+ * @li duration after which tooltip will be shown (0.5)
+ *
+ * @procedure
+ * @step 1 Set duration after which tooltip will be shown to 0.5
+ * @step 2 Get duration after which tooltip will be shown
+ * @step 3 Compare set value with get value
+ *
+ * @passcondition Test passes if returned value from get function equal to set (0.5) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_tooltip_delay_set_p_01)
+{
+ double delay = 0.0;
+
+ elm_config_tooltip_delay_set(0.5);
+ delay = elm_config_tooltip_delay_get();
+
+ if (fabs(delay - 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_config_tooltip_delay_set
+ * @{
+ * @objective Negative Test case 01: Checks if function call with negative value works properly
+ * and without segmentation fault
+ * @n Input data:
+ * @li duration after which tooltip will be shown
+ *
+ * @procedure
+ * @step 1 Set duration after which tooltip will be shown to 5.0
+ * @step 2 Get duration after which tooltip will be shown
+ * @step 3 Set duration after which tooltip will be shown to -0.5
+ * @step 4 Get duration after which tooltip will be shown
+ * @step 5 Compare first get value with second get value
+ *
+ * @passcondition Test passes if returned value from second get function equal to first set value (5.0) and
+ * there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_tooltip_delay_set_n_01)
+{
+ double delay1 = 0.0;
+ double delay2 = 0.0;
+
+ elm_config_tooltip_delay_set(5.0);
+ delay1 = elm_config_tooltip_delay_get();
+
+ elm_config_tooltip_delay_set(-0.5);
+ delay2 = elm_config_tooltip_delay_get();
+
+ if (fabs(delay1 - delay2) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
+ }
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
+}
+END_TEST
+
+/**
+ *@}
+ */
+
+TCase * _utc_elm_config_tooltip_delay_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_tooltip_delay_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_tooltip_delay_set_p_01);
+ tcase_add_test(tcase, utc_elm_config_tooltip_delay_set_n_01);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include "../../utc_negative_unitest.h"
-#include <string.h>
-#include <math.h>
-static Evas_Object *main_win = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_tooltip_delay_set elm_config_tooltip_delay_set()
- *
- * @precondition
- * @step 1 Initialize Elementary
- * @step 2 Create main window
- */
-
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- main_win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
- if (main_win == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Unable to create a main window..", __FILE__, __LINE__);
- return;
- }
-}
-
-static void
-teardown(void)
-{
- if (main_win != NULL)
- {
- evas_object_del(main_win);
- main_win = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_tooltip_delay_set
- * @{
- * @objective Positive Test case 01: Set the duration after which tooltip will be shown
- * @n Input data:
- * @li duration after which tooltip will be shown (0.5)
- *
- * @procedure
- * @step 1 Set duration after which tooltip will be shown to 0.5
- * @step 2 Get duration after which tooltip will be shown
- * @step 3 Compare set value with get value
- *
- * @passcondition Test passes if returned value from get function equal to set (0.5) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_tooltip_delay_set_p_01)
-{
- double delay = 0.0;
-
- elm_config_tooltip_delay_set(0.5);
- delay = elm_config_tooltip_delay_get();
-
- if (fabs(delay - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_config_tooltip_delay_set
- * @{
- * @objective Negative Test case 01: Checks if function call with negative value works properly
- * and without segmentation fault
- * @n Input data:
- * @li duration after which tooltip will be shown
- *
- * @procedure
- * @step 1 Set duration after which tooltip will be shown to 5.0
- * @step 2 Get duration after which tooltip will be shown
- * @step 3 Set duration after which tooltip will be shown to -0.5
- * @step 4 Get duration after which tooltip will be shown
- * @step 5 Compare first get value with second get value
- *
- * @passcondition Test passes if returned value from second get function equal to first set value (5.0) and
- * there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_tooltip_delay_set_n_01)
-{
- double delay1 = 0.0;
- double delay2 = 0.0;
-
- elm_config_tooltip_delay_set(5.0);
- delay1 = elm_config_tooltip_delay_get();
-
- elm_config_tooltip_delay_set(-0.5);
- delay2 = elm_config_tooltip_delay_get();
-
- if (fabs(delay1 - delay2) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__,__LINE__);
- return;
- }
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__,__LINE__);
-}
-END_TEST
-
-/**
- *@}
- */
-
-TCase * _utc_elm_config_tooltip_delay_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_tooltip_delay_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_tooltip_delay_set_p_01);
- tcase_add_test(tcase, utc_elm_config_tooltip_delay_set_n_01);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_transition_duration_factor_get elm_config_transition_duration_factor_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_transition_duration_factor_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets the duration factor of transitions
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set the duration factor of transitions in 0.5.
- * @step 2 Retrieve factor.
- * @step 3 Check returned value of factor.
- * @step 4 Set the duration factor of transitions in 0.0.
- * @step 5 Retrieve factor.
- * @step 6 Check returned value of factor.
- *
- * @passcondition
- * Retrieved factor value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_transition_duration_factor_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- double ret;
-
- elm_config_transition_duration_factor_set(0.5);
- ret = elm_config_transition_duration_factor_get();
-
- if (fabs(ret - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_transition_duration_factor_set(0.0);
- ret = elm_config_transition_duration_factor_get();
-
- if (fabs(ret) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_transition_duration_factor_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_transition_duration_factor_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_transition_duration_factor_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+#include <math.h>
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_transition_duration_factor_set elm_config_transition_duration_factor_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_transition_duration_factor_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the transition duration factor
+ * @n Input Data:
+ * @li double 0.5/0.0 as the transition duration factor
+ *
+ * @procedure
+ * @step 1 Set the transition duration factor in 0.5.
+ * @step 2 Retrieve factor.
+ * @step 3 Check returned value of factor.
+ * @step 4 Set the transition duration factor in 0.0.
+ * @step 5 Retrieve factor.
+ * @step 6 Check returned value of factor.
+ *
+ * @passcondition
+ * Retrieved factor value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_transition_duration_factor_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ double ret;
+
+ elm_config_transition_duration_factor_set(0.5);
+ ret = elm_config_transition_duration_factor_get();
+
+ if (fabs(ret - 0.5) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_transition_duration_factor_set(0.0);
+ ret = elm_config_transition_duration_factor_get();
+
+ if (fabs(ret) > DBL_EPSILON)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_transition_duration_factor_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_transition_duration_factor_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_transition_duration_factor_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-#include <math.h>
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_transition_duration_factor_set elm_config_transition_duration_factor_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_transition_duration_factor_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the transition duration factor
- * @n Input Data:
- * @li double 0.5/0.0 as the transition duration factor
- *
- * @procedure
- * @step 1 Set the transition duration factor in 0.5.
- * @step 2 Retrieve factor.
- * @step 3 Check returned value of factor.
- * @step 4 Set the transition duration factor in 0.0.
- * @step 5 Retrieve factor.
- * @step 6 Check returned value of factor.
- *
- * @passcondition
- * Retrieved factor value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_transition_duration_factor_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- double ret;
-
- elm_config_transition_duration_factor_set(0.5);
- ret = elm_config_transition_duration_factor_get();
-
- if (fabs(ret - 0.5) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_transition_duration_factor_set(0.0);
- ret = elm_config_transition_duration_factor_get();
-
- if (fabs(ret) > DBL_EPSILON)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_transition_duration_factor_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_transition_duration_factor_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_transition_duration_factor_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_vsync_get elm_config_vsync_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_vsync_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets the configured vsync flag
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set the configured vsync flag in EINA_TRUE.
- * @step 2 Retrieve flag.
- * @step 3 Check returned value of flag.
- * @step 4 Set the configured vsync flag in EINA_FALSE.
- * @step 5 Retrieve flag.
- * @step 6 Check returned value of flag.
- *
- * @passcondition
- * Retrieved flag enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_vsync_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_vsync_set(EINA_TRUE);
- ret = elm_config_vsync_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_vsync_set(EINA_FALSE);
- ret = elm_config_vsync_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_vsync_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_vsync_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_vsync_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_vsync_set elm_config_vsync_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_vsync_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the configured vsync flag
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as the configured vsync flag
+ *
+ * @procedure
+ * @step 1 Set the configured vsync flag in EINA_TRUE.
+ * @step 2 Retrieve flag.
+ * @step 3 Check returned value of flag.
+ * @step 4 Set the configured vsync flag in EINA_FALSE.
+ * @step 5 Retrieve flag.
+ * @step 6 Check returned value of flag.
+ *
+ * @passcondition
+ * Retrieved flag enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_vsync_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_vsync_set(EINA_TRUE);
+ ret = elm_config_vsync_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_vsync_set(EINA_FALSE);
+ ret = elm_config_vsync_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_vsync_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_vsync_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_vsync_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_vsync_set elm_config_vsync_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_vsync_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the configured vsync flag
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as the configured vsync flag
- *
- * @procedure
- * @step 1 Set the configured vsync flag in EINA_TRUE.
- * @step 2 Retrieve flag.
- * @step 3 Check returned value of flag.
- * @step 4 Set the configured vsync flag in EINA_FALSE.
- * @step 5 Retrieve flag.
- * @step 6 Check returned value of flag.
- *
- * @passcondition
- * Retrieved flag enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_vsync_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_vsync_set(EINA_TRUE);
- ret = elm_config_vsync_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_vsync_set(EINA_FALSE);
- ret = elm_config_vsync_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_vsync_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_vsync_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_vsync_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_window_auto_focus_animate_get elm_config_window_auto_focus_animate_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_window_auto_focus_animate_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets the auto focus animation flag
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set the auto focus animation flag in EINA_TRUE.
- * @step 2 Retrieve flag.
- * @step 3 Check returned value of flag.
- * @step 4 Set the auto focus animation flag in EINA_FALSE.
- * @step 5 Retrieve flag.
- * @step 6 Check returned value of flag.
- *
- * @passcondition
- * Retrieved flag enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_window_auto_focus_animate_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_window_auto_focus_animate_set(EINA_TRUE);
- ret = elm_config_window_auto_focus_animate_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_window_auto_focus_animate_set(EINA_FALSE);
- ret = elm_config_window_auto_focus_animate_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_window_auto_focus_animate_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_window_auto_focus_animate_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_window_auto_focus_animate_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_window_auto_focus_animate_set elm_config_window_auto_focus_animate_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_window_auto_focus_animate_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the auto focus animation flag
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as the auto focus animation flag
+ *
+ * @procedure
+ * @step 1 Set the auto focus animation flag in EINA_TRUE.
+ * @step 2 Retrieve flag.
+ * @step 3 Check returned value of flag.
+ * @step 4 Set the auto focus animation flag in EINA_FALSE.
+ * @step 5 Retrieve flag.
+ * @step 6 Check returned value of flag.
+ *
+ * @passcondition
+ * Retrieved flag enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_window_auto_focus_animate_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_window_auto_focus_animate_set(EINA_TRUE);
+ ret = elm_config_window_auto_focus_animate_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_window_auto_focus_animate_set(EINA_FALSE);
+ ret = elm_config_window_auto_focus_animate_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_window_auto_focus_animate_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_window_auto_focus_animate_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_window_auto_focus_animate_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_window_auto_focus_animate_set elm_config_window_auto_focus_animate_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_window_auto_focus_animate_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the auto focus animation flag
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as the auto focus animation flag
- *
- * @procedure
- * @step 1 Set the auto focus animation flag in EINA_TRUE.
- * @step 2 Retrieve flag.
- * @step 3 Check returned value of flag.
- * @step 4 Set the auto focus animation flag in EINA_FALSE.
- * @step 5 Retrieve flag.
- * @step 6 Check returned value of flag.
- *
- * @passcondition
- * Retrieved flag enabled value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_window_auto_focus_animate_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_window_auto_focus_animate_set(EINA_TRUE);
- ret = elm_config_window_auto_focus_animate_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_window_auto_focus_animate_set(EINA_FALSE);
- ret = elm_config_window_auto_focus_animate_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_window_auto_focus_animate_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_window_auto_focus_animate_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_window_auto_focus_animate_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_window_auto_focus_enable_get elm_config_window_auto_focus_enable_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_window_auto_focus_enable_get
- * @{
- * @objective: Positive test case checks that the tested function correctly gets the auto focus enabled state
- * @n Input Data: none
- *
- * @procedure
- * @step 1 Set the auto focus enabled state in EINA_TRUE.
- * @step 2 Retrieve state.
- * @step 3 Check returned value of state.
- * @step 4 Set the auto focus enabled state in EINA_FALSE.
- * @step 5 Retrieve state.
- * @step 6 Check returned value of state.
- *
- * @passcondition
- * Retrieved state value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_window_auto_focus_enable_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_window_auto_focus_enable_set(EINA_TRUE);
- ret = elm_config_window_auto_focus_enable_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_window_auto_focus_enable_set(EINA_FALSE);
- ret = elm_config_window_auto_focus_enable_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_window_auto_focus_enable_get()
-{
- TCase *tcase = tcase_create("utc_elm_config_window_auto_focus_enable_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_window_auto_focus_enable_get_p);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_config_window_auto_focus_enable_set elm_config_window_auto_focus_enable_set()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_config_window_auto_focus_enable_set
+ * @{
+ * @objective: Positive test case checks that the tested function correctly sets the auto focus enabled state
+ * @n Input Data:
+ * @li EINA_TRUE/EINA_FALSE as the auto focus enabled state
+ *
+ * @procedure
+ * @step 1 Set the auto focus enabled state in EINA_TRUE.
+ * @step 2 Retrieve state.
+ * @step 3 Check returned value of state.
+ * @step 4 Set the auto focus enabled state in EINA_FALSE.
+ * @step 5 Retrieve state.
+ * @step 6 Check returned value of state.
+ *
+ * @passcondition
+ * Retrieved state value must be equal to the value which was set earlier. Also, there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_config_window_auto_focus_enable_set_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Bool ret;
+
+ elm_config_window_auto_focus_enable_set(EINA_TRUE);
+ ret = elm_config_window_auto_focus_enable_get();
+
+ if (ret != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+
+ elm_config_window_auto_focus_enable_set(EINA_FALSE);
+ ret = elm_config_window_auto_focus_enable_get();
+
+ if (ret != EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_config_window_auto_focus_enable_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_config_window_auto_focus_enable_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_config_window_auto_focus_enable_set_p);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_config_window_auto_focus_enable_set elm_config_window_auto_focus_enable_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_config_window_auto_focus_enable_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets the auto focus enabled state
- * @n Input Data:
- * @li EINA_TRUE/EINA_FALSE as the auto focus enabled state
- *
- * @procedure
- * @step 1 Set the auto focus enabled state in EINA_TRUE.
- * @step 2 Retrieve state.
- * @step 3 Check returned value of state.
- * @step 4 Set the auto focus enabled state in EINA_FALSE.
- * @step 5 Retrieve state.
- * @step 6 Check returned value of state.
- *
- * @passcondition
- * Retrieved state value must be equal to the value which was set earlier. Also, there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_config_window_auto_focus_enable_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- }
-
- Eina_Bool ret;
-
- elm_config_window_auto_focus_enable_set(EINA_TRUE);
- ret = elm_config_window_auto_focus_enable_get();
-
- if (ret != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
-
- elm_config_window_auto_focus_enable_set(EINA_FALSE);
- ret = elm_config_window_auto_focus_enable_get();
-
- if (ret != EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_config_window_auto_focus_enable_set()
-{
- TCase *tcase = tcase_create("utc_elm_config_window_auto_focus_enable_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_config_window_auto_focus_enable_set_p);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-static Evas *e = NULL;
-static Eina_List *font_available = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_font_available_hash_add elm_font_available_hash_add()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- * @step 2 create new Evas with evas_new()
- * @step 3 receive list of available fonts with evas_font_available_list()
- * @step 4 check if list of available fonts not empty and update startup_status
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- e = evas_new();
- if (e != NULL)
- {
- font_available = evas_font_available_list(e);
- if (font_available != NULL)
- {
- startup_status = EINA_TRUE;
- }
- }
- }
-}
-
-static void
-teardown(void)
-{
- if (e != NULL)
- {
- if (font_available != NULL)
- {
- evas_font_available_list_free(e, font_available);
- }
- evas_free(e);
- e = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_font_available_hash_add
- * @{
- * @objective: Positive test case checks that the tested function correctly create nonnull font hash table of available system fonts.
- * @n Input Data: list of available system fonts.
- *
- * @procedure
- * @step 1 Call tested function for creating font hash table of available system fonts.
- * @step 2 Check hash table returned by tested function.
- * @step 3 Delete created hash table.
- *
- * @passcondition
- * Function must return nonnull hash table, and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_available_hash_add_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Hash *hash = NULL;
-
- hash = elm_font_available_hash_add(font_available);
- if (hash == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- elm_font_available_hash_del(hash);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_font_available_hash_add
- * @{
- * @objective: Negative test case checks situation if argument of tested function is NULL.
- * @n Input Data: NULL instead of the list.
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the list.
- *
- * @passcondition
- * Function must return NULL, and there is no segmentation fault.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_font_available_hash_add_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- if (UNITEST_FUNC_NEG_RET(NULL, elm_font_available_hash_add, font_available) == TEST_FAIL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif
-
-/**
- * @}
- */
-
-TCase * _utc_elm_font_available_hash_add()
-{
- TCase *tcase = tcase_create("utc_elm_font_available_hash_add");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
-#ifdef NOT_APPROVED_FOR_BUILD
-#endif
- tcase_add_test(tcase, utc_elm_font_available_hash_add_p);
-#ifdef NOT_APPROVED_FOR_BUILD
- tcase_add_test(tcase, utc_elm_font_available_hash_add_n);
-#endif
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+#include "../../utc_negative_unitest.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+static Evas *e = NULL;
+static Eina_List *font_available = NULL;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_font_available_hash_add elm_font_available_hash_add()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ * @step 2 create new Evas with evas_new()
+ * @step 3 receive list of available fonts with evas_font_available_list()
+ * @step 4 check if list of available fonts not empty and update startup_status
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ e = evas_new();
+ if (e != NULL)
+ {
+ font_available = evas_font_available_list(e);
+ if (font_available != NULL)
+ {
+ startup_status = EINA_TRUE;
+ }
+ }
+ }
+}
+
+static void
+teardown(void)
+{
+ if (e != NULL)
+ {
+ if (font_available != NULL)
+ {
+ evas_font_available_list_free(e, font_available);
+ }
+ evas_free(e);
+ e = NULL;
+ }
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_font_available_hash_add
+ * @{
+ * @objective: Positive test case checks that the tested function correctly create nonnull font hash table of available system fonts.
+ * @n Input Data: list of available system fonts.
+ *
+ * @procedure
+ * @step 1 Call tested function for creating font hash table of available system fonts.
+ * @step 2 Check hash table returned by tested function.
+ * @step 3 Delete created hash table.
+ *
+ * @passcondition
+ * Function must return nonnull hash table, and there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_available_hash_add_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Eina_Hash *hash = NULL;
+
+ hash = elm_font_available_hash_add(font_available);
+ if (hash == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ elm_font_available_hash_del(hash);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_font_available_hash_del
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is NULL.
+ * @n Input Data: NULL instead of the hash object.
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the hash object.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_available_hash_del_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ UNITEST_FUNC_NEG(elm_font_available_hash_del, NULL);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_font_available_hash_add
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is NULL.
+ * @n Input Data: NULL instead of the list.
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the list.
+ *
+ * @passcondition
+ * Function must return NULL, and there is no segmentation fault.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_font_available_hash_add_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ if (UNITEST_FUNC_NEG_RET(NULL, elm_font_available_hash_add, font_available) == TEST_FAIL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_font_available_hash_add_del()
+{
+ TCase *tcase = tcase_create("utc_elm_font_available_hash_add_del");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_font_available_hash_add_p);
+ tcase_add_test(tcase, utc_elm_font_available_hash_del_n);
+#ifdef NOT_APPROVED_FOR_BUILD
+ tcase_add_test(tcase, utc_elm_font_available_hash_add_n);
+#endif
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-static Evas *e = NULL;
-static Eina_List *font_available = NULL;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_font_available_hash_del elm_font_available_hash_del()
- *
- * @precondition
- * @step 1 Elm initialized with elm_init()
- * @step 2 Create new Evas with evas_new()
- * @step 3 Receive list of available fonts with evas_font_available_list()
- * @step 4 Check if list of available fonts not empty and update startup_status
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- e = evas_new();
- if (e != NULL)
- {
- font_available = evas_font_available_list(e);
- if (font_available != NULL)
- {
- startup_status = EINA_TRUE;
- }
- }
- }
-}
-
-static void
-teardown(void)
-{
- if (e != NULL)
- {
- if (font_available != NULL)
- {
- evas_font_available_list_free(e, font_available);
- }
- evas_free(e);
- e = NULL;
- }
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_font_available_hash_del
- * @{
- * @objective: Positive test case checks that the tested function correctly deletes the font hash table of available system fonts.
- * @n Input Data: font hash table of available system fonts.
- *
- * @procedure
- * @step 1 Call elm_font_available_hash_add() for creating font hash table of available system fonts.
- * @step 2 Check hash table returned by tested function.
- * @step 3 Call tested function for deleting created hash table.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_available_hash_del_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Hash *hash = NULL;
-
- hash = elm_font_available_hash_add(font_available);
- if (hash == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- elm_font_available_hash_del(hash);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_font_available_hash_del
- * @{
- * @objective: Negative test case checks situation if argument of tested function is NULL.
- * @n Input Data: NULL instead of the hash object.
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the hash object.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_available_hash_del_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- UNITEST_FUNC_NEG(elm_font_available_hash_del, NULL);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_font_available_hash_del()
-{
- TCase *tcase = tcase_create("utc_elm_font_available_hash_del");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_font_available_hash_del_p);
- tcase_add_test(tcase, utc_elm_font_available_hash_del_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_font_fontconfig_name_free elm_font_fontconfig_name_free()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_font_fontconfig_name_free
- * @{
- * @objective: Positive test case checks that the tested function correctly frees the given font-config name.
- * @n Input Data: string which contains the given font-config name.
- *
- * @procedure
- * @step 1 Call elm_font_fontconfig_name_get() for getting the string with font-config name.
- * @step 2 Call tested function for freeing returned string.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_fontconfig_name_free_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- char *font = NULL;
-
- font = elm_font_fontconfig_name_get("Monospace", NULL);
- if (font == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (font name cannot be retrieved)..", __FILE__, __LINE__);
- return;
- }
- elm_font_fontconfig_name_free(font);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_font_fontconfig_name_free
- * @{
- * @objective: Negative test case checks situation if argument of tested function is NULL.
- * @n Input Data: string which contains the given font-config name (it will be replaced by NULL in the universal macro).
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the font-config name.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_fontconfig_name_free_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- UNITEST_FUNC_NEG(elm_font_fontconfig_name_free, NULL);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_font_fontconfig_name_free()
-{
- TCase *tcase = tcase_create("utc_elm_font_fontconfig_name_free");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_font_fontconfig_name_free_p);
- tcase_add_test(tcase, utc_elm_font_fontconfig_name_free_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_font_fontconfig_name_get elm_font_fontconfig_name_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_font_fontconfig_name_get
- * @{
- * @objective: Positive test case checks that the tested function correctly retrieves the font-config name by given font name.
- * @n Input Data:
- * @li The font (family) name.
- * @li String with the given style.
- *
- * @procedure
- * @step 1 Call tested function for getting the string with font-config name.
- * @step 2 Check returned string.
- * @step 2 Call elm_font_fontconfig_name_free() for freeing returned string.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_fontconfig_name_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- char *font = NULL;
-
- font = elm_font_fontconfig_name_get("Monospace", NULL);
- if (font == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
- elm_font_fontconfig_name_free(font);
-}
-END_TEST
-
-/**
- * @addtogroup elm_font_fontconfig_name_get
- * @{
- * @objective: Negative test case checks situation if first argument of tested function is NULL.
- * @n Input Data:
- * @li NULL instead of the font (family) name.
- * @li NULL instead of the string with the given style.
- *
- * @step 1 Call test function with NULL instead of the name string.
- *
- * @passcondition
- * Function must return NULL, and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_fontconfig_name_get_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- CREATE_CHECKED_ARGS_ARRAY(1,0);
- UNITEST_FUNC_NEG_CA_RET(NULL, elm_font_fontconfig_name_get, "Monospace", NULL);
-
- if (result_of_testing != TEST_PASS)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (font name cannot be retrieved)..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_font_fontconfig_name_get()
-{
- TCase *tcase = tcase_create("utc_elm_font_fontconfig_name_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_font_fontconfig_name_get_p);
- tcase_add_test(tcase, utc_elm_font_fontconfig_name_get_n);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+#include "../../utc_negative_unitest.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_font_fontconfig_name_get elm_font_fontconfig_name_get()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_font_fontconfig_name_get
+ * @{
+ * @objective: Positive test case checks that the tested function correctly retrieves the font-config name by given font name.
+ * @n Input Data:
+ * @li The font (family) name.
+ * @li String with the given style.
+ *
+ * @procedure
+ * @step 1 Call tested function for getting the string with font-config name.
+ * @step 2 Check returned string.
+ * @step 2 Call elm_font_fontconfig_name_free() for freeing returned string.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_fontconfig_name_get_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ char *font = NULL;
+
+ font = elm_font_fontconfig_name_get("Monospace", NULL);
+ if (font == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+ elm_font_fontconfig_name_free(font);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_font_fontconfig_name_get
+ * @{
+ * @objective: Negative test case checks situation if first argument of tested function is NULL.
+ * @n Input Data:
+ * @li NULL instead of the font (family) name.
+ * @li NULL instead of the string with the given style.
+ *
+ * @step 1 Call test function with NULL instead of the name string.
+ *
+ * @passcondition
+ * Function must return NULL, and there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_fontconfig_name_get_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ CREATE_CHECKED_ARGS_ARRAY(1,0);
+ UNITEST_FUNC_NEG_CA_RET(NULL, elm_font_fontconfig_name_get, "Monospace", NULL);
+
+ if (result_of_testing != TEST_PASS)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (font name cannot be retrieved)..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_font_fontconfig_name_free
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is NULL.
+ * @n Input Data: string which contains the given font-config name (it will be replaced by NULL in the universal macro).
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the font-config name.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_fontconfig_name_free_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ UNITEST_FUNC_NEG(elm_font_fontconfig_name_free, NULL);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_font_fontconfig_name_get_free()
+{
+ TCase *tcase = tcase_create("utc_elm_font_fontconfig_name_get_free");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_font_fontconfig_name_get_p);
+ tcase_add_test(tcase, utc_elm_font_fontconfig_name_get_n);
+ tcase_add_test(tcase, utc_elm_font_fontconfig_name_free_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_font_properties_free elm_font_properties_free()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_font_properties_free
- * @{
- * @objective: Positive test case checks that the tested function correctly frees the given font properties object.
- * @n Input Data: the given font properties object.
- *
- * @procedure
- * @step 1 Call elm_font_properties_get() for retrieving the properties of font defined by valid font name.
- * @step 2 Call tested function for freeing the returned font properties object.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_properties_free_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Elm_Font_Properties *font_prop = NULL;
-
- font_prop = elm_font_properties_get("Monospace:style=Regular");
- if (font_prop == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (font properties cannot be retrieved)..", __FILE__, __LINE__);
- return;
- }
- elm_font_properties_free(font_prop);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_font_properties_free
- * @{
- * @objective: Negative test case checks situation if argument of tested function is NULL.
- * @n Input Data: NULL instead of the font properites object.
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the font properites object.
- *
- * @passcondition
- * There is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_properties_free_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- UNITEST_FUNC_NEG(elm_font_properties_free, NULL);
-
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_font_properties_free()
-{
- TCase *tcase = tcase_create("utc_elm_font_properties_free");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_font_properties_free_p);
- tcase_add_test(tcase, utc_elm_font_properties_free_n);
- return tcase;
-}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-#include "../../utc_negative_unitest.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_font_properties_get elm_font_properties_get()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_font_properties_get
- * @{
- * @objective: Positive test case checks that the tested function correctly retrieves the font properties object with properties of font defined by the given font name.
- * @n Input Data: string with the given font name.
- *
- * @procedure
- * @step 1 Call tested function for retrieving the properties of font defined by valid font name.
- * @step 2 Check returned font properties object.
- * @step 3 Call telm_font_properties_free() for freeing the returned font properties object.
- *
- * @passcondition
- * Function must return nonnull font properties object, and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_properties_get_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Elm_Font_Properties *font_prop = NULL;
-
- font_prop = elm_font_properties_get("Monospace:style=Regular");
- if (font_prop == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
- elm_font_properties_free(font_prop);
-}
-END_TEST
-
-/**
- * @addtogroup elm_font_properties_get
- * @{
- * @objective: Negative test case checks situation if argument of tested function is NULL.
- * @n Input Data: string with font name (it will be replaced by NULL in the universal macro).
- *
- * @procedure
- * @step 1 Call test function with NULL instead of the font name string.
- *
- * @passcondition
- * Function must return NULL, and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_font_properties_get_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- if (UNITEST_FUNC_NEG_RET(NULL, elm_font_properties_get, "Monospace") == TEST_FAIL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_font_properties_get()
-{
- TCase *tcase = tcase_create("utc_elm_font_properties_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_font_properties_get_p);
- tcase_add_test(tcase, utc_elm_font_properties_get_n);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+#include "../../utc_negative_unitest.h"
+
+static Eina_Bool startup_status = EINA_FALSE;
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_font_properties_get elm_font_properties_get()
+ *
+ * @precondition
+ * @step 1 elm initialized with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+ {
+ startup_status = EINA_TRUE;
+ }
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_font_properties_get
+ * @{
+ * @objective: Positive test case checks that the tested function correctly retrieves the font properties object with properties of font defined by the given font name.
+ * @n Input Data: string with the given font name.
+ *
+ * @procedure
+ * @step 1 Call tested function for retrieving the properties of font defined by valid font name.
+ * @step 2 Check returned font properties object.
+ * @step 3 Call telm_font_properties_free() for freeing the returned font properties object.
+ *
+ * @passcondition
+ * Function must return nonnull font properties object, and there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_properties_get_p)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ Elm_Font_Properties *font_prop = NULL;
+
+ font_prop = elm_font_properties_get("Monospace:style=Regular");
+ if (font_prop == NULL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+ elm_font_properties_free(font_prop);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_font_properties_get
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is NULL.
+ * @n Input Data: string with font name (it will be replaced by NULL in the universal macro).
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the font name string.
+ *
+ * @passcondition
+ * Function must return NULL, and there is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_properties_get_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ if (UNITEST_FUNC_NEG_RET(NULL, elm_font_properties_get, "Monospace") == TEST_FAIL)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_font_properties_free
+ * @{
+ * @objective: Negative test case checks situation if argument of tested function is NULL.
+ * @n Input Data: NULL instead of the font properites object.
+ *
+ * @procedure
+ * @step 1 Call test function with NULL instead of the font properites object.
+ *
+ * @passcondition
+ * There is no segmentation fault.
+ * @}
+ */
+START_TEST(utc_elm_font_properties_free_n)
+{
+ if (startup_status != EINA_TRUE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
+ }
+
+ UNITEST_FUNC_NEG(elm_font_properties_free, NULL);
+
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_font_properties_get_free()
+{
+ TCase *tcase = tcase_create("utc_elm_font_properties_get_free");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_font_properties_get_p);
+ tcase_add_test(tcase, utc_elm_font_properties_get_n);
+ tcase_add_test(tcase, utc_elm_font_properties_free_n);
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_policy_get elm_policy_get()
- *
- *
- * @precondition
- * @step 1 Initialize Elementary with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_policy_get
- * @{
- * @objective Positive test case 01 checks if function call with valid value to get
- * whether gets the policy value for the given policy identifier or not works properly
- *
- * @n Input data: the policy identifier as Elm_Policy policy parameter
- *
- * @procedure
- * @step 1 Set a new policy's value ELM_POLICY_QUIT (for a given policy group/identifier)
- * @step 2 Check the currently set policy value for that identifier
- * @step 3 Get the policy value for the given policy identifier
- * @step 4 Check returned value
- *
- * @passcondition
- * Tested function passes if returned value is equal to ELM_POLICY_QUIT_LAST_WINDOW_CLOSED and
- * there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_policy_get_p_01)
-{
- Eina_Bool is_policy_set = EINA_FALSE;
- int policy_value = ELM_POLICY_QUIT;
-
- is_policy_set = elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
- if (is_policy_set == EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, policy isn't set..", __FILE__, __LINE__);
- return;
- }
- //TODO: to make positive tests for API for all enumeration values
- policy_value = elm_policy_get(ELM_POLICY_QUIT);
- if (policy_value != ELM_POLICY_QUIT_LAST_WINDOW_CLOSED)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, policy isn't get..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_policy_get
- * @{
- * @objective: Negative test case 01 checks if function call with invalid value to get
- * whether isn't get the policy value for the given policy identifier or not works properly
- *
- * @n Input data: NULL instead of the policy identifier parameter
- *
- * @procedure
- * @step 1 Call test function with -1 instead of the policy identifier parameter
- * @step 2 Check returned value
- *
- * @passcondition:
- * Tested function passes if returned value is 0 and
- * there is no segmentation fault
- * @}
- */
-START_TEST(utc_elm_policy_get_n_01)
-{
- int policy_value = ELM_POLICY_QUIT;
-
- policy_value = elm_policy_get(-1);
- if (policy_value != 0)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @}
- */
-
-TCase * _utc_elm_policy_get()
-{
- TCase *tcase = tcase_create("utc_elm_policy_get");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_policy_get_p_01);
- tcase_add_test(tcase, utc_elm_policy_get_n_01);
- return tcase;
-}
--- /dev/null
+#include <check.h>
+#include <Elementary.h>
+#include "../utc_elm_common.h"
+
+/**
+ * @addtogroup elm_general
+ * @{
+ * @defgroup elm_policy_get elm_policy_get()
+ *
+ *
+ * @precondition
+ * @step 1 Initialize Elementary with elm_init()
+ */
+static void
+setup(void)
+{
+ printf(" ============ Startup ============ \n");
+ UTC_ELM_INIT();
+}
+
+static void
+teardown(void)
+{
+ elm_shutdown();
+ printf(" ============ Cleanup ============ \n");
+}
+
+/**
+ * @addtogroup elm_policy_get
+ * @{
+ * @objective Positive test case 01 checks if function call with valid value to get
+ * whether gets the policy value for the given policy identifier or not works properly
+ *
+ * @n Input data: the policy identifier as Elm_Policy policy parameter
+ *
+ * @procedure
+ * @step 1 Set a new policy's value ELM_POLICY_QUIT (for a given policy group/identifier)
+ * @step 2 Check the currently set policy value for that identifier
+ * @step 3 Get the policy value for the given policy identifier
+ * @step 4 Check returned value
+ *
+ * @passcondition
+ * Tested function passes if returned value is equal to ELM_POLICY_QUIT_LAST_WINDOW_CLOSED and
+ * there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_policy_get_p_01)
+{
+ Eina_Bool is_policy_set = EINA_FALSE;
+ int policy_value = ELM_POLICY_QUIT;
+
+ is_policy_set = elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
+ if (is_policy_set == EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, policy isn't set..", __FILE__, __LINE__);
+ }
+ //TODO: to make positive tests for API for all enumeration values
+ policy_value = elm_policy_get(ELM_POLICY_QUIT);
+ if (policy_value != ELM_POLICY_QUIT_LAST_WINDOW_CLOSED)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed, policy isn't get..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_policy_get
+ * @{
+ * @objective: Negative test case 01 checks if function call with invalid value to get
+ * whether isn't get the policy value for the given policy identifier or not works properly
+ *
+ * @n Input data: NULL instead of the policy identifier parameter
+ *
+ * @procedure
+ * @step 1 Call test function with -1 instead of the policy identifier parameter
+ * @step 2 Check returned value
+ *
+ * @passcondition:
+ * Tested function passes if returned value is 0 and
+ * there is no segmentation fault
+ * @}
+ */
+START_TEST(utc_elm_policy_get_n_01)
+{
+ int policy_value = ELM_POLICY_QUIT;
+
+ policy_value = elm_policy_get(-1);
+ if (policy_value != 0)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+
+/**
+ * @addtogroup elm_policy_set
+ * @{
+ * @objective: Negative test case checks situation if arguments of tested function become incorrect in turn.
+ * @n Input Data:
+ * @li ELM_POLICY_QUIT (it will be replaced by -100);
+ * @li ELM_POLICY_QUIT_LAST_WINDOW_CLOSED (it will be replaced by -100).
+ *
+ * @procedure
+ * @step 1 Call tested function with incorrect value of first argument.
+ * @step 2 Check value returned by tested function.
+ * @step 3 Call tested function with incorrect value of second argument.
+ * @step 4 Check value returned by tested function.
+ *
+ * @passcondition
+ * In both cases function must return EINA_FALSE, and there is no segmentation fault.
+ * @}
+ */
+#ifdef NOT_APPROVED_FOR_BUILD
+START_TEST(utc_elm_policy_set_n)
+{
+ Eina_Bool ok = EINA_FALSE;
+
+ if (elm_policy_set(-100, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED) == EINA_FALSE)
+ {
+ if (elm_policy_set(ELM_POLICY_QUIT, -100) == EINA_FALSE)
+ {
+ ok = EINA_TRUE;
+ }
+ }
+
+ if (ok == EINA_FALSE)
+ {
+ ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+ }
+ printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
+}
+END_TEST
+#endif //NOT_APPROVED_FOR_BUILD
+
+/**
+ * @}
+ */
+
+TCase * _utc_elm_policy_get_set()
+{
+ TCase *tcase = tcase_create("utc_elm_policy_get_set");
+ tcase_set_timeout(tcase, 30);
+ tcase_add_checked_fixture(tcase, setup, teardown);
+ tcase_add_test(tcase, utc_elm_policy_get_p_01);
+ tcase_add_test(tcase, utc_elm_policy_get_n_01);
+#ifdef NOT_APPROVED_FOR_BUILD
+ tcase_add_test(tcase, utc_elm_policy_set_n);
+#endif
+ return tcase;
+}
+++ /dev/null
-#include <check.h>
-#include <Elementary.h>
-#include "../utc_elm_common.h"
-
-static Eina_Bool startup_status = EINA_FALSE;
-
-/**
- * @addtogroup elm_general
- * @{
- * @defgroup elm_policy_set elm_policy_set()
- *
- * @precondition
- * @step 1 elm initialized with elm_init()
- */
-static void
-setup(void)
-{
- printf(" ============ Startup ============ \n");
- UTC_ELM_INIT();
- {
- startup_status = EINA_TRUE;
- }
-}
-
-static void
-teardown(void)
-{
- elm_shutdown();
- printf(" ============ Cleanup ============ \n");
-}
-
-/**
- * @addtogroup elm_policy_set
- * @{
- * @objective: Positive test case checks that the tested function correctly sets new policy's value.
- * @n Input Data:
- * @li ELM_POLICY_QUIT;
- * @li ELM_POLICY_QUIT_LAST_WINDOW_CLOSED.
- *
- * @procedure
- * @step 1 Call tested function for setting new policy's value.
- * @step 2 Check value returned by tested function.
- *
- * @passcondition
- * Function must return EINA_TRUE, and there is no segmentation fault.
- * @}
- */
-START_TEST(utc_elm_policy_set_p)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ret = EINA_FALSE;
-
- ret = elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
-
- if (ret == EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-
-/**
- * @addtogroup elm_policy_set
- * @{
- * @objective: Negative test case checks situation if arguments of tested function become incorrect in turn.
- * @n Input Data:
- * @li ELM_POLICY_QUIT (it will be replaced by -100);
- * @li ELM_POLICY_QUIT_LAST_WINDOW_CLOSED (it will be replaced by -100).
- *
- * @procedure
- * @step 1 Call tested function with incorrect value of first argument.
- * @step 2 Check value returned by tested function.
- * @step 3 Call tested function with incorrect value of second argument.
- * @step 4 Check value returned by tested function.
- *
- * @passcondition
- * In both cases function must return EINA_FALSE, and there is no segmentation fault.
- * @}
- */
-#ifdef NOT_APPROVED_FOR_BUILD
-START_TEST(utc_elm_policy_set_n)
-{
- if (startup_status != EINA_TRUE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (startup was been executed unsuccessfully)..", __FILE__, __LINE__);
- return;
- }
-
- Eina_Bool ok = EINA_FALSE;
-
- if (elm_policy_set(-100, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED) == EINA_FALSE)
- {
- if (elm_policy_set(ELM_POLICY_QUIT, -100) == EINA_FALSE)
- {
- ok = EINA_TRUE;
- }
- }
-
- if (ok == EINA_FALSE)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
- return;
- }
- printf("[TEST_PASS]:: %s[%d] : Test has passed..\n", __FILE__, __LINE__);
-}
-END_TEST
-#endif //NOT_APPROVED_FOR_BUILD
-
-/**
- * @}
- */
-
-TCase * _utc_elm_policy_set()
-{
- TCase *tcase = tcase_create("utc_elm_policy_set");
- tcase_set_timeout(tcase, 30);
- tcase_add_checked_fixture(tcase, setup, teardown);
- tcase_add_test(tcase, utc_elm_policy_set_p);
-#ifdef NOT_APPROVED_FOR_BUILD
- tcase_add_test(tcase, utc_elm_policy_set_n);
-#endif
- return tcase;
-}