GCC Code Coverage Report


Directory: ./
File: Svc/FileDownlink/Warnings.cpp
Date: 2026-09-03 21:13:48
Exec Total Coverage
Lines: 8 16 50.0%
Functions: 2 4 50.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // ======================================================================
2 // \title Warnings.cpp
3 // \author bocchino
4 // \brief cpp file for FileDownlink::Warnings
5 //
6 // \copyright
7 // Copyright 2009-2015, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 // ======================================================================
11 #include <Svc/FileDownlink/FileDownlink.hpp>
12
13 namespace Svc {
14
15 1 void FileDownlink::Warnings ::fileOpenError() {
16 1 this->m_fileDownlink->log_WARNING_HI_FileOpenError(this->m_fileDownlink->m_file.getSourceName());
17 1 this->warning();
18 1 }
19
20 void FileDownlink::Warnings ::fileRead(const Os::File::Status status) {
21 this->m_fileDownlink->log_WARNING_HI_FileReadError(this->m_fileDownlink->m_file.getSourceName(), status);
22 this->warning();
23 }
24
25 void FileDownlink::Warnings ::zeroSize() {
26 this->m_fileDownlink->log_WARNING_HI_DownlinkZeroSizeFile(this->m_fileDownlink->m_file.getSourceName());
27 this->warning();
28 }
29
30 1 void FileDownlink::Warnings ::sourceOutOfSandbox() {
31 1 this->m_fileDownlink->log_WARNING_HI_SourceOutOfSandbox(this->m_fileDownlink->m_file.getSourceName());
32 1 this->warning();
33 1 }
34
35 } // namespace Svc
36