LCOV - code coverage report
Current view: top level - shared_model/interfaces/commands/impl - create_account.cpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 0 9 0.0 %
Date: 2019-03-07 14:46:43 Functions: 0 2 0.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/commands/create_account.hpp"
       7             : 
       8             : #include "cryptography/public_key.hpp"
       9             : 
      10             : namespace shared_model {
      11             :   namespace interface {
      12             : 
      13             :     std::string CreateAccount::toString() const {
      14           0 :       return detail::PrettyStringBuilder()
      15           0 :           .init("CreateAccount")
      16           0 :           .append("account_name", accountName())
      17           0 :           .append("domain_id", domainId())
      18           0 :           .append(pubkey().toString())
      19           0 :           .finalize();
      20           0 :     }
      21             : 
      22             :     bool CreateAccount::operator==(const ModelType &rhs) const {
      23           0 :       return accountName() == rhs.accountName() and domainId() == rhs.domainId()
      24           0 :           and pubkey() == rhs.pubkey();
      25             :     }
      26             : 
      27             :   }  // namespace interface
      28             : }  // namespace shared_model

Generated by: LCOV version 1.13