Skip to content

Commit

Permalink
Merge pull request #2015 from pavll:fix-1823-fs-functional-test
Browse files Browse the repository at this point in the history
Fix #1823, FS Functional test
  • Loading branch information
astrogeco committed Dec 8, 2021
2 parents c161cf0 + ed8d927 commit e4c68a7
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions modules/cfe_testcase/src/fs_util_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,26 @@ void TestFileCategory(void)
{
UtPrintf("Testing: CFE_FS_GetDefaultMountPoint, CFE_FS_GetDefaultExtension");

UtAssert_NULL(CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_UNKNOWN));
UtAssert_NULL(CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_UNKNOWN));
CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_UNKNOWN);
CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_UNKNOWN);

CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_DYNAMIC_MODULE);
CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_DYNAMIC_MODULE);

CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_BINARY_DATA_DUMP);
CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_BINARY_DATA_DUMP);

CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_TEXT_LOG);
CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_TEXT_LOG);

CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_SCRIPT);
CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_SCRIPT);

CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_TEMP);
CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_TEMP);

CFE_FS_GetDefaultMountPoint(CFE_FS_FileCategory_MAX);
CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_MAX);
}

void TestInputFile(void)
Expand Down

0 comments on commit e4c68a7

Please sign in to comment.