You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The sample_app only calls CFE functions; it does not call any OSAL, PSP, or additional library functions like a real app might do.
This makes a difference for Unit Testing. The framework should contain a useful example of UT for apps and libs (related to #21) and the example would be more useful if it called something other than CFE.
Describe the solution you'd like
The sample_app should invoke the SAMPLE_Function as provided in the example sample_lib library.
Describe alternatives you've considered
N/A
Additional context
This change would demonstrate two things:
demonstrate at runtime that the dynamic linking worked correctly for the libraries (i.e. an app can successfully call into a lib like it is supposed to)
demonstrate linking to the stubs provided by the library for unit testing
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
The CFE framework sample/lab applications did not have any
example use-cases where a _library_ function was invoked.
For the FSW verification aspect, it is important to do
this at least in one place as it verifies that the
run-time linking is working properly, not just for
functions in the core image but also for dynamically
loaded libraries.
The unit test framework also needs to support this use
case, to demonstrate that it can link against the stub
provided by the library for the local UT.
This just simply adds a call to the "SAMPLE_Function"
provided by sample_lib to demonstrate this.
The CFE framework sample/lab applications did not have any
example use-cases where a _library_ function was invoked.
For the FSW verification aspect, it is important to do
this at least in one place as it verifies that the
run-time linking is working properly, not just for
functions in the core image but also for dynamically
loaded libraries.
The unit test framework also needs to support this use
case, to demonstrate that it can link against the stub
provided by the library for the local UT.
This just simply adds a call to the "SAMPLE_Function"
provided by sample_lib to demonstrate this.
Is your feature request related to a problem? Please describe.
The sample_app only calls CFE functions; it does not call any OSAL, PSP, or additional library functions like a real app might do.
This makes a difference for Unit Testing. The framework should contain a useful example of UT for apps and libs (related to #21) and the example would be more useful if it called something other than CFE.
Describe the solution you'd like
The sample_app should invoke the
SAMPLE_Function
as provided in the examplesample_lib
library.Describe alternatives you've considered
N/A
Additional context
This change would demonstrate two things:
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: