LCOV - code coverage report
Current view: top level - shared_model/bindings - model_blocks_query_builder.cpp (source / functions) Hit Total Coverage
Test: coverage_cleared.info Lines: 0 10 0.0 %
Date: 2018-12-05 17:11:35 Functions: 0 6 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 "bindings/model_blocks_query_builder.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace bindings {
      10             : 
      11             :     ModelBlocksQueryBuilder::ModelBlocksQueryBuilder() {
      12           0 :       *this = creatorAccountId("").createdTime(0).queryCounter(0);
      13           0 :     }
      14             : 
      15             :     ModelBlocksQueryBuilder ModelBlocksQueryBuilder::createdTime(
      16             :         interface::types::TimestampType created_time) {
      17           0 :       return ModelBlocksQueryBuilder{builder_.createdTime(created_time)};
      18           0 :     }
      19             : 
      20             :     ModelBlocksQueryBuilder ModelBlocksQueryBuilder::creatorAccountId(
      21             :         const interface::types::AccountIdType &creator_account_id) {
      22           0 :       return ModelBlocksQueryBuilder(
      23           0 :           builder_.creatorAccountId(creator_account_id));
      24           0 :     }
      25             : 
      26             :     ModelBlocksQueryBuilder ModelBlocksQueryBuilder::queryCounter(
      27             :         interface::types::CounterType query_counter) {
      28           0 :       return ModelBlocksQueryBuilder(builder_.queryCounter(query_counter));
      29           0 :     }
      30             : 
      31             :     proto::UnsignedWrapper<proto::BlocksQuery>
      32             :     ModelBlocksQueryBuilder::build() {
      33           0 :       return builder_.build();
      34             :     }
      35             : 
      36             :   }  // namespace bindings
      37             : }  // namespace shared_model

Generated by: LCOV version 1.13