Skip to content

Commit

Permalink
Fix nasa#2102, Resolve UT non-distinct identifier warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed May 16, 2022
1 parent 3011346 commit 633310f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions modules/cfe_testcase/src/es_info_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const char TEST_EXPECTED_FILE_NAME[] = "cfe_testcase";
const char ES_APP_EXPECTED_NAME[] = "CFE_ES";
const char INVALID_APP_NAME[] = "INVALID_NAME";

void TestAppInfo(void)
void TestGetAppInfo(void)
{
CFE_ES_AppId_t TestAppId;
CFE_ES_AppId_t ESAppId;
Expand Down Expand Up @@ -129,7 +129,7 @@ void TestAppInfo(void)
UtAssert_INT32_EQ(CFE_ES_GetAppInfo(NULL, TestAppId), CFE_ES_BAD_ARGUMENT);
}

void TestTaskInfo(void)
void TestGetTaskInfo(void)
{
CFE_ES_AppId_t AppId;
CFE_ES_AppInfo_t AppInfo;
Expand Down Expand Up @@ -159,7 +159,7 @@ void TestTaskInfo(void)
UtAssert_INT32_EQ(CFE_ES_GetTaskID(NULL), CFE_ES_BAD_ARGUMENT);
}

void TestLibInfo(void)
void TestGetLibInfo(void)
{
CFE_ES_LibId_t LibId;
CFE_ES_LibId_t CheckId;
Expand Down Expand Up @@ -238,7 +238,7 @@ void TestResetType(void)
UtAssert_True((rSubType > 0) && (rSubType < 10), "Reset Sub-Type = %d", (int)rSubType);
}

void TestModuleInfo(void)
void TestGetModuleInfo(void)
{
CFE_ES_AppInfo_t ModuleInfo;
CFE_ES_LibId_t LibIdByName;
Expand Down Expand Up @@ -267,9 +267,9 @@ void TestModuleInfo(void)

void ESInfoTestSetup(void)
{
UtTest_Add(TestAppInfo, NULL, NULL, "Test App Info");
UtTest_Add(TestTaskInfo, NULL, NULL, "Test Task Info");
UtTest_Add(TestLibInfo, NULL, NULL, "Test Lib Info");
UtTest_Add(TestGetAppInfo, NULL, NULL, "Test App Info");
UtTest_Add(TestGetTaskInfo, NULL, NULL, "Test Task Info");
UtTest_Add(TestGetLibInfo, NULL, NULL, "Test Lib Info");
UtTest_Add(TestResetType, NULL, NULL, "Test Reset Type");
UtTest_Add(TestModuleInfo, NULL, NULL, "Test Module Info");
UtTest_Add(TestGetModuleInfo, NULL, NULL, "Test Module Info");
}

0 comments on commit 633310f

Please sign in to comment.