Skip to content

Commit

Permalink
Merge pull request #1872 from jphickey/fix-1868-tbl-testcases
Browse files Browse the repository at this point in the history
Fix #1868, Add TBL API test cases
  • Loading branch information
astrogeco authored Aug 24, 2021
2 parents 21074a1 + fb7cd23 commit c0e3e1c
Show file tree
Hide file tree
Showing 6 changed files with 548 additions and 43 deletions.
2 changes: 1 addition & 1 deletion modules/cfe_testcase/src/tbl_content_access_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void TestGetAddress(void)
/* Never loaded */
UtAssert_INT32_EQ(CFE_TBL_GetAddress(&TblPtr, CFE_FT_Global.TblHandle), CFE_TBL_ERR_NEVER_LOADED);
UtAssert_INT32_EQ(CFE_TBL_GetAddress(&TblPtr, CFE_TBL_BAD_TABLE_HANDLE), CFE_TBL_ERR_INVALID_HANDLE);
UtAssert_INT32_EQ(CFE_TBL_GetAddress(NULL, CFE_TBL_BAD_TABLE_HANDLE), CFE_TBL_BAD_ARGUMENT);
UtAssert_INT32_EQ(CFE_TBL_GetAddress(NULL, CFE_FT_Global.TblHandle), CFE_TBL_BAD_ARGUMENT);

/* Returns CFE_TBL_INFO_UPDATED since it was just loaded */
LoadTable(&TestTable, CFE_SUCCESS);
Expand Down
Loading

0 comments on commit c0e3e1c

Please sign in to comment.