LCOV - code coverage report
Current view: top level - shared_model/interfaces/query_responses/impl - block_response.cpp (source / functions) Hit Total Coverage
Test: coverage_cleared.info Lines: 0 6 0.0 %
Date: 2018-12-05 17:11:35 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/query_responses/block_response.hpp"
       7             : 
       8             : #include "interfaces/iroha_internal/block.hpp"
       9             : #include "utils/string_builder.hpp"
      10             : 
      11             : namespace shared_model {
      12             :   namespace interface {
      13             :     std::string BlockResponse::toString() const {
      14           0 :       return detail::PrettyStringBuilder()
      15           0 :           .init("BlockResponse")
      16           0 :           .append(block().toString())
      17           0 :           .finalize();
      18           0 :     }
      19             : 
      20             :     bool BlockResponse::operator==(const ModelType &rhs) const {
      21           0 :       return block() == rhs.block();
      22             :     }
      23             :   }  // namespace interface
      24             : }  // namespace shared_model

Generated by: LCOV version 1.13