Skip to content

Commit

Permalink
WIP #1130, Change dontcare to flow
Browse files Browse the repository at this point in the history
  • Loading branch information
jphickey committed Aug 18, 2021
1 parent 1d69344 commit e58b85a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions ut_assert/inc/utassert.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@
*/
typedef enum
{
UTASSERT_CASETYPE_NONE, /**< Reserved value, No messages should be used with this */
UTASSERT_CASETYPE_ABORT, /**< Test sequence abort (major failure, cannot continue) */
UTASSERT_CASETYPE_FAILURE, /**< Test case failure status messages */
UTASSERT_CASETYPE_TSF, /**< Test Setup Failure (TSF) status messages */
UTASSERT_CASETYPE_TTF, /**< Test Teardown Failure (TTF) status messages */
UTASSERT_CASETYPE_MIR, /**< Manual Inspection Required (MIR) status messages */
UTASSERT_CASETYPE_WARN, /**< Test was unable to run (WARN) status messages (e.g. initial condition wrong) */
UTASSERT_CASETYPE_NA, /**< Test Not Applicable (NA) status messages */
UTASSERT_CASETYPE_BEGIN, /**< Beginning of test status messages */
UTASSERT_CASETYPE_END, /**< End of test status messages */
UTASSERT_CASETYPE_INFO, /**< All other informational status messages */
UTASSERT_CASETYPE_PASS, /**< Test case passed (normal) status messages */
UTASSERT_CASETYPE_DONTCARE, /**< Other condition checks/messages that do not consitute test case failures */
UTASSERT_CASETYPE_DEBUG, /**< Debugging messages */
UTASSERT_CASETYPE_MAX /**< Reserved value, No messages should be used with this */
UTASSERT_CASETYPE_NONE, /**< Reserved value, No messages should be used with this */
UTASSERT_CASETYPE_ABORT, /**< Test sequence abort (major failure, cannot continue) */
UTASSERT_CASETYPE_FAILURE, /**< Test case failure status messages */
UTASSERT_CASETYPE_TSF, /**< Test Setup Failure (TSF) status messages */
UTASSERT_CASETYPE_TTF, /**< Test Teardown Failure (TTF) status messages */
UTASSERT_CASETYPE_MIR, /**< Manual Inspection Required (MIR) status messages */
UTASSERT_CASETYPE_WARN, /**< Test was unable to run (WARN) status messages (e.g. initial condition wrong) */
UTASSERT_CASETYPE_NA, /**< Test Not Applicable (NA) status messages */
UTASSERT_CASETYPE_BEGIN, /**< Beginning of test status messages */
UTASSERT_CASETYPE_END, /**< End of test status messages */
UTASSERT_CASETYPE_INFO, /**< All other informational status messages */
UTASSERT_CASETYPE_PASS, /**< Test case passed (normal) status messages */
UTASSERT_CASETYPE_FLOW, /**< Other condition checks/messages that record test flow, but are not assertions */
UTASSERT_CASETYPE_DEBUG, /**< Debugging messages */
UTASSERT_CASETYPE_MAX /**< Reserved value, No messages should be used with this */
} UtAssert_CaseType_t;

/**
Expand Down
4 changes: 2 additions & 2 deletions ut_assert/src/utbsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ void UT_BSP_DoText(uint8 MessageType, const char *OutputMessage)
case UTASSERT_CASETYPE_INFO:
Prefix = "INFO";
break;
case UTASSERT_CASETYPE_DONTCARE:
Prefix = "DC";
case UTASSERT_CASETYPE_FLOW:
Prefix = "FLOW";
break;
case UTASSERT_CASETYPE_DEBUG:
Prefix = "DEBUG";
Expand Down

0 comments on commit e58b85a

Please sign in to comment.