LCOV - code coverage report
Current view: top level - shared_model/backend/protobuf/query_responses/impl - proto_account_asset_response.cpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 6 7 85.7 %
Date: 2019-03-07 14:46:43 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_asset_response.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace proto {
      10             : 
      11             :     template <typename QueryResponseType>
      12             :     AccountAssetResponse::AccountAssetResponse(
      13             :         QueryResponseType &&queryResponse)
      14          25 :         : CopyableProto(std::forward<QueryResponseType>(queryResponse)),
      15          25 :           account_asset_response_{proto_->account_assets_response()},
      16          25 :           account_assets_{account_asset_response_.account_assets().begin(),
      17          25 :                           account_asset_response_.account_assets().end()} {}
      18             : 
      19             :     template AccountAssetResponse::AccountAssetResponse(
      20             :         AccountAssetResponse::TransportType &);
      21             :     template AccountAssetResponse::AccountAssetResponse(
      22             :         const AccountAssetResponse::TransportType &);
      23             :     template AccountAssetResponse::AccountAssetResponse(
      24             :         AccountAssetResponse::TransportType &&);
      25             : 
      26             :     AccountAssetResponse::AccountAssetResponse(const AccountAssetResponse &o)
      27           0 :         : AccountAssetResponse(o.proto_) {}
      28             : 
      29             :     AccountAssetResponse::AccountAssetResponse(AccountAssetResponse &&o)
      30          25 :         : AccountAssetResponse(std::move(o.proto_)) {}
      31             : 
      32             :     const interface::types::AccountAssetCollectionType
      33             :     AccountAssetResponse::accountAssets() const {
      34          24 :       return account_assets_;
      35             :     }
      36             : 
      37             :   }  // namespace proto
      38             : }  // namespace shared_model

Generated by: LCOV version 1.13