LCOV - code coverage report
Current view: top level - libs/bsw/asyncFreeRtos/src/async - Types.cpp (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 7 7
Test Date: 2026-02-24 11:21:15 Functions: 100.0 % 3 3

            Line data    Source code
       1              : // Copyright 2024 Accenture.
       2              : 
       3              : #include "async/AsyncBinding.h"
       4              : 
       5              : namespace async
       6              : {
       7           26 : TimeoutType::TimeoutType() : _runnable(nullptr), _context(0) {}
       8              : 
       9            2 : void TimeoutType::cancel() { AsyncBindingType::AdapterType::cancel(*this); }
      10              : 
      11            5 : void TimeoutType::expired()
      12              : {
      13            5 :     RunnableType* const runnable = _runnable;
      14            5 :     if (runnable != nullptr)
      15              :     {
      16            4 :         runnable->execute();
      17              :     }
      18            5 : }
      19              : 
      20              : } // namespace async
        

Generated by: LCOV version 2.0-1