From 237157daef854ea5caa6b99c22701a6809e69b26 Mon Sep 17 00:00:00 2001 From: Victor Drobny Date: Thu, 1 Mar 2018 14:18:30 +0300 Subject: [PATCH] add doc Signed-off-by: Victor Drobny --- test/module/irohad/validation/query_execution.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/module/irohad/validation/query_execution.cpp b/test/module/irohad/validation/query_execution.cpp index 9188b13f51..dd5da74f42 100644 --- a/test/module/irohad/validation/query_execution.cpp +++ b/test/module/irohad/validation/query_execution.cpp @@ -68,6 +68,12 @@ class QueryValidateExecuteTest : public ::testing::Test { return factory->execute(query); } + /** + * Make transaction with specified parameters + * @param counter + * @param creator + * @return wrapper with created transaction + */ wTransaction makeTransaction(int counter, std::string creator) { return wTransaction(TestTransactionBuilder() .creatorAccountId(creator) @@ -76,6 +82,11 @@ class QueryValidateExecuteTest : public ::testing::Test { .copy()); } + /** + * @param creator + * @param N + * @return observable with transactions + */ rxcpp::observable getDefaultTransactions( const std::string &creator, size_t N) { return rxcpp::observable<>::iterate([&creator, &N, this] {