Capitalizing Watchdog

pull/10657/head
Mel W 2018-11-29 15:48:02 +02:00 committed by Filip Jagodzinski
parent c0e186b3dd
commit ae776cbf1c
1 changed files with 11 additions and 11 deletions

View File

@ -27,21 +27,21 @@
/** Test max_timeout validity /** Test max_timeout validity
* *
* Given a device supporting watchdog HAL API, * Given a device supporting Watchdog HAL API,
* when @a hal_watchdog_get_platform_features() is called, * when @a hal_watchdog_get_platform_features() is called,
* then max_timeout member of returned watchdog_features_t struct is greater than 1. * then max_timeout member of returned watchdog_features_t struct is greater than 1.
*/ */
void test_max_timeout_is_valid(); void test_max_timeout_is_valid();
/** Test watchdog features if a stopped watchdog can be started again /** Test Watchdog features if a stopped Watchdog can be started again
* *
* Given a device supporting watchdog HAL API, * Given a device supporting Watchdog HAL API,
* when the device supports the @a disable_watchdog feature, * when the device supports the @a disable_watchdog feature,
* then the device also supports @a update_config feature. * then the device also supports @a update_config feature.
*/ */
void test_restart_is_possible(); void test_restart_is_possible();
/** Test watchdog stop /** Test Watchdog stop
* *
* Given a device without a support for the @a disable_watchdog feature, * Given a device without a support for the @a disable_watchdog feature,
* when @a hal_watchdog_stop() is called, * when @a hal_watchdog_stop() is called,
@ -49,21 +49,21 @@ void test_restart_is_possible();
* *
* Otherwise, given the device with @a disable_watchdog feature support: * Otherwise, given the device with @a disable_watchdog feature support:
* *
* Given the watchdog is *NOT* running, * Given the Watchdog is *NOT* running,
* when @a hal_watchdog_stop() is called, * when @a hal_watchdog_stop() is called,
* then WATCHDOG_STATUS_OK is returned. * then WATCHDOG_STATUS_OK is returned.
* *
* Given the watchdog is running, * Given the Watchdog is running,
* when @a hal_watchdog_stop() is called before the timeout expires, * when @a hal_watchdog_stop() is called before the timeout expires,
* then WATCHDOG_STATUS_OK is returned and the device is not restarted. * then WATCHDOG_STATUS_OK is returned and the device is not restarted.
* *
* Given the watchdog is *NOT* running (it has already been stopped), * Given the Watchdog is *NOT* running (it has already been stopped),
* when @a hal_watchdog_stop() is called, * when @a hal_watchdog_stop() is called,
* then WATCHDOG_STATUS_OK is returned. * then WATCHDOG_STATUS_OK is returned.
*/ */
void test_stop(); void test_stop();
/** Test watchdog init multiple times /** Test Watchdog init multiple times
* *
* Given @a max_timeout value returned by @a hal_watchdog_get_platform_features(): * Given @a max_timeout value returned by @a hal_watchdog_get_platform_features():
* *
@ -84,10 +84,10 @@ void test_stop();
*/ */
void test_update_config(); void test_update_config();
/** Test watchdog init with a valid config /** Test Watchdog init with a valid config
* *
* Given @a config.timeout_ms is set to X ms, * Given @a config.timeout_ms is set to X ms,
* which is within supported watchdog timeout range, * which is within supported Watchdog timeout range,
* when @a hal_watchdog_init() is called, * when @a hal_watchdog_init() is called,
* then @a WATCHDOG_STATUS_OK is returned * then @a WATCHDOG_STATUS_OK is returned
* and @a hal_watchdog_get_reload_value() returns X. * and @a hal_watchdog_get_reload_value() returns X.
@ -95,7 +95,7 @@ void test_update_config();
template<uint32_t timeout_ms> template<uint32_t timeout_ms>
void test_init(); void test_init();
/** Test watchdog init with a max_timeout /** Test Watchdog init with a max_timeout
* *
* Given @a config.timeout_ms is set to max_timeout, * Given @a config.timeout_ms is set to max_timeout,
* which is a value returned by @a hal_watchdog_get_platform_features(), * which is a value returned by @a hal_watchdog_get_platform_features(),