File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
subsys/testsuite/ztest/include/zephyr Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -481,6 +481,11 @@ Example output for a failed macro from
481
481
482
482
.. _mocking-fff :
483
483
484
+ Ztress
485
+ ======
486
+
487
+ .. doxygengroup :: ztest_ztress
488
+
484
489
Mocking via FFF
485
490
===============
486
491
Original file line number Diff line number Diff line change 3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
6
+
7
+ /**
8
+ * @file
9
+ *
10
+ * @brief Zephyr testing framework ztress macros
11
+ */
12
+
6
13
#ifndef TESTSUITE_ZTEST_INCLUDE_ZTRESS_H__
7
14
#define TESTSUITE_ZTEST_INCLUDE_ZTRESS_H__
8
15
@@ -17,6 +24,15 @@ extern "C" {
17
24
#define ZTRESS_ID_THREAD 0
18
25
#define ZTRESS_ID_K_TIMER 1
19
26
27
+ /**
28
+ * @defgroup ztest_ztress Ztest ztress macros
29
+ * @ingroup ztest
30
+ *
31
+ * This module provides test stress when using Ztest.
32
+ *
33
+ * @{
34
+ */
35
+
20
36
/** @brief Descriptor of a k_timer handler execution context.
21
37
*
22
38
* The handler is executed in the k_timer handler context which typically means
@@ -237,6 +253,10 @@ int ztress_preempt_count(uint32_t id);
237
253
*/
238
254
uint32_t ztress_optimized_ticks (uint32_t id );
239
255
256
+ /**
257
+ * @}
258
+ */
259
+
240
260
#ifdef __cplusplus
241
261
}
242
262
#endif
You can’t perform that action at this time.
0 commit comments