LCOV - code coverage report
Current view: top level - src/interfaces - echo.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 2 2 100.0 %
Date: 2026-06-25 07:23:43 Functions: 7 7 100.0 %

          Line data    Source code
       1             : // Copyright (c) 2021 The Bitcoin Core developers
       2             : // Distributed under the MIT software license, see the accompanying
       3             : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
       4             : 
       5             : #include <interfaces/echo.h>
       6             : 
       7             : #include <memory>
       8             : 
       9             : namespace interfaces {
      10             : namespace {
      11             : class EchoImpl : public Echo
      12             : {
      13             : public:
      14           2 :     std::string echo(const std::string& echo) override { return echo; }
      15             : };
      16             : } // namespace
      17           2 : std::unique_ptr<Echo> MakeEcho() { return std::make_unique<EchoImpl>(); }
      18             : } // namespace interfaces

Generated by: LCOV version 1.16