return 0;
}
+//& type: auto
+//& purpose: Gets the time zone from the current host system configuration.
+/**
+* @testcase ITc_i18n_timezone_detect_host_timezone_p
+* @since_tizen 3.0
+* @author SRID(shekhar1.s)
+* @reviewer SRID(shobhit.v)
+* @type auto
+* @scenario Gets the time zone from the current host system configuration
+* @apitarget i18n_timezone_detect_host_timezone
+* @apicovered i18n_timezone_detect_host_timezone
+* @passcase When i18n_timezone_detect_host_timezone is successful
+* @failcase If target i18n_timezone_detect_host_timezone API fails or any precondition and postcondition API fails.
+* @precondition NA
+* @postcondition NA
+*/
+int ITc_i18n_timezone_detect_host_timezone_p(void)
+{
+ START_TEST;
+
+ i18n_timezone_h nTimeZone = NULL;
+
+ int nRetVal = i18n_timezone_detect_host_timezone( &nTimeZone );
+ PRINT_RESULT(I18N_ERROR_NONE, nRetVal, "i18n_timezone_detect_host_timezone", BaseUtilsGetError(nRetVal));
+ CHECK_HANDLE(nTimeZone, "i18n_timezone_detect_host_timezone");
+
+ return 0;
+}
/** @} */
/** @} */
extern int ITc_i18n_timezone_foreach_timezone_id_p(void);
extern int ITc_i18n_timezone_foreach_timezone_id_with_offset_p(void);
extern int ITc_i18n_timezone_foreach_timezone_id_by_country_p(void);
+extern int ITc_i18n_timezone_detect_host_timezone_p(void);
extern int ITc_i18n_ubrk_create_destroy_p(void);
extern int ITc_i18n_ubrk_create_rules_p(void);
extern int ITc_i18n_ubrk_safe_clone_p(void);
{"ITc_i18n_timezone_foreach_timezone_id_p",ITc_i18n_timezone_foreach_timezone_id_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_timezone_foreach_timezone_id_with_offset_p",ITc_i18n_timezone_foreach_timezone_id_with_offset_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_timezone_foreach_timezone_id_by_country_p",ITc_i18n_timezone_foreach_timezone_id_by_country_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
+ {"ITc_i18n_timezone_detect_host_timezone_p", ITc_i18n_timezone_detect_host_timezone_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_ubrk_create_destroy_p",ITc_i18n_ubrk_create_destroy_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
{"ITc_i18n_ubrk_create_rules_p",ITc_i18n_ubrk_create_rules_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
{"ITc_i18n_ubrk_safe_clone_p",ITc_i18n_ubrk_safe_clone_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
extern int ITc_i18n_timezone_foreach_timezone_id_p(void);
extern int ITc_i18n_timezone_foreach_timezone_id_with_offset_p(void);
extern int ITc_i18n_timezone_foreach_timezone_id_by_country_p(void);
+extern int ITc_i18n_timezone_detect_host_timezone_p(void);
extern int ITc_i18n_ubrk_create_destroy_p(void);
extern int ITc_i18n_ubrk_create_rules_p(void);
extern int ITc_i18n_ubrk_safe_clone_p(void);
{"ITc_i18n_timezone_foreach_timezone_id_p",ITc_i18n_timezone_foreach_timezone_id_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_timezone_foreach_timezone_id_with_offset_p",ITc_i18n_timezone_foreach_timezone_id_with_offset_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_timezone_foreach_timezone_id_by_country_p",ITc_i18n_timezone_foreach_timezone_id_by_country_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
+ {"ITc_i18n_timezone_detect_host_timezone_p", ITc_i18n_timezone_detect_host_timezone_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_ubrk_create_destroy_p",ITc_i18n_ubrk_create_destroy_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
{"ITc_i18n_ubrk_create_rules_p",ITc_i18n_ubrk_create_rules_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
{"ITc_i18n_ubrk_safe_clone_p",ITc_i18n_ubrk_safe_clone_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
extern int ITc_i18n_timezone_foreach_timezone_id_p(void);
extern int ITc_i18n_timezone_foreach_timezone_id_with_offset_p(void);
extern int ITc_i18n_timezone_foreach_timezone_id_by_country_p(void);
+extern int ITc_i18n_timezone_detect_host_timezone_p(void);
extern int ITc_i18n_ubrk_create_destroy_p(void);
extern int ITc_i18n_ubrk_create_rules_p(void);
extern int ITc_i18n_ubrk_safe_clone_p(void);
{"ITc_i18n_timezone_foreach_timezone_id_p", ITc_i18n_timezone_foreach_timezone_id_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_timezone_foreach_timezone_id_with_offset_p", ITc_i18n_timezone_foreach_timezone_id_with_offset_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_timezone_foreach_timezone_id_by_country_p", ITc_i18n_timezone_foreach_timezone_id_by_country_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
+ {"ITc_i18n_timezone_detect_host_timezone_p", ITc_i18n_timezone_detect_host_timezone_p, ITs_base_utils_timezone_startup, ITs_base_utils_timezone_cleanup},
{"ITc_i18n_ubrk_create_destroy_p", ITc_i18n_ubrk_create_destroy_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
{"ITc_i18n_ubrk_create_rules_p", ITc_i18n_ubrk_create_rules_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},
{"ITc_i18n_ubrk_safe_clone_p", ITc_i18n_ubrk_safe_clone_p, ITs_base_utils_ubrk_startup, ITs_base_utils_ubrk_cleanup},