LCOV - code coverage report
Current view: top level - shared_model/interfaces/commands/impl - detach_role.cpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 0 7 0.0 %
Date: 2019-03-07 14:46:43 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/commands/detach_role.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace interface {
      10             : 
      11             :     std::string DetachRole::toString() const {
      12           0 :       return detail::PrettyStringBuilder()
      13           0 :           .init("DetachRole")
      14           0 :           .append("role_name", roleName())
      15           0 :           .append("account_id", accountId())
      16           0 :           .finalize();
      17           0 :     }
      18             : 
      19             :     bool DetachRole::operator==(const ModelType &rhs) const {
      20           0 :       return accountId() == rhs.accountId() and roleName() == rhs.roleName();
      21             :     }
      22             : 
      23             :   }  // namespace interface
      24             : }  // namespace shared_model

Generated by: LCOV version 1.13