GCC Code Coverage Report


Directory: Os/
File: Stub/Queue.cpp
Date: 2026-09-03 21:15:10
Exec Total Coverage
Lines: 0 13 0.0%
Functions: 0 7 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // ======================================================================
2 // \title Os/Stub/Queue.cpp
3 // \brief stub implementation for Os::Queue
4 // ======================================================================
5 #include "Queue.hpp"
6
7 namespace Os {
8 namespace Stub {
9 namespace Queue {
10
11 QueueInterface::Status StubQueue::create(FwEnumStoreType id,
12 const Fw::ConstStringBase& name,
13 FwSizeType depth,
14 FwSizeType messageSize) {
15 return QueueInterface::Status::UNKNOWN_ERROR;
16 }
17
18 void StubQueue::teardown() {}
19
20 QueueInterface::Status StubQueue::send(const U8* buffer,
21 FwSizeType size,
22 FwQueuePriorityType priority,
23 QueueInterface::BlockingType blockType) {
24 return QueueInterface::Status::UNINITIALIZED;
25 }
26
27 QueueInterface::Status StubQueue::receive(U8* destination,
28 FwSizeType capacity,
29 QueueInterface::BlockingType blockType,
30 FwSizeType& actualSize,
31 FwQueuePriorityType& priority) {
32 return QueueInterface::Status::UNINITIALIZED;
33 }
34
35 FwSizeType StubQueue::getMessagesAvailable() const {
36 return 0;
37 }
38
39 FwSizeType StubQueue::getMessageHighWaterMark() const {
40 return 0;
41 }
42
43 QueueHandle* StubQueue::getHandle() {
44 return &this->m_handle;
45 }
46
47 } // namespace Queue
48 } // namespace Stub
49 } // namespace Os
50