LCOV - code coverage report
Current view: top level - shared_model/interfaces/queries/impl - get_asset_info.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_asset_info.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace interface {
      10             : 
      11             :     std::string GetAssetInfo::toString() const {
      12           3 :       return detail::PrettyStringBuilder()
      13           3 :           .init("GetAssetInfo")
      14           3 :           .append("asset_id", assetId())
      15           3 :           .finalize();
      16           0 :     }
      17             : 
      18             :     bool GetAssetInfo::operator==(const ModelType &rhs) const {
      19           0 :       return assetId() == rhs.assetId();
      20             :     }
      21             : 
      22             :   }  // namespace interface
      23             : }  // namespace shared_model

Generated by: LCOV version 1.13