GCC Code Coverage Report


Directory: ./
File: Os/Stub/Task.cpp
Date: 2026-09-03 21:13:48
Exec Total Coverage
Lines: 0 14 0.0%
Functions: 0 8 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // ======================================================================
2 // \title Os/Stub/Task.cpp
3 // \brief stub implementations for Os::Task
4 // ======================================================================
5 #include "Os/Stub/Task.hpp"
6 namespace Os {
7 namespace Stub {
8 namespace Task {
9
10 void StubTask::onStart() {}
11
12 Os::TaskInterface::Status StubTask::join() {
13 return Os::TaskInterface::Status::UNKNOWN_ERROR;
14 }
15
16 void StubTask::suspend(Os::TaskInterface::SuspensionType suspensionType) {}
17
18 void StubTask::resume() {}
19
20 Os::TaskHandle* StubTask::getHandle() {
21 return nullptr;
22 }
23
24 Os::TaskInterface::Status StubTask::start(const Os::TaskInterface::Arguments& arguments) {
25 return Os::TaskInterface::Status::UNKNOWN_ERROR;
26 }
27
28 bool StubTask::isCooperative() {
29 return true;
30 }
31
32 Os::Task::Status StubTask::_delay(const Fw::TimeInterval& interval) {
33 FW_ASSERT(false);
34 return Os::Task::Status::UNKNOWN_ERROR;
35 }
36
37 } // namespace Task
38 } // namespace Stub
39 } // namespace Os
40