LCOV - code coverage report
Current view: top level - libs/bsw/cpp2someip/src - SomeIpStreamer.cpp (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 4 4
Test Date: 2026-09-11 12:05:06 Functions: 100.0 % 1 1

            Line data    Source code
       1              : /********************************************************************************
       2              :  * Copyright (c) 2026 Accenture
       3              :  *
       4              :  * This program and the accompanying materials are made available under the
       5              :  * terms of the Apache License Version 2.0 which is available at
       6              :  * https://www.apache.org/licenses/LICENSE-2.0
       7              :  *
       8              :  * SPDX-License-Identifier: Apache-2.0
       9              :  ********************************************************************************/
      10              : 
      11              : #include "someip/SomeIpStreamer.h"
      12              : 
      13              : namespace someip
      14              : {
      15            3 : void validate(SomeIpStreamer& streamer, bool const result)
      16              : {
      17            3 :     if (streamer.isGood() && (result == false))
      18              :     {
      19            1 :         streamer.setFailure(::someip::ErrorCode::SOMEIP_CODING);
      20              :     }
      21            3 : }
      22              : 
      23              : } // namespace someip
        

Generated by: LCOV version 2.0-1