Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Drobny <[email protected]>
  • Loading branch information
vdrobnyi committed Mar 1, 2018
1 parent d774a4a commit 237157d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/module/irohad/validation/query_execution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -76,6 +82,11 @@ class QueryValidateExecuteTest : public ::testing::Test {
.copy());
}

/**
* @param creator
* @param N
* @return observable with transactions
*/
rxcpp::observable<wTransaction> getDefaultTransactions(
const std::string &creator, size_t N) {
return rxcpp::observable<>::iterate([&creator, &N, this] {
Expand Down

0 comments on commit 237157d

Please sign in to comment.