Skip to content

Commit 57a70d9

Browse files
committed
Resolved Doxygen build errors
1 parent 7e2e805 commit 57a70d9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

features/frameworks/utest/utest/utest_default_handlers.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,17 @@ namespace v1 {
3838
*/
3939
static const struct
4040
{
41+
///@cond IGNORE
42+
// Doxygen can't parse these implicit conversion operators properly, remove from
43+
// doc build
4144
operator test_setup_handler_t() const { return test_setup_handler_t(1); }
4245
operator test_teardown_handler_t() const { return test_teardown_handler_t(1); }
4346
operator test_failure_handler_t() const { return test_failure_handler_t(1); }
4447

4548
operator case_setup_handler_t() const { return case_setup_handler_t(1); }
4649
operator case_teardown_handler_t() const { return case_teardown_handler_t(1); }
4750
operator case_failure_handler_t() const { return case_failure_handler_t(1); }
51+
///@endcond
4852
} default_handler;
4953

5054
/** Ignore handler hint.
@@ -55,6 +59,9 @@ namespace v1 {
5559
*/
5660
static const struct
5761
{
62+
///@cond IGNORE
63+
// Doxygen can't parse these implicit conversion operators properly, remove from
64+
// doc build
5865
operator case_handler_t() const { return case_handler_t(NULL); }
5966
operator case_control_handler_t() const { return case_control_handler_t(NULL); }
6067
operator case_call_count_handler_t() const { return case_call_count_handler_t(NULL); }
@@ -66,6 +73,7 @@ namespace v1 {
6673
operator case_setup_handler_t() const { return case_setup_handler_t(NULL); }
6774
operator case_teardown_handler_t() const { return case_teardown_handler_t(NULL); }
6875
operator case_failure_handler_t() const { return case_failure_handler_t(NULL); }
76+
///@endcond
6977
} ignore_handler;
7078

7179
/** A table of handlers.

features/frameworks/utest/utest/utest_types.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ namespace utest {
3030
/** @{*/
3131
namespace v1 {
3232

33+
/// repeat_t
3334
enum repeat_t {
3435
REPEAT_UNDECLR = 0,
3536
REPEAT_NONE = 1, ///< continue with the next test case
@@ -47,12 +48,14 @@ namespace v1 {
4748
REPEAT_HANDLER = REPEAT_CASE_ONLY | REPEAT_ON_VALIDATE ///< repeat only the handler
4849
};
4950

51+
/// status_t
5052
enum status_t {
5153
STATUS_CONTINUE = -1, ///< continues testing
5254
STATUS_IGNORE = -2, ///< ignores failure and continues testing
5355
STATUS_ABORT = -3 ///< stops testing
5456
};
5557

58+
/// failure_reason_t
5659
enum failure_reason_t {
5760
REASON_NONE = 0, ///< No failure occurred
5861

@@ -74,6 +77,7 @@ namespace v1 {
7477
REASON_IGNORE = 0x8000 ///< The failure may be ignored
7578
};
7679

80+
/// location_t
7781
enum location_t {
7882
LOCATION_NONE = 0, ///< No location information
7983
LOCATION_TEST_SETUP, ///< A failure occurred in the test setup

0 commit comments

Comments
 (0)