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

Generated by: LCOV version 1.13