File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
features/frameworks/utest/utest Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,17 @@ namespace v1 {
38
38
*/
39
39
static const struct
40
40
{
41
+ // /@cond IGNORE
42
+ // Doxygen can't parse these implicit conversion operators properly, remove from
43
+ // doc build
41
44
operator test_setup_handler_t () const { return test_setup_handler_t (1 ); }
42
45
operator test_teardown_handler_t () const { return test_teardown_handler_t (1 ); }
43
46
operator test_failure_handler_t () const { return test_failure_handler_t (1 ); }
44
47
45
48
operator case_setup_handler_t () const { return case_setup_handler_t (1 ); }
46
49
operator case_teardown_handler_t () const { return case_teardown_handler_t (1 ); }
47
50
operator case_failure_handler_t () const { return case_failure_handler_t (1 ); }
51
+ // /@endcond
48
52
} default_handler;
49
53
50
54
/* * Ignore handler hint.
@@ -55,6 +59,9 @@ namespace v1 {
55
59
*/
56
60
static const struct
57
61
{
62
+ // /@cond IGNORE
63
+ // Doxygen can't parse these implicit conversion operators properly, remove from
64
+ // doc build
58
65
operator case_handler_t () const { return case_handler_t (NULL ); }
59
66
operator case_control_handler_t () const { return case_control_handler_t (NULL ); }
60
67
operator case_call_count_handler_t () const { return case_call_count_handler_t (NULL ); }
@@ -66,6 +73,7 @@ namespace v1 {
66
73
operator case_setup_handler_t () const { return case_setup_handler_t (NULL ); }
67
74
operator case_teardown_handler_t () const { return case_teardown_handler_t (NULL ); }
68
75
operator case_failure_handler_t () const { return case_failure_handler_t (NULL ); }
76
+ // /@endcond
69
77
} ignore_handler;
70
78
71
79
/* * A table of handlers.
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ namespace utest {
30
30
/* * @{*/
31
31
namespace v1 {
32
32
33
+ // / repeat_t
33
34
enum repeat_t {
34
35
REPEAT_UNDECLR = 0 ,
35
36
REPEAT_NONE = 1 , // /< continue with the next test case
@@ -47,12 +48,14 @@ namespace v1 {
47
48
REPEAT_HANDLER = REPEAT_CASE_ONLY | REPEAT_ON_VALIDATE // /< repeat only the handler
48
49
};
49
50
51
+ // / status_t
50
52
enum status_t {
51
53
STATUS_CONTINUE = -1 , // /< continues testing
52
54
STATUS_IGNORE = -2 , // /< ignores failure and continues testing
53
55
STATUS_ABORT = -3 // /< stops testing
54
56
};
55
57
58
+ // / failure_reason_t
56
59
enum failure_reason_t {
57
60
REASON_NONE = 0 , // /< No failure occurred
58
61
@@ -74,6 +77,7 @@ namespace v1 {
74
77
REASON_IGNORE = 0x8000 // /< The failure may be ignored
75
78
};
76
79
80
+ // / location_t
77
81
enum location_t {
78
82
LOCATION_NONE = 0 , // /< No location information
79
83
LOCATION_TEST_SETUP, // /< A failure occurred in the test setup
You can’t perform that action at this time.
0 commit comments