LCOV - code coverage report
Current view: top level - bld-cov/src/test - ipc_test.capnp.proxy-client.c++ (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 85.7 % 28 24
Test Date: 2025-08-25 05:11:47 Functions: 100.0 % 6 6
Branches: 50.0 % 10 5

             Branch data     Line data    Source code
       1                 :             : // Generated by mpgen from /tmp/cirrus-ci-build/bitcoin-core/src/test/ipc_test.capnp
       2                 :             : 
       3                 :             : // IWYU pragma: no_include <kj/memory.h>
       4                 :             : // IWYU pragma: no_include <memory>
       5                 :             : // IWYU pragma: begin_keep
       6                 :             : #include <src/test/ipc_test.capnp.h>
       7                 :             : #include <src/test/ipc_test.capnp.proxy.h>
       8                 :             : #include <src/test/ipc_test.capnp.proxy-types.h>
       9                 :             : #include <capnp/generated-header-support.h>
      10                 :             : #include <cstring>
      11                 :             : #include <kj/common.h>
      12                 :             : #include <mp/proxy.h>
      13                 :             : #include <mp/util.h>
      14                 :             : #include <mp/proxy-types.h>
      15                 :             : // IWYU pragma: end_keep
      16                 :             : 
      17                 :             : namespace mp {
      18                 :           1 : ProxyClient<gen::FooInterface>::M0::Result ProxyClient<gen::FooInterface>::add(M0::Param<0> a,M0::Param<1> b) {
      19                 :           1 :     typename M0::Result result;
      20                 :           1 :     clientInvoke(*this, &gen::FooInterface::Client::addRequest, MakeClientParam<Accessor<ipc_test_fields::A, FIELD_IN>>(M0::Fwd<0>(a)), MakeClientParam<Accessor<ipc_test_fields::B, FIELD_IN>>(M0::Fwd<1>(b)), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT>>(result));
      21                 :           1 :     return result;
      22                 :             : }
      23                 :           1 : ProxyClient<gen::FooInterface>::M1::Result ProxyClient<gen::FooInterface>::passOutPoint(M1::Param<0> arg) {
      24                 :           1 :     typename M1::Result result;
      25                 :           1 :     clientInvoke(*this, &gen::FooInterface::Client::passOutPointRequest, MakeClientParam<Accessor<ipc_test_fields::Arg, FIELD_IN | FIELD_BOXED>>(M1::Fwd<0>(arg)), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT | FIELD_BOXED>>(result));
      26                 :           1 :     return result;
      27                 :             : }
      28                 :           1 : ProxyClient<gen::FooInterface>::M2::Result ProxyClient<gen::FooInterface>::passUniValue(M2::Param<0> arg) {
      29         [ +  - ]:           1 :     typename M2::Result result;
      30         [ +  - ]:           1 :     clientInvoke(*this, &gen::FooInterface::Client::passUniValueRequest, MakeClientParam<Accessor<ipc_test_fields::Arg, FIELD_IN | FIELD_BOXED>>(M2::Fwd<0>(arg)), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT | FIELD_BOXED>>(result));
      31                 :           1 :     return result;
      32                 :           0 : }
      33                 :           1 : ProxyClient<gen::FooInterface>::M3::Result ProxyClient<gen::FooInterface>::passTransaction(M3::Param<0> arg) {
      34                 :           1 :     typename M3::Result result;
      35         [ +  - ]:           1 :     clientInvoke(*this, &gen::FooInterface::Client::passTransactionRequest, MakeClientParam<Accessor<ipc_test_fields::Arg, FIELD_IN | FIELD_BOXED>>(M3::Fwd<0>(arg)), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT | FIELD_BOXED>>(result));
      36                 :           1 :     return result;
      37                 :           0 : }
      38                 :           1 : ProxyClient<gen::FooInterface>::M4::Result ProxyClient<gen::FooInterface>::passVectorChar(M4::Param<0> arg) {
      39                 :           1 :     typename M4::Result result;
      40         [ +  - ]:           1 :     clientInvoke(*this, &gen::FooInterface::Client::passVectorCharRequest, MakeClientParam<Accessor<ipc_test_fields::Arg, FIELD_IN | FIELD_BOXED>>(M4::Fwd<0>(arg)), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT | FIELD_BOXED>>(result));
      41                 :           1 :     return result;
      42                 :           0 : }
      43                 :           1 : ProxyClient<gen::FooInterface>::M5::Result ProxyClient<gen::FooInterface>::passScript(M5::Param<0> arg) {
      44                 :           1 :     typename M5::Result result;
      45         [ +  - ]:           1 :     clientInvoke(*this, &gen::FooInterface::Client::passScriptRequest, MakeClientParam<Accessor<ipc_test_fields::Arg, FIELD_IN | FIELD_BOXED>>(M5::Fwd<0>(arg)), MakeClientParam<Accessor<ipc_test_fields::Result, FIELD_OUT | FIELD_BOXED>>(result));
      46                 :           1 :     return result;
      47                 :           0 : }
      48                 :             : namespace {
      49                 :             : ProxyTypeRegister t11175330607535746770{TypeList<FooImplementation>{}};
      50                 :             : } // namespace
      51                 :             : } // namespace mp
        

Generated by: LCOV version 2.0-1