LCOV - code coverage report
Current view: top level - shared_model/interfaces/queries/impl - get_account_assets.cpp (source / functions) Hit Total Coverage
Test: coverage_cleared.info Lines: 4 6 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/queries/get_account_assets.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace interface {
      10             : 
      11             :     std::string GetAccountAssets::toString() const {
      12          16 :       return detail::PrettyStringBuilder()
      13          16 :           .init("GetAccountAssets")
      14          16 :           .append("account_id", accountId())
      15          16 :           .finalize();
      16           0 :     }
      17             : 
      18             :     // TODO 07/06/2018 Akvinikym: types of rhs.accountId() and rhs.assetId() should be different IR-1397
      19             :     bool GetAccountAssets::operator==(const ModelType &rhs) const {
      20           0 :       return accountId() == rhs.accountId();
      21             :     }
      22             : 
      23             :   }  // namespace interface
      24             : }  // namespace shared_model

Generated by: LCOV version 1.13