rippled
Classes | Public Member Functions | Private Member Functions | List of all members
ripple::AccountTxPaging_test Class Reference
Inheritance diagram for ripple::AccountTxPaging_test:
Inheritance graph
[legend]
Collaboration diagram for ripple::AccountTxPaging_test:
Collaboration graph
[legend]

Classes

class  GrpcAccountTxClient
 
struct  TxCheck
 

Public Member Functions

void run () override
 

Private Member Functions

bool checkTransaction (Json::Value const &tx, int sequence, int ledger)
 
auto next (test::jtx::Env &env, test::jtx::Account const &account, int ledger_min, int ledger_max, int limit, bool forward, Json::Value const &marker=Json::nullValue)
 
void testAccountTxPaging ()
 
bool checkTransaction (org::xrpl::rpc::v1::GetTransactionResponse const &tx, int sequence, int ledger)
 
std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status > nextBinary (std::string grpcPort, test::jtx::Env &env, std::string const &account="", int ledger_min=-1, int ledger_max=-1, int limit=-1, bool forward=false, org::xrpl::rpc::v1::Marker *marker=nullptr)
 
std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status > next (std::string grpcPort, test::jtx::Env &env, std::string const &account="", int ledger_min=-1, int ledger_max=-1, int limit=-1, bool forward=false, org::xrpl::rpc::v1::Marker *marker=nullptr)
 
std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status > nextWithSeq (std::string grpcPort, test::jtx::Env &env, std::string const &account="", int ledger_seq=-1, int limit=-1, bool forward=false, org::xrpl::rpc::v1::Marker *marker=nullptr)
 
std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status > nextWithHash (std::string grpcPort, test::jtx::Env &env, std::string const &account="", uint256 const &hash=beast::zero, int limit=-1, bool forward=false, org::xrpl::rpc::v1::Marker *marker=nullptr)
 
void testAccountTxParametersGrpc ()
 
void testAccountTxContentsGrpc ()
 
void testAccountTxPagingGrpc ()
 

Detailed Description

Definition at line 31 of file AccountTxPaging_test.cpp.

Member Function Documentation

◆ checkTransaction() [1/2]

bool ripple::AccountTxPaging_test::checkTransaction ( Json::Value const &  tx,
int  sequence,
int  ledger 
)
private

Definition at line 34 of file AccountTxPaging_test.cpp.

◆ next() [1/2]

auto ripple::AccountTxPaging_test::next ( test::jtx::Env env,
test::jtx::Account const &  account,
int  ledger_min,
int  ledger_max,
int  limit,
bool  forward,
Json::Value const &  marker = Json::nullValue 
)
private

Definition at line 42 of file AccountTxPaging_test.cpp.

◆ testAccountTxPaging()

void ripple::AccountTxPaging_test::testAccountTxPaging ( )
private

Definition at line 64 of file AccountTxPaging_test.cpp.

◆ checkTransaction() [2/2]

bool ripple::AccountTxPaging_test::checkTransaction ( org::xrpl::rpc::v1::GetTransactionResponse const &  tx,
int  sequence,
int  ledger 
)
private

Definition at line 286 of file AccountTxPaging_test.cpp.

◆ nextBinary()

std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status> ripple::AccountTxPaging_test::nextBinary ( std::string  grpcPort,
test::jtx::Env env,
std::string const &  account = "",
int  ledger_min = -1,
int  ledger_max = -1,
int  limit = -1,
bool  forward = false,
org::xrpl::rpc::v1::Marker *  marker = nullptr 
)
private

Definition at line 299 of file AccountTxPaging_test.cpp.

◆ next() [2/2]

std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status> ripple::AccountTxPaging_test::next ( std::string  grpcPort,
test::jtx::Env env,
std::string const &  account = "",
int  ledger_min = -1,
int  ledger_max = -1,
int  limit = -1,
bool  forward = false,
org::xrpl::rpc::v1::Marker *  marker = nullptr 
)
private

Definition at line 333 of file AccountTxPaging_test.cpp.

◆ nextWithSeq()

std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status> ripple::AccountTxPaging_test::nextWithSeq ( std::string  grpcPort,
test::jtx::Env env,
std::string const &  account = "",
int  ledger_seq = -1,
int  limit = -1,
bool  forward = false,
org::xrpl::rpc::v1::Marker *  marker = nullptr 
)
private

Definition at line 366 of file AccountTxPaging_test.cpp.

◆ nextWithHash()

std::pair< org::xrpl::rpc::v1::GetAccountTransactionHistoryResponse, grpc::Status> ripple::AccountTxPaging_test::nextWithHash ( std::string  grpcPort,
test::jtx::Env env,
std::string const &  account = "",
uint256 const &  hash = beast::zero,
int  limit = -1,
bool  forward = false,
org::xrpl::rpc::v1::Marker *  marker = nullptr 
)
private

Definition at line 396 of file AccountTxPaging_test.cpp.

◆ testAccountTxParametersGrpc()

void ripple::AccountTxPaging_test::testAccountTxParametersGrpc ( )
private

Definition at line 425 of file AccountTxPaging_test.cpp.

◆ testAccountTxContentsGrpc()

void ripple::AccountTxPaging_test::testAccountTxContentsGrpc ( )
private

Definition at line 541 of file AccountTxPaging_test.cpp.

◆ testAccountTxPagingGrpc()

void ripple::AccountTxPaging_test::testAccountTxPagingGrpc ( )
private

Definition at line 1907 of file AccountTxPaging_test.cpp.

◆ run()

void ripple::AccountTxPaging_test::run ( )
override

Definition at line 2166 of file AccountTxPaging_test.cpp.