LCOV - code coverage report
Current view: top level - shared_model/interfaces/commands/impl - set_account_detail.cpp (source / functions) Hit Total Coverage
Test: coverage_cleared.info Lines: 6 9 66.7 %
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/commands/set_account_detail.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace interface {
      10             : 
      11             :     std::string SetAccountDetail::toString() const {
      12          70 :       return detail::PrettyStringBuilder()
      13          70 :           .init("SetAccountDetail")
      14          70 :           .append("account_id", accountId())
      15          70 :           .append("key", key())
      16          70 :           .append("value", value())
      17          70 :           .finalize();
      18           0 :     }
      19             : 
      20             :     bool SetAccountDetail::operator==(const ModelType &rhs) const {
      21           0 :       return accountId() == rhs.accountId() and key() == rhs.key()
      22           0 :           and value() == rhs.value();
      23             :     }
      24             : 
      25             :   }  // namespace interface
      26             : }  // namespace shared_model

Generated by: LCOV version 1.13