LCOV - code coverage report
Current view: top level - shared_model/interfaces/query_responses/impl - transactions_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 3 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/transactions_response.hpp"
       7             : #include "interfaces/transaction.hpp"
       8             : #include "utils/string_builder.hpp"
       9             : 
      10             : namespace shared_model {
      11             :   namespace interface {
      12             : 
      13             :     std::string TransactionsResponse::toString() const {
      14           0 :       return detail::PrettyStringBuilder()
      15           0 :           .init("TransactionsResponse")
      16             :           .appendAll(transactions(), [](auto &tx) { return tx.toString(); })
      17           0 :           .finalize();
      18           0 :     }
      19             : 
      20             :     bool TransactionsResponse::operator==(const ModelType &rhs) const {
      21           0 :       return transactions() == rhs.transactions();
      22           0 :     }
      23             : 
      24             :   }  // namespace interface
      25             : }  // namespace shared_model

Generated by: LCOV version 1.13