mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-29 11:14:27 +01:00
Add example
This commit is contained in:
18
examples/example_5/test/unity_detail_config.h
Normal file
18
examples/example_5/test/unity_detail_config.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#define UNITY_DETAIL_STACK_SIZE 5
|
||||
#define LABEL_AS_INT32 "#\x18" /*UNITY_DISPLAY_STYLE_INT32 = 0x18 */
|
||||
#define LABEL_AS_HEX8 "#\x41" /* UNITY_DISPLAY_STYLE_HEX8 = 0x41 */
|
||||
#define UNITY_DETAIL_LABEL_NAMES { 0, \
|
||||
UNITY_DETAIL1_NAME, \
|
||||
UNITY_DETAIL2_NAME, \
|
||||
"During call", \
|
||||
LABEL_AS_INT32 "Bit Position", \
|
||||
LABEL_AS_HEX8 "Bit Mask", \
|
||||
}
|
||||
typedef enum {
|
||||
UNITY_DETAIL_NONE = 0,
|
||||
UNITY_DETAIL_D1 = 1,
|
||||
UNITY_DETAIL_D2 = 2,
|
||||
UNITY_DETAIL_CALL,
|
||||
UNITY_DETAIL_BIT_POS,
|
||||
UNITY_DETAIL_BIT_MASK,
|
||||
} UNITY_DETAIL_LABEL_T;
|
||||
Reference in New Issue
Block a user