LCOV - code coverage report
Current view: top level - shared_model/backend/protobuf/query_responses/impl - proto_account_detail_response.cpp (source / functions) Hit Total Coverage
Test: coverage_cleared.info Lines: 4 5 80.0 %
Date: 2018-12-05 17:11:35 Functions: 6 15 40.0 %

          Line data    Source code
       1             : /**
       2             :  * Copyright Soramitsu Co., Ltd. All Rights Reserved.
       3             :  * SPDX-License-Identifier: Apache-2.0
       4             :  */
       5             : 
       6             : #include "backend/protobuf/query_responses/proto_account_detail_response.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace proto {
      10             : 
      11             :     template <typename QueryResponseType>
      12             :     AccountDetailResponse::AccountDetailResponse(
      13             :         QueryResponseType &&queryResponse)
      14          26 :         : CopyableProto(std::forward<QueryResponseType>(queryResponse)),
      15          26 :           account_detail_response_{proto_->account_detail_response()} {}
      16             : 
      17             :     template AccountDetailResponse::AccountDetailResponse(
      18             :         AccountDetailResponse::TransportType &);
      19             :     template AccountDetailResponse::AccountDetailResponse(
      20             :         const AccountDetailResponse::TransportType &);
      21             :     template AccountDetailResponse::AccountDetailResponse(
      22             :         AccountDetailResponse::TransportType &&);
      23             : 
      24             :     AccountDetailResponse::AccountDetailResponse(const AccountDetailResponse &o)
      25           0 :         : AccountDetailResponse(o.proto_) {}
      26             : 
      27             :     AccountDetailResponse::AccountDetailResponse(AccountDetailResponse &&o)
      28          26 :         : AccountDetailResponse(std::move(o.proto_)) {}
      29             : 
      30             :     const interface::types::DetailType &AccountDetailResponse::detail() const {
      31          16 :       return account_detail_response_.detail();
      32             :     }
      33             : 
      34             :   }  // namespace proto
      35             : }  // namespace shared_model

Generated by: LCOV version 1.13