rippled
Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
ripple::test::SHAMapStore_test Class Reference
Inheritance diagram for ripple::test::SHAMapStore_test:
Inheritance graph
[legend]
Collaboration diagram for ripple::test::SHAMapStore_test:
Collaboration graph
[legend]

Public Member Functions

void testClear ()
 
void testAutomatic ()
 
void testCanDelete ()
 
void run () override
 

Private Member Functions

bool goodLedger (jtx::Env &env, Json::Value const &json, std::string ledgerID, bool checkDB=false)
 
bool bad (Json::Value const &json, error_code_i error=rpcLGR_NOT_FOUND)
 
std::string getHash (Json::Value const &json)
 
void ledgerCheck (jtx::Env &env, int const rows, int const first)
 
void transactionCheck (jtx::Env &env, int const rows)
 
void accountTransactionCheck (jtx::Env &env, int const rows)
 
int waitForReady (jtx::Env &env)
 

Static Private Member Functions

static auto onlineDelete (std::unique_ptr< Config > cfg)
 
static auto advisoryDelete (std::unique_ptr< Config > cfg)
 

Static Private Attributes

static const auto deleteInterval = 8
 

Detailed Description

Definition at line 31 of file SHAMapStore_test.cpp.

Member Function Documentation

◆ onlineDelete()

static auto ripple::test::SHAMapStore_test::onlineDelete ( std::unique_ptr< Config cfg)
staticprivate

Definition at line 36 of file SHAMapStore_test.cpp.

◆ advisoryDelete()

static auto ripple::test::SHAMapStore_test::advisoryDelete ( std::unique_ptr< Config cfg)
staticprivate

Definition at line 45 of file SHAMapStore_test.cpp.

◆ goodLedger()

bool ripple::test::SHAMapStore_test::goodLedger ( jtx::Env env,
Json::Value const &  json,
std::string  ledgerID,
bool  checkDB = false 
)
private

Definition at line 53 of file SHAMapStore_test.cpp.

◆ bad()

bool ripple::test::SHAMapStore_test::bad ( Json::Value const &  json,
error_code_i  error = rpcLGR_NOT_FOUND 
)
private

Definition at line 101 of file SHAMapStore_test.cpp.

◆ getHash()

std::string ripple::test::SHAMapStore_test::getHash ( Json::Value const &  json)
private

Definition at line 109 of file SHAMapStore_test.cpp.

◆ ledgerCheck()

void ripple::test::SHAMapStore_test::ledgerCheck ( jtx::Env env,
int const  rows,
int const  first 
)
private

Definition at line 120 of file SHAMapStore_test.cpp.

◆ transactionCheck()

void ripple::test::SHAMapStore_test::transactionCheck ( jtx::Env env,
int const  rows 
)
private

Definition at line 132 of file SHAMapStore_test.cpp.

◆ accountTransactionCheck()

void ripple::test::SHAMapStore_test::accountTransactionCheck ( jtx::Env env,
int const  rows 
)
private

Definition at line 140 of file SHAMapStore_test.cpp.

◆ waitForReady()

int ripple::test::SHAMapStore_test::waitForReady ( jtx::Env env)
private

Definition at line 148 of file SHAMapStore_test.cpp.

◆ testClear()

void ripple::test::SHAMapStore_test::testClear ( )

Definition at line 170 of file SHAMapStore_test.cpp.

◆ testAutomatic()

void ripple::test::SHAMapStore_test::testAutomatic ( )

Definition at line 281 of file SHAMapStore_test.cpp.

◆ testCanDelete()

void ripple::test::SHAMapStore_test::testCanDelete ( )

Definition at line 350 of file SHAMapStore_test.cpp.

◆ run()

void ripple::test::SHAMapStore_test::run ( )
override

Definition at line 521 of file SHAMapStore_test.cpp.

Member Data Documentation

◆ deleteInterval

const auto ripple::test::SHAMapStore_test::deleteInterval = 8
staticprivate

Definition at line 33 of file SHAMapStore_test.cpp.