Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1417, #1387, #1393, generated coverage stubs for CFE core #1463

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions modules/core_api/fsw/inc/cfe_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "cfe_error.h"
#include "cfe_fs_api_typedefs.h"
#include "cfe_fs_extern_typedefs.h"
#include "cfe_time_api_typedefs.h"

/** @defgroup CFEAPIFSHeader cFE File Header Management APIs
* @{
Expand Down Expand Up @@ -320,25 +321,6 @@ int32 CFE_FS_BackgroundFileDumpRequest(CFE_FS_FileWriteMetaData_t *Meta);
******************************************************************************/
bool CFE_FS_BackgroundFileDumpIsPending(const CFE_FS_FileWriteMetaData_t *Meta);

/*****************************************************************************/
/**
** \brief Execute the background file write job(s)
**
** \par Description
** Runs the state machine associated with background file write requests
**
** \par Assumptions, External Events, and Notes:
** This should only be invoked as a background job from the ES background task,
** it should not be invoked directly.
**
** \param[in] ElapsedTime The amount of time passed since last invocation (ms)
** \param[in] Arg Not used/ignored
**
** \return true if jobs are pending, false if idle
**
******************************************************************************/
bool CFE_FS_RunBackgroundFileDump(uint32 ElapsedTime, void *Arg);

/**@}*/

#endif /* CFE_FS_H */
24 changes: 16 additions & 8 deletions modules/core_api/ut-stubs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,22 @@ include_directories(${osal_MISSION_DIR}/ut_assert/inc)
# Create the generic stubs library
#
add_library(ut_core_api_stubs STATIC
src/ut_es_stubs.c
src/ut_evs_stubs.c
src/ut_msg_stubs.c
src/ut_resourceid_stubs.c
src/ut_sb_stubs.c
src/ut_tbl_stubs.c
src/ut_time_stubs.c
src/ut_fs_stubs.c
src/cfe_es_handlers.c
src/cfe_es_stubs.c
src/cfe_evs_handlers.c
src/cfe_evs_stubs.c
src/cfe_fs_handlers.c
src/cfe_fs_stubs.c
src/cfe_msg_handlers.c
src/cfe_msg_stubs.c
src/cfe_resourceid_handlers.c
src/cfe_resourceid_stubs.c
src/cfe_sb_handlers.c
src/cfe_sb_stubs.c
src/cfe_tbl_handlers.c
src/cfe_tbl_stubs.c
src/cfe_time_handlers.c
src/cfe_time_stubs.c
)

# Define _CFE_CORE_ within stubs to also reveal internal APIs in header
Expand Down
Loading