Skip to content

Commit

Permalink
Integration fix: change deprecated symbol in UI
Browse files Browse the repository at this point in the history
Fix use of CFE_ES_APP_ERROR, replace with current symbol name.
  • Loading branch information
jphickey committed Mar 26, 2020
1 parent a34c02e commit c7dd1e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unit-test/coveragetest/coveragetest_sample_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,14 @@ void Test_SAMPLE_AppMain(void)

/*
* This can validate that the internal "RunStatus" was
* set to CFE_ES_APP_ERROR, by querying the struct directly.
* set to CFE_ES_RunStatus_APP_ERROR, by querying the struct directly.
*
* It is always advisable to include the _actual_ values
* when asserting on conditions, so if/when it fails, the
* log will show what the incorrect value was.
*/
UtAssert_True(SAMPLE_AppData.RunStatus == CFE_ES_APP_ERROR,
"SAMPLE_AppData.RunStatus (%d) == CFE_ES_APP_ERROR",
UtAssert_True(SAMPLE_AppData.RunStatus == CFE_ES_RunStatus_APP_ERROR,
"SAMPLE_AppData.RunStatus (%d) == CFE_ES_RunStatus_APP_ERROR",
SAMPLE_AppData.RunStatus);


Expand Down

0 comments on commit c7dd1e8

Please sign in to comment.