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

Add error handling for EDU code #162

Merged
merged 24 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
54af751
Implement Error Handling for Edu Component
jeromehue Nov 6, 2023
a7bcb8c
Add unit test for outcome library
jeromehue Nov 8, 2023
f098fb4
Use OUTCOME_TRY macro in Edu.cpp
jeromehue Nov 8, 2023
489b813
Fix typos and improve Outcome.test.cpp
jeromehue Nov 11, 2023
5359e76
Fix Experimental outcome macro definitions
jeromehue Nov 11, 2023
052b5b5
Fix missing include of algorithm header in test
jeromehue Nov 11, 2023
5a8eb21
Fix error in Outcome test
jeromehue Nov 11, 2023
d627f7f
Rework Edu.cpp and edu error codes
jeromehue Nov 11, 2023
0d41ced
Fix Outcome bug when returning a ResultInfo structure
jeromehue Nov 11, 2023
499d95a
Fix errors from rebase
jeromehue Dec 3, 2023
f639fbe
Refactor Outcome.test.cpp
PatrickKa Dec 9, 2023
bfa32a5
Remove outdated NOLINTNEXTLINE() comments in EduMock.cpp
PatrickKa Dec 9, 2023
abb62e2
Remove unused functions in EduMock.cpp
PatrickKa Dec 9, 2023
587cfdf
Rename reachedEof to eofIsReached
PatrickKa Dec 9, 2023
0659cd7
Refactor Edu.cpp
PatrickKa Dec 9, 2023
76b222d
Rename some return values in EduCommands.test.cpp
PatrickKa Dec 9, 2023
cf2337b
Refactor EduListenerThread.cpp a bit
PatrickKa Dec 10, 2023
cbac2e5
Rename some return values in EduProgramQueueThread.cpp
PatrickKa Dec 10, 2023
0a1610c
Add logging for Outcome RebootPolicy
jeromehue Dec 16, 2023
61cc8c3
Use REQUIRE() instead of assert() in outcome test
jeromehue Dec 16, 2023
6914bee
Move Outcome.hpp into its own component
jeromehue Dec 16, 2023
2861215
Update naming scheme for Result<T> variables
jeromehue Dec 16, 2023
3fd77d6
Add library target for Outcome and rename folder
PatrickKa Dec 17, 2023
19d4d65
Update naming scheme for Result<T> variables, part 2
PatrickKa Dec 17, 2023
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
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ endif()

add_library(Sts1CobcSw_Dummy STATIC)
add_library(Sts1CobcSw_Edu STATIC)
add_library(Sts1CobcSw_Outcome INTERFACE)
add_library(Sts1CobcSw_Serial INTERFACE)
add_library(Sts1CobcSw_Utility STATIC)
add_program(HelloDummy)
Expand Down
2 changes: 1 addition & 1 deletion Sts1CobcSw/Edu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
target_sources(Sts1CobcSw_Edu PRIVATE ProgramQueue.cpp ProgramStatusHistory.cpp)
target_link_libraries(Sts1CobcSw_Edu PUBLIC rodos::rodos Sts1CobcSw_Serial)
target_link_libraries(Sts1CobcSw_Edu PUBLIC rodos::rodos Sts1CobcSw_Serial Sts1CobcSw_Outcome)
target_link_libraries(Sts1CobcSw_Edu PRIVATE Sts1CobcSw_Utility)

if(CMAKE_SYSTEM_NAME STREQUAL Generic)
Expand Down
Loading
Loading