LCOV - code coverage report
Current view: top level - shared_model/interfaces/queries/impl - get_transactions.cpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 0 6 0.0 %
Date: 2019-03-07 14:46:43 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/queries/get_transactions.hpp"
       7             : 
       8             : #include "cryptography/hash.hpp"
       9             : #include "utils/string_builder.hpp"
      10             : 
      11             : namespace shared_model {
      12             :   namespace interface {
      13             : 
      14             :     std::string GetTransactions::toString() const {
      15           0 :       return detail::PrettyStringBuilder()
      16           0 :           .init("GetTransactions")
      17           0 :           .appendAll(transactionHashes(),
      18             :                      [](const auto &s) { return s.toString(); })
      19           0 :           .finalize();
      20           0 :     }
      21             : 
      22             :     bool GetTransactions::operator==(const ModelType &rhs) const {
      23           0 :       return transactionHashes() == rhs.transactionHashes();
      24             :     }
      25             : 
      26             :   }  // namespace interface
      27             : }  // namespace shared_model

Generated by: LCOV version 1.13