Skip to content

Commit

Permalink
Fix nasa#2461, rename reference table
Browse files Browse the repository at this point in the history
The sample_app provides "ExampleTable" now.
  • Loading branch information
jphickey committed Nov 1, 2023
1 parent 0316672 commit f909d9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/cfe_testcase/src/cfe_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extern CFE_FT_Global_t CFE_FT_Global;
* This filename was made configurable such that projects can replace the
* sample app table with a project specific table for the purpose of CI/CD.
*/
#define CFE_ASSERT_SHARED_TBL_NAME "SAMPLE_APP.SampleAppTable"
#define CFE_ASSERT_SHARED_TBL_NAME "SAMPLE_APP.ExampleTable"

void TimeInRange(CFE_TIME_SysTime_t Start, CFE_TIME_SysTime_t Time, CFE_TIME_SysTime_t Range, const char *Str);

Expand Down
2 changes: 1 addition & 1 deletion modules/cfe_testcase/src/tbl_registration_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void TestTableShare(void)
UtPrintf("Testing: CFE_TBL_Share");
CFE_TBL_Handle_t SharedTblHandle;
const char * SharedTblName = CFE_ASSERT_SHARED_TBL_NAME;
const char * BadTblName = "SampleAppTable";
const char * BadTblName = "ExampleTable";

UtAssert_INT32_EQ(CFE_TBL_Share(NULL, SharedTblName), CFE_TBL_BAD_ARGUMENT);
UtAssert_INT32_EQ(CFE_TBL_Share(&SharedTblHandle, SharedTblName), CFE_SUCCESS);
Expand Down

0 comments on commit f909d9d

Please sign in to comment.