diff options
| author | Bernard Xiong <[email protected]> | 2019-01-29 04:28:40 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-01-29 04:28:40 +0800 |
| commit | b2c2958964d429775e3da335a4f6ca5b4f9e1671 (patch) | |
| tree | 25a2209ba4814d41b19e624a136ca1c7c894918f /components/utilities/utest/utest.h | |
| parent | dfebb30c91875c52f16fd4e7bb9e5981fd0512b4 (diff) | |
| parent | 8ff9b7795f0423eee36a19b2a36cec4e00c1e831 (diff) | |
Merge pull request #2289 from armink/lts-v3.1.xv3.1.2
Lts v3.1.x
Diffstat (limited to 'components/utilities/utest/utest.h')
| -rw-r--r-- | components/utilities/utest/utest.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/utilities/utest/utest.h b/components/utilities/utest/utest.h index 5a7e8af721..386d177a77 100644 --- a/components/utilities/utest/utest.h +++ b/components/utilities/utest/utest.h @@ -13,6 +13,7 @@ #include <rtthread.h> #include "utest_log.h" +#include "utest_assert.h" /** * utest_error @@ -57,7 +58,7 @@ typedef struct utest *utest_t; * Will export the data to `UtestTcTab` section in flash. * * @member name Testcase name. - * @member run_timeout Testcase maximum test time. + * @member run_timeout Testcase maximum test time (Time unit: seconds). * @member init Necessary initialization before executing the test case function. * @member tc Total number of tests failed. * @member cleanup Total number of tests failed. @@ -125,7 +126,7 @@ utest_t utest_handle_get(void); * @param name The testcase name. * @param init The initialization function of the test case. * @param cleanup The cleanup function of the test case. - * @param timeout Testcase maximum test time. + * @param timeout Testcase maximum test time (Time unit: seconds). * * @return None * |
