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

Generated by: LCOV version 1.13