LCOV - code coverage report
Current view: top level - shared_model/backend/protobuf/queries/impl - proto_get_account_assets.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/queries/proto_get_account_assets.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace proto {
      10             : 
      11             :     template <typename QueryType>
      12             :     GetAccountAssets::GetAccountAssets(QueryType &&query)
      13          44 :         : CopyableProto(std::forward<QueryType>(query)),
      14          44 :           account_assets_{proto_->payload().get_account_assets()} {}
      15             : 
      16             :     template GetAccountAssets::GetAccountAssets(
      17             :         GetAccountAssets::TransportType &);
      18             :     template GetAccountAssets::GetAccountAssets(
      19             :         const GetAccountAssets::TransportType &);
      20             :     template GetAccountAssets::GetAccountAssets(
      21             :         GetAccountAssets::TransportType &&);
      22             : 
      23             :     GetAccountAssets::GetAccountAssets(const GetAccountAssets &o)
      24           0 :         : GetAccountAssets(o.proto_) {}
      25             : 
      26             :     GetAccountAssets::GetAccountAssets(GetAccountAssets &&o) noexcept
      27          44 :         : GetAccountAssets(std::move(o.proto_)) {}
      28             : 
      29             :     const interface::types::AccountIdType &GetAccountAssets::accountId() const {
      30          77 :       return account_assets_.account_id();
      31             :     }
      32             : 
      33             :   }  // namespace proto
      34             : }  // namespace shared_model

Generated by: LCOV version 1.13