LCOV - code coverage report
Current view: top level - shared_model/interfaces/queries/impl - get_account.cpp (source / functions) Hit Total Coverage
Test: coverage_cleared.info Lines: 5 6 83.3 %
Date: 2018-12-05 17:11:35 Functions: 2 2 100.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 "interfaces/queries/get_account.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace interface {
      10             : 
      11             :     std::string GetAccount::toString() const {
      12          17 :       return detail::PrettyStringBuilder()
      13          17 :           .init("GetAccount")
      14          17 :           .append("account_id", accountId())
      15          17 :           .finalize();
      16           0 :     }
      17             : 
      18             :     bool GetAccount::operator==(const ModelType &rhs) const {
      19           1 :       return accountId() == rhs.accountId();
      20             :     }
      21             : 
      22             :   }  // namespace interface
      23             : }  // namespace shared_model

Generated by: LCOV version 1.13