LCOV - code coverage report
Current view: top level - shared_model/cryptography/model_impl - seed.cpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 0 5 0.0 %
Date: 2019-03-07 14:46:43 Functions: 2 3 66.7 %

          Line data    Source code
       1             : /**
       2             :  * Copyright Soramitsu Co., Ltd. All Rights Reserved.
       3             :  * SPDX-License-Identifier: Apache-2.0
       4             :  */
       5             : 
       6             : #include "cryptography/seed.hpp"
       7             : 
       8             : #include "utils/string_builder.hpp"
       9             : 
      10             : namespace shared_model {
      11             :   namespace crypto {
      12             : 
      13             :     Seed::Seed(const std::string &seed) : Blob(seed) {}
      14             : 
      15             :     std::string Seed::toString() const {
      16           0 :       return detail::PrettyStringBuilder()
      17           0 :           .init("Seed")
      18           0 :           .append(Blob::hex())
      19           0 :           .finalize();
      20           0 :     }
      21             :   }  // namespace crypto
      22             : }  // namespace shared_model

Generated by: LCOV version 1.13