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

Classes

struct  Cur
 
struct  Fixture
 

Public Member Functions

void testFileCreation ()
 
void testRPC (WithFile withFile)
 
void testJobs (WithFile withFile)
 
void testInvalidID (WithFile withFile)
 
void testRotate (WithFile withFile)
 
void run () override
 

Private Types

enum  WithFile : bool { WithFile::no = false, WithFile::yes = true }
 
using path = boost::filesystem::path
 

Static Private Member Functions

static std::uint64_t jsonToUint64 (Json::Value const &jsonUintAsString)
 
static std::vector< CurgetSortedCurrent (Json::Value const &currentJson)
 

Private Attributes

test::jtx::Env env_ {*this}
 
beast::Journal j_ {env_.app().journal("PerfLog_test")}
 

Detailed Description

Definition at line 39 of file PerfLog_test.cpp.

Member Typedef Documentation

◆ path

using ripple::PerfLog_test::path = boost::filesystem::path
private

Definition at line 43 of file PerfLog_test.cpp.

Member Enumeration Documentation

◆ WithFile

enum ripple::PerfLog_test::WithFile : bool
strongprivate
Enumerator
no 
yes 

Definition at line 41 of file PerfLog_test.cpp.

Member Function Documentation

◆ jsonToUint64()

static std::uint64_t ripple::PerfLog_test::jsonToUint64 ( Json::Value const &  jsonUintAsString)
staticprivate

Definition at line 140 of file PerfLog_test.cpp.

◆ getSortedCurrent()

static std::vector<Cur> ripple::PerfLog_test::getSortedCurrent ( Json::Value const &  currentJson)
staticprivate

Definition at line 162 of file PerfLog_test.cpp.

◆ testFileCreation()

void ripple::PerfLog_test::testFileCreation ( )

Definition at line 189 of file PerfLog_test.cpp.

◆ testRPC()

void ripple::PerfLog_test::testRPC ( WithFile  withFile)

Definition at line 296 of file PerfLog_test.cpp.

◆ testJobs()

void ripple::PerfLog_test::testJobs ( WithFile  withFile)

Definition at line 499 of file PerfLog_test.cpp.

◆ testInvalidID()

void ripple::PerfLog_test::testInvalidID ( WithFile  withFile)

Definition at line 844 of file PerfLog_test.cpp.

◆ testRotate()

void ripple::PerfLog_test::testRotate ( WithFile  withFile)

Definition at line 985 of file PerfLog_test.cpp.

◆ run()

void ripple::PerfLog_test::run ( )
override

Definition at line 1041 of file PerfLog_test.cpp.

Member Data Documentation

◆ env_

test::jtx::Env ripple::PerfLog_test::env_ {*this}
private

Definition at line 47 of file PerfLog_test.cpp.

◆ j_

beast::Journal ripple::PerfLog_test::j_ {env_.app().journal("PerfLog_test")}
private

Definition at line 48 of file PerfLog_test.cpp.